dbTalk Databases Forums  

SSIS fails to connect to Oracle

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


Discuss SSIS fails to connect to Oracle in the microsoft.public.sqlserver.dts forum.



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

Default SSIS fails to connect to Oracle - 07-07-2006 , 06:47 AM






I have SSIS with SP1 installed. I also have the Oracle 10g client installed.

When I attempt to create a data source in an SSIS project for an Oracle
database, testing the connection returns "error initializing the provider ...
TNS error - no listener".

However, if I create a UDL file and specify the same OLEDB provider as I did
in SSIS and the same Oracle system - the connection test works fine (in the
UDL dialog - not in SSIS).

Any ideas on where I should look next?


Reply With Quote
  #2  
Old   
TheMadTexan
 
Posts: n/a

Default RE: SSIS fails to connect to Oracle - 07-07-2006 , 12:15 PM






Found it.

The Oracle client will always look first in your current working directory
for a TNSNAMES file - not in the default location (ADMIN directory).

I had an outdated TNSNAMES file out on a network drive which just happened
to be my working directory at the time I was testing.

One more chapter written in the "man do I hate Oracle" book....

"TheMadTexan" wrote:

Quote:
I have SSIS with SP1 installed. I also have the Oracle 10g client installed.

When I attempt to create a data source in an SSIS project for an Oracle
database, testing the connection returns "error initializing the provider ...
TNS error - no listener".

However, if I create a UDL file and specify the same OLEDB provider as I did
in SSIS and the same Oracle system - the connection test works fine (in the
UDL dialog - not in SSIS).

Any ideas on where I should look next?


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.