Fix – Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
-
Posted on June 10, 2009 by Derek Dieter
-
3
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
This error message is due to the server setting of Remote Connection Query Timeout. The default is 600 seconds, or 10 minutes.
[cc lang=”sql”]
EXEC SP_CONFIGURE ‘remote query timeout’, 1800
reconfigure
EXEC sp_configure
EXEC SP_CONFIGURE ‘show advanced options’, 1
reconfigure
EXEC sp_configure
EXEC SP_CONFIGURE ‘remote query timeout’, 1800
reconfigure
EXEC sp_configure
[/cc]
After making this change, make sure to close the window and create a new connection in order to inherit the new query timeout settings.
- Comments (RSS)
- Trackback
- Permalink
SQL server time out issue from remote machine
solved by executing bellow querys
EXEC SP_CONFIGURE ‘remote query timeout’, 1800
reconfigure
EXEC sp_configure
EXEC SP_CONFIGURE ‘show advanced options’, 1
reconfigure
EXEC sp_configure
EXEC SP_CONFIGURE ‘remote query timeout’, 1800
reconfigure
EXEC sp_configure
I have the same problem.
i’m facing this with a precompiled software.
Earlier it was working well but now it’s giving the error “Query Timeout Expired”.
Can anyone help me
hi
I am using Dot net application with Sql 2008 server as back end
i am getting problem of slow running the application in client machine
also loading of crystal report is very slow
This worked just great! I modified a huge table with an ntext field into nvarchar() using this series of command first. Thanks!
EXEC SP_CONFIGURE ‘remote query timeout’, 1800
reconfigure
EXEC sp_configure
EXEC SP_CONFIGURE ‘show advanced options’, 1
reconfigure
EXEC sp_configure
EXEC SP_CONFIGURE ‘remote query timeout’, 1800
reconfigure
EXEC sp_configure
Thank you so much Derek your solution has just saved me. I was really struggling with a big stored procedure which was taking a lot of time to get the output and server used to expire always.
FYI: I had increase the time for QUERY WAIT to 200 sec, but then I found the error in my criteria selection. After fixing it, the view needed 24 sec. to execute. When I reversed the 200 sec setting to -1, the view executed in 18 sec….
hello sir
i read your article but my problem is not solving pls help me and send me suitable answers
timeout expired. the timeout period elapsed prior to completion
plz plz
This worked to fix my problem. The thing to remember is this is not really a fix in the sense that something is changing to make your query run better. You are merely telling the DB to give it more time to complete. In many cases that is all that is needed, but if you have a query that is too long or has other inherent problems, increasing a time out will not fix that.
http://support.microsoft.com/kb/915850/en-us sp_fulltext_service ‘verify_signature’, 0;
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
This script solved my problem and my application became really fast.
Thank you!