Solved

SQL Server 2K DTS package SQL Timeout expired

Posted on 2006-07-19
6
542 Views
Last Modified: 2007-12-19
I've got a dts package which is intended to port data from one sever to another, the package used to work but now when I click on the Parse Query button I get the following error message:

OLE DB Error Trace (OLE/DB Provider'SQLOLEDB' IDBInitialize:: Initialize returned 0x80004005:
[OLE/DB Provider returned message: Timeout expired]

Are there any settings I can change to circumvent this error.  Both the source and destination server/databases are visible
0
Comment
Question by:Natchiket
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 25

Assisted Solution

by:Mr_Peerapol
Mr_Peerapol earned 250 total points
ID: 17137674
From one server, are you able to connect to another sever just to query some data? If yes, an operation run by DTS might take longer time to complete than the default timeout setting.

To set no timeout for remote query, you can use:
sp_configure 'remote query timeout', 0
go
reconfigure with override
go

http://support.microsoft.com/default.aspx?scid=314530
0
 
LVL 17

Author Comment

by:Natchiket
ID: 17137780
> From one server, are you able to connect to another sever just to query some data?

Actually no ... when i try this in Query Manager from VLA62 I get the same error
SELECT TOP 1 * FROM CBASQLTN1.AMLS2LiveCopy.dbo.MOVMovement

So... looks like there's some other factor
0
 
LVL 25

Expert Comment

by:Mr_Peerapol
ID: 17137801
Did you try executing DBCC TRACEON (7300, 3604) before running your query ?
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 17

Author Comment

by:Natchiket
ID: 17137828
This

DBCC TRACEON (7300, 3604)

SELECT TOP 1 * FROM CBASQLTN1.AMLS2LiveCopy.dbo.MOVMovement

Gives the following

Server: Msg 7399, Level 16, State 1, Line 3
OLE DB provider 'SQLOLEDB' reported an error.  
[OLE/DB provider returned message: Timeout expired]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IDBInitialize::Initialize returned 0x80004005:   ].
0
 
LVL 3

Accepted Solution

by:
chhapia_chintak earned 250 total points
ID: 17143708
Reregister the "sqloledb.dll" DLL as follows, this may help:

1. At a command prompt, change to the C:\Program Files\Common Files\System\Ole DB folder.
2. At a command prompt, type the following command:
regsvr32 sqloledb.dll
3. You should receive confirmation that the DLL is registered successfully.
0
 
LVL 17

Author Comment

by:Natchiket
ID: 17144736
Thanks but the problem still remains
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

751 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