Job on seperate server is timing out

Posted on 2009-12-21
Last Modified: 2012-05-08
Hello experts,

I have a set of jobs that I run on one of our servers (Server 1).  One of the jobs executes a stored proc on another server (Server 2), but it not finishing.  Instead I received this:

OLE DB provider "SQLNCLI" for linked server "Server 2" returned message "Query timeout expired".

How can I prevent this?  The job is copying tables from Server 1 to Server 2.
Question by:thewayne73
    LVL 9

    Accepted Solution

    Open the 2. server instance in Management Studio and set server timeout in instance properties to a higher value (default is 600 seconds)

    Author Comment

    thanks.. but i'd rather not mess with the server 2.. that is our production server.  
    LVL 9

    Expert Comment

    From start of procedure to timeout, how many seconds elapse?

    Author Closing Comment

    Thanks, I went ahead and did that for only the link that i'm using.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now