Linked Server Error Message

  • 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.

  • 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/[/url]
    LinkedIn | Tweet Me | FaceBook | Brijj

  • 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


  • 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[/url]

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply