05-09-2006 05:19 PM
05-11-2006 07:34 AM
Jaso,
Although I am not sure exactly what is causing the error, there a few things that I think we could start looking at to find the root cause. First, it seems that you are using a custom Schema to log your results called "New".
What changes have you performed on this Schema and did you base it on pre-existing Schema? Although most databases support a default set of SQL commands there are little differences that might be causing this error.
Have you tried using one of the existing Schemas to log your results? This would be a way of trying to find out exactly what is going wrong.
Also, have you been running the same Sequence when the error started occurring or was this a different Sequence? If it was a different Sequence we would want to take a look at what is different about this Sequence to the one that worked to find the cause of the issue.
Regards,
Santiago D
05-11-2006 03:36 PM
Thank you very much, Santiago.
Yes, I have a customized schema, but it is based on the pre-existing schema. I tried the schema:TS 1.x Access/SQL (NI), which came with TestStand, the results were the same.
05-12-2006 11:03 AM
Jaso,
I believe that the issue might be occurring because there is something different between the databases you are trying to access. In the past these errors occur when privilages do not let TestStand perform a certain operation. Could you check, using the database viewer, that you can append records to the database from the TestStand computer? Try doing this manually in the table view and also with an SQL statement. This would help us troubleshoot the permissions issue.
Also, it would be helpful if you could recreate the databases in the machines that are causing the error. For some reasons, the tables might have not been created correctly causing the error. Please try to recreate the database and let me know if it help solve the issue.
Regards,
Santiago D
05-12-2006 04:39 PM
Hello Santiago D
For the computer which has local SQL server, it only logs the first character to the remote table, I do not see anything difference when I append a record to the table both in local and in remote database. Doing manually or using SQL statement are fine.
For the computer which does not have local SQL server, it can not log test results to the table, there is something different when I append record to the table. When I use SQL statement, there is no error. When I do manually in the database viewer, a "Microsoft DataGrid Control" alert window pops up and shows "Connection failure". Record is not written to the table.
I have tried to recreate new dabase using the sql with TestStand. No difference.
Thanks and best regards,
Jaso
05-15-2006 02:35 PM
05-18-2006 06:26 PM
Hi Santiago D
I am sure the database has no problem as I tried from a third computer everything is working fine. Also I tried to create new database and tables. This problem looks like computer related. I tried to login the same user from different computers. The result is the same with the original user on each computor.
I tried to use database logging steps to get access to the database and found that there is an error
"Microsoft OLE DB Provider for SQL Server: Cursor operation conflict"
when I put a record. This only happened when I run the sequence from the computer not logging data properly. The same sequence ran fine on computer logging data properly.
Any further input would be appreciated.
Thanks.
Jaso
05-19-2006 03:04 PM
05-29-2006 11:28 AM
I have found the problem at last. Hope the solution will help somebody else who may encounter the same problem.
The reason is the "Language Settings for the System". I set Simplified Chinese as default. This caused the communication and one character logging problem. It's a software compatibility problem. Only setting Simplified Chinese as default will cause the problem. The installation of the language support will not.
Communication problem is database access driver related. I think Microsoft realized this problem as MDAC 2.8 can solve this.
I think logging only the first character is a TestStand compatibility problem. I have tried TestStand 3.5 and used database steps to log data. It still can only log the first character. NI may need to have a look at this.
Thank you very much for your help, Santiago D.
Jaso
05-30-2006 10:09 AM
Jaso -
Thank you for letting us know how you fixed the problem. If you have some time, can you give me some more information:
1) Can you let me know what OS you are using? Was it originally an English version or a Simplified Chinese version of the OS?
2) Do you have a Microsoft ID for the bug you are referencing in the driver that you said should be fixed in MDAC 2.8? What version of MDAC were you using that had the problem?
3) What tables and columns in the schema had the problem?