January 15, 2009 at 5:49 pm
Hi,
I am using Linked Server for executing SP's on remote Server. And I have configured SQL Job for executing the remote Server SP on the Server and when I am executing the SQL Job I got the log message of "ENTERPRISE\EDISQLService. OLE DB provider "SQLNCLI" for linked server "XYZ" returned message "Query timeout expired". [SQLSTATE 01000] ".
This SQL job runs for 10 mins and then throws the above message in SQL job history.
This SP on the remote Server hasn't been changed and the SP is executing fine till now and suddenly giving this error message.
Any suggestions on this.
January 16, 2009 at 2:43 am
sharathsuman.n (1/15/2009)
Hi,I am using Linked Server for executing SP's on remote Server. And I have configured SQL Job for executing the remote Server SP on the Server and when I am executing the SQL Job I got the log message of "ENTERPRISE\EDISQLService. OLE DB provider "SQLNCLI" for linked server "XYZ" returned message "Query timeout expired". [SQLSTATE 01000] ".
This SQL job runs for 10 mins and then throws the above message in SQL job history.
This SP on the remote Server hasn't been changed and the SP is executing fine till now and suddenly giving this error message.
Any suggestions on this.
Please create link server with valid login and password
January 16, 2009 at 4:40 am
Well, it means that the query SQL is executing didn't complete in the predefined configured time.
This SP on the remote Server hasn't been changed and the SP is executing fine till now and suddenly giving this error message.
Check whether indexes/statistics are updated on the tables used in the queries.
--Ramesh
January 16, 2009 at 4:50 am
run the procedure manually. Check howmuch time it takes (It may timeout)
Check remote query timeout setting
sp_configure 'remote query timeout'
default is 600 , ie 10 mins
change it to appropriate value
dont forget to tune the SP
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply