DTS - Query timeout expired in Transform Data Task Properties

Posted on 2004-11-24
Medium Priority
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

arbert earned 1000 total points
ID: 12667490
Remote Server?  Are you using a linked server connection?

Author Comment

ID: 12788676
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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

850 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