Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Linked Server Error Message Expand / Collapse
Author
Message
Posted Thursday, January 15, 2009 5:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, April 11, 2009 6:31 PM
Points: 1, Visits: 9
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.
Post #637699
Posted Friday, January 16, 2009 2:43 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, June 18, 2013 7:41 AM
Points: 323, Visits: 464
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


_____________________________________________________________________________________________________________
Paresh Prajapati
+919924626601
http://paresh-sqldba.blogspot.com/
LinkedIn | Tweet Me | FaceBook | Brijj
Post #637816
Posted Friday, January 16, 2009 4:40 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, October 16, 2014 5:52 AM
Points: 2,551, Visits: 2,594
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

Post #637867
Posted Friday, January 16, 2009 4:50 AM


SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: 2 days ago @ 2:32 AM
Points: 644, Visits: 1,299
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


-- Roshan Joe
*******************************************
There are two types of DBAs. Those who has skills and those who have permissions
Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help
Custom cleanup script for backups
Post #637875
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse