Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: MS SQL database migration: Timeout expired  (Read 3932 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
MS SQL database migration: Timeout expired
« 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,