Admin-Ahead Community

Windows => Control Panels => Plesk => Topic started by: sajugovind on May 18, 2014, 09:16:25 pm

Title: MS SQL database migration: Timeout expired
Post by: sajugovind on May 18, 2014, 09:16:25 pm
A domain with large MS SQL database (like 2G) need to be migrated, from Plesk 8.x for Windows with remote MS SQL server to Plesk 11.x/12.x with local MS SQL server.

The migration is finished with the error:

Code: [Select]
Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

The reason for the error is, Remote login timeout of MS SQL server is expired. It is configured to 20 seconds by default.

We can fix the issue by Changing 'Remote login timeout' to 300 seconds using Microsoft SQL Server Management Studio. For this click right mouse button on the SQL Server instance > Properties > Advanced > Network.

Or use the following cmd.exe command line:

Code: [Select]
osql.exe -E -Q "EXEC sp_configure 'remote login timeout', 300 ; RECONFIGURE;"
Timeout value can be increased even more if 300 seconds is not enough to resolve the issue.

Thank you,