06-08-2009 03:10 PM
I am using TestStand 3.1. I have a database setup on the local drive and I am using the "Log on the Fly" option.
The test takes 48 hours and I want to make sure that it will not stop if the network connection is lost.
If I unplug the network before starting the test, everything is fine. I can plug the network in and out again while the test runs with no issue.
But if the network is connected and I start the test, and then unplug the network the logging on the fly will give an error.
I have narrowed this down to the step "New UUT for Database Logging" in the SequentialModel.seq (process model). If this step is run with the network connection then the rest of the test needs a network connection.
Is there any way to avoid this error? The whole point of the local database was to avoid network issues.
Thank you for your help.
Solved! Go to Solution.
06-08-2009 03:27 PM
06-08-2009 03:47 PM
I am using SQL Server 2005 Express.
I will look into that side of it. Thanks for the suggestion.
06-09-2009 10:19 AM
Tdot -
I am curious as to what the error code and text that TestStand is returning?
06-09-2009 10:45 AM
Hi Scott,
The Error Code is:
-2147467259; User-defined error code.
Possible System Error: Unspecified error
The Error Message is:
An error occurred calling 'LogUUTResult' in 'ITSDBLog' of 'TestStand Database Logging'
An error occurred executing a statement.
Statement: UutResult.
Connection failure
Description: Connection failure
Number: -2147467259
NativeError: 0
SQLState: 08S01
Reported by: Microsoft OLE DB Provider for SQL Server
Description: Unspecified error
Number: -2147467259
NativeError: 0
SQLState: 08S01
Reported by: Microsoft OLE DB Provider for SQL Server
Source: TSDBLog
The Location is:
Step 'LogResult' of sequence 'ProcessModelPostResultListEntry' in 'SequentialModel.seq'
06-10-2009 10:16 AM
Tdot -
I found a posting on the net that reported this similar issue when they used a specific server name in the connection string, but they no longer had a problem when they used 127.0.0.1 or localhost. What are you using?
06-10-2009 10:37 AM
Hi Scott,
The connection string would be something like:
Provider=SQLOLEDB.1;Password=chamber;User ID=thermal;Initial Catalog=ThermalChamber2009;Data Source=XP-LAB-2858\SQLEXPRESS
Where the data source computer name (XP-LAB-2858), changes based on the computer that is running the sequence.
06-11-2009 03:45 PM
Tdot -
I you are always logging locally, please try to change it to "localhost\SQLEXPRESS" to see if you can connect, and then see if disconnecting the LAN causes the same problem you previous saw.
06-11-2009 04:16 PM
Yes, that works.
Thanks very much for the help Scott.
Tyler