dbTalk Databases Forums  

DTS pulling data from Oracle via Link server

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS pulling data from Oracle via Link server in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LanLan
 
Posts: n/a

Default DTS pulling data from Oracle via Link server - 01-11-2006 , 04:04 AM






We have a DTS pulling data from Oracle via Link server. The connection
between oracle and SQL seens not very good. Quite often, we will have
following error:

Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:OLE DB provider 'MSDAORA' reported an error. The
provider did not give any information about the error. (Microsoft OLE DB
Provider for SQL Server (80040e14): OLE DB error trace [OLE/DB Provider
'MSDAORA' IDBInitialize::Initialize returned 0x80004005: The provider did
not give any information about the error.].)
Step Error code: 80040E14
Step Error Help File:
Step Error Help Context ID:0

Any way to track this problem ?

thanks, Lan

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS pulling data from Oracle via Link server - 01-11-2006 , 01:26 PM






Hello LanLan,

This error code 0x80004005 is a little cryptic in that it covers a multitude
of sins. The most common would be that you do not have permissions to use
the resource or that the resource you requested is no longer there (Network
down or does not exist)

A lot of people I know using data between O and SQL Server use an export
to text file, FTP and either Bulk Insert or SQL*Loader

Allan

Quote:
We have a DTS pulling data from Oracle via Link server. The connection
between oracle and SQL seens not very good. Quite often, we will have
following error:

Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:OLE DB provider 'MSDAORA' reported an error.
The
provider did not give any information about the error. (Microsoft OLE
DB
Provider for SQL Server (80040e14): OLE DB error trace [OLE/DB
Provider
'MSDAORA' IDBInitialize::Initialize returned 0x80004005: The provider
did
not give any information about the error.].)
Step Error code: 80040E14
Step Error Help File:
Step Error Help Context ID:0
Any way to track this problem ?

thanks, Lan




Reply With Quote
  #3  
Old   
LanLan
 
Posts: n/a

Default Re: DTS pulling data from Oracle via Link server - 01-12-2006 , 01:07 AM



Hello Allan,

Since this error occurs intermittently. I would guess it is network problem.
I cannot change the DTS at the moment, no rights. Is there any script to
force / retry / ping the oracle until the connection is okay.

thanks, Lan

"Allan Mitchell" wrote:

Quote:
Hello LanLan,

This error code 0x80004005 is a little cryptic in that it covers a multitude
of sins. The most common would be that you do not have permissions to use
the resource or that the resource you requested is no longer there (Network
down or does not exist)

A lot of people I know using data between O and SQL Server use an export
to text file, FTP and either Bulk Insert or SQL*Loader

Allan

We have a DTS pulling data from Oracle via Link server. The connection
between oracle and SQL seens not very good. Quite often, we will have
following error:

Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:OLE DB provider 'MSDAORA' reported an error.
The
provider did not give any information about the error. (Microsoft OLE
DB
Provider for SQL Server (80040e14): OLE DB error trace [OLE/DB
Provider
'MSDAORA' IDBInitialize::Initialize returned 0x80004005: The provider
did
not give any information about the error.].)
Step Error code: 80040E14
Step Error Help File:
Step Error Help Context ID:0
Any way to track this problem ?

thanks, Lan





Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS pulling data from Oracle via Link server - 01-14-2006 , 07:47 AM



Hello LanLan,

You could write an external process to do this but I have seen people advocate
issuing a dummy query against the remote source. No errors + result returned
== destination alive

Allan


Quote:
Hello Allan,

Since this error occurs intermittently. I would guess it is network
problem. I cannot change the DTS at the moment, no rights. Is there
any script to force / retry / ping the oracle until the connection is
okay.

thanks, Lan

"Allan Mitchell" wrote:

Hello LanLan,

This error code 0x80004005 is a little cryptic in that it covers a
multitude of sins. The most common would be that you do not have
permissions to use the resource or that the resource you requested is
no longer there (Network down or does not exist)

A lot of people I know using data between O and SQL Server use an
export to text file, FTP and either Bulk Insert or SQL*Loader

Allan

We have a DTS pulling data from Oracle via Link server. The
connection between oracle and SQL seens not very good. Quite often,
we will have following error:

Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:OLE DB provider 'MSDAORA' reported an error.
The
provider did not give any information about the error. (Microsoft
OLE
DB
Provider for SQL Server (80040e14): OLE DB error trace [OLE/DB
Provider
'MSDAORA' IDBInitialize::Initialize returned 0x80004005: The
provider
did
not give any information about the error.].)
Step Error code: 80040E14
Step Error Help File:
Step Error Help Context ID:0
Any way to track this problem ?
thanks, Lan




Reply With Quote
  #5  
Old   
LanLan
 
Posts: n/a

Default Re: DTS pulling data from Oracle via Link server - 01-16-2006 , 09:12 AM



Hello Allan,

Do you have such script ? On my test PC, I created a linked server, write
the following script, and then unplug the network cable. Theoretically, the
script should at leas try to loop three times, yet not.

DECLARE
@err int,
@rowcnt int,
@icount int

SET @icount = 0

CONN_LOOP:
IF @icount < 3
BEGIN
SELECT *
into UserLists
from LinkServer.DatabaseName.dbo.UserLists
SELECT @rowcnt=@@rowcount, @err = @@ERROR
PRINT ( 'loop: ' + cast(@ICOUNT as varchar(5)))
SET @icount = @icount + 1
IF (@@ERROR <>0 and @rowcnt <= 0 ) GOTO CONN_LOOP
END
ELSE
BEGIN
GOTO END_Conn
END


GOTO END_Conn

END_Conn:

"Allan Mitchell" wrote:

Quote:
Hello LanLan,

You could write an external process to do this but I have seen people advocate
issuing a dummy query against the remote source. No errors + result returned
== destination alive

Allan


Hello Allan,

Since this error occurs intermittently. I would guess it is network
problem. I cannot change the DTS at the moment, no rights. Is there
any script to force / retry / ping the oracle until the connection is
okay.

thanks, Lan

"Allan Mitchell" wrote:

Hello LanLan,

This error code 0x80004005 is a little cryptic in that it covers a
multitude of sins. The most common would be that you do not have
permissions to use the resource or that the resource you requested is
no longer there (Network down or does not exist)

A lot of people I know using data between O and SQL Server use an
export to text file, FTP and either Bulk Insert or SQL*Loader

Allan

We have a DTS pulling data from Oracle via Link server. The
connection between oracle and SQL seens not very good. Quite often,
we will have following error:

Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:OLE DB provider 'MSDAORA' reported an error.
The
provider did not give any information about the error. (Microsoft
OLE
DB
Provider for SQL Server (80040e14): OLE DB error trace [OLE/DB
Provider
'MSDAORA' IDBInitialize::Initialize returned 0x80004005: The
provider
did
not give any information about the error.].)
Step Error code: 80040E14
Step Error Help File:
Step Error Help Context ID:0
Any way to track this problem ?
thanks, Lan





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.