SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked Server Error Message


Linked Server Error Message

Author
Message
sharathsuman.n
sharathsuman.n
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
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.
Paresh Prajapati
Paresh Prajapati
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1933 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
Arrow +919924626601
http://paresh-sqldba.blogspot.com/
LinkedIn | Tweet Me | FaceBook | Brijj
Ramesh Saive
Ramesh Saive
SSCertifiable
SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)

Group: General Forum Members
Points: 6760 Visits: 2643
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


Roshan Jospeh
Roshan Jospeh
Hall of Fame
Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)

Group: General Forum Members
Points: 3137 Visits: 2093
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

Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search