Query timeout with linked server

  • We have server A (Cluster) and Server B. Both of them are 2008r2

    There are some jobs scheduled on server B which uses the server A databases using Linked server.

    Some jobs are failing on Server B.

    Executed as user: "Username". The OLEDB provider "SQLNCL110" for linked server "Linked servername" reported an error. Execution terminated by the provider because a resource limit was reached. Can't fetch the rowset from LOEDB provider "SQLNCL110" for linked server.. OLEDB Provider "SQLNCL110" for linked server returned message "Query timeout expired"

    How can we findout the issue. Is it going to be resolve if we change query timeout in Cluster Server?

  • Increasing query time out may not help. A Trace should help you figure out what exactly causing the issue. Is it running a Stored Procedure?

    -Regards

  • Yes. Those jobs are running sp ( Not one particular job)

    We are not allowed to run the profiler

  • May be there is a Default Trace running already? To find out default Trace file location, please try the following script:

    SELECT [value]

    FROM sys.fn_trace_getinfo(NULL)

    WHERE property = 2

    If there is one and if you have access to the file, just double click on it to open it to look for any errors during the period of time Linked Server had issues.

    -Regards

  • ramana3327 (2/22/2016)


    We have server A (Cluster) and Server B. Both of them are 2008r2

    There are some jobs scheduled on server B which uses the server A databases using Linked server.

    Some jobs are failing on Server B.

    Executed as user: "Username". The OLEDB provider "SQLNCL110" for linked server "Linked servername" reported an error. [font="Arial Black"]Execution terminated by the provider because a resource limit was reached.[/font] Can't fetch the rowset from LOEDB provider "SQLNCL110" for linked server.. OLEDB Provider "SQLNCL110" for linked server returned message "Query timeout expired"

    How can we findout the issue. Is it going to be resolve if we change query timeout in Cluster Server?

    Does "Server A" have "Resource Governor" turned on?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Resourcce Governor is not turned on

  • Have you tried bumping the timeout? I'd start with that and go from there.

  • ramana3327 (2/22/2016)


    How can we findout the issue. Is it going to be resolve if we change query timeout in Cluster Server?

    Yes, it will be resolved unless your stored procedure runs forever.

    Error message when you execute a linked server query in SQL Server: "Timeout Expired"

    Check activity on the server A (or ask someone who has permissions) when your job is running.


    Alex Suprun

  • No. I didn't increase the time because I am not getting any more error message now

Viewing 9 posts - 1 through 8 (of 8 total)

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