Solved

SQL Server 2K DTS package SQL Timeout expired

Posted on 2006-07-19
6
527 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
  • 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
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 …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

760 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

17 Experts available now in Live!

Get 1:1 Help Now