Quantcast
Viewing latest article 9
Browse Latest Browse All 2126

How to increase the database timeout for Patch for Windows

Symptoms

 

  • Patch for Windows reports database timeout errors.
  • In the ST.Protect.managed.log file, you see may see an error such as the following:

System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout

ScanSummaryPresenter.IsRecoverable|A SQL Server query operation timed out. Consider increasing the command timeout in the configuration file

 

Resolution

 

You need to increase the database timeout period:

Close the Patch for Windows application before proceeding.

 

1.Navigate to C:\Program Files\LANDesk\Shavlik Protect.

2.Locate the ST.Data.Config file and open it using a text editor.

3.Change this entry: st.data commandTimeout

From: st.data commandTimeout="30"To:
To: st.data commandTimeout="3600"

This increases the timeout period allotted for transactions with the database. This number is in seconds and you can set the number to a higher value as required. 3600+ is the recommendation value for most timeout issues.

 

4. Save the changes for the ST.Data.Config file.

5.Re-open your Patch for Windows console, and test to see if the issue is resolved.

This setting is not maintained during a re-install or upgrade.  Also, running the Database Setup Tool will revert this setting to 30 seconds.

 

Affected Products

 

Patch for Windows


Viewing latest article 9
Browse Latest Browse All 2126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>