DTS - Query timeout expired in Transform Data Task Properties

Posted on 2004-11-24
Last Modified: 2008-01-09
I am trying to run a query on a remote server and load the results into a table on the local server.

In the DTS Designer I have created the source and destination connections.  I have created the query, which works great in Query Analyser.  It is about 300 lines long and takes about 100 seconds to run.  

I then create a Transform Data Task and in the Transform Data Task Properties window, I browse to the file with my query.  This is where my trouble begins.

If I go to the Transformations tab, the source columns area is empty, indicating that it could not figure out what the dataset returned by my query looks like.  So, back on the Source tab I click the preview button below the SQL Query text box hoping to populate the source columns... it pops up an empty window titled 'View Data' and the hour-glass goes for about 30 to 45 seconds and then it returns the error:  "No rowset was returned from the SQL statement."  Of course this is true, because the remote server will not be returning data for nearly another minute.

So then I try the Build Query button.  In the Data Transformation Services Query Designer, I run the query and it returns "Timeout Expired" after about 30 seconds.

I checked the remote connection's properties and confirmed the General Timout is set to "0" (I've also tried 300 & 3000).  I've looked for a general timeout setting for Enterprise Manager, but can find nothing that effects the length of time it will wait to test the query.  I've also tried using a Data Driven Query Task, but it behaves exactly the same there.

Does anyone know how I can get this dialog box to wait longer for my query to finish?  Or is there another way to accomplish my goal?
Question by:RoboRubik
    LVL 34

    Accepted Solution

    Remote Server?  Are you using a linked server connection?

    Author Comment

    No, I am not using a linked server connection.   I am defining a connection in the DTS designer.  There is one connection for the remote server and one for the local server.  I am connecting to the remote server over the internet and the local server over the LAN.  I only have read permission on the remote server, but I have full control over the local one.  I had looked into using a linked server connection, at one time, as a possible way to accomplish this task, but I could not get anywhere with it.  If you think that is the way to go, please elaborate.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
    JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
    Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

    754 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

    21 Experts available now in Live!

    Get 1:1 Help Now