Identify the TestStand Database Logging Query Timeout

Updated Oct 27, 2026

Reported In

Software

  • TestStand

Issue Details

When I log results to a database using the TestStand Database Logging plug-in, a database query or statement execution sporadically times out after approximately 30 s with an error such as Query timeout expired.
I cannot find an option in the Database Options dialog box to configure or increase the query timeout.

Solution

The TestStand Database Logging plug-in does not explicitly configure a command-execution timeout. Therefore, it inherits the default Microsoft ActiveX Data Objects (ADO) command timeout of 30 s.
The query timeout is a command-level property (DBPROP_COMMANDTIMEOUT), not a connection-level property. Therefore, it cannot be configured through the database connection string or adjusted in the Database Options dialog box.

Additional Information

For Object Linking and Embedding Database (OLE DB), the query timeout is set through the DBPROP_COMMANDTIMEOUT command property. Microsoft notes that query timeouts are typically 30 s. Refer to Troubleshoot Query Timeout Errors in SQL Server for further information.