I'm receiving this error when trying to "Log Results to Database" using SQL Server. This error did not show up until we were able to get the replication working correctly in the server. Now it shows up everytime I run from the LV GUI and only sometimes when I run from the TestStand IDE. I am trying to write data to the Master database. No errors when I write data to the Replicated database. For this part of the sequence (logging data), I'm using TestStand's out of the box solution. Here is the complete error code:
Schema: Generic Recordset
Statement: STEP_RESULT.
Description: Could not complete cursor operation because the table schema changed after the cursor was declared.
Number: -2147467259
NativeError: 16943
SQLState: 42000
Reported by: Microsoft SQL Server Native Client 10.0Description: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
Number: -2147217887
NativeError: 0
SQLState: 42000
Reported by: Microsoft SQL Server Native Client 10.0
Source: TSDBLog
Depending on the computer I use, sometimes it will error on PROP_RESULT. I know it must have something to do with the replication because this specific error did not appear until we got the servers in synch. This seems that it would be a Database Server issue, but why is consistent when using the GUI and very random when using the IDE? Now on one of the computers, using the GUI, it works great the first run, then errors each run after until I restart the GUI software.
TestStand 2014
LabVIEW 2015
Win 7
SQL Server Management Studio 2008 R2
I've done a lot of searches, but not much out there with regards to TestStand.
Thanks a million for any help!!!