Link to home
Start Free TrialLog in
Avatar of Roxanne25
Roxanne25

asked on

SSIS to Oracle Connection Problems

Hello,

I have a Oracle 11g server that I interact with via SQL Server.  Oracle is installed on the server, I can connect via SQL Plus on the server and I have successfully set up a linked server in sql management studio to the oracle server.  I am able to query the oracle server with the linked server connection and pull data over.

Due to our environment, linked servers are not a prefered method for doing ETL and I was going to create an SSIS package to pull the data.  For some reason, I am unable to establish the connection from SSIS.

For my linked server, I am using the OraOLEDB.Oracle driver that I installed from a MS MDAC.  But, that driver is not showing up in the SSIS connections.  I have tried using the MS OLE DB provider and that does not work and produces the following error:  

Test connection failed because of an error in intializing provider.  Oracle client and networking components were not found.  These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.  Provider is unable to function until these components are installed.

I have also tried to connect via ODBC.  The ODBC connection in Windows works and tests fine.  However, when I try to use the connection in SSIS I get the following error:

Test connection failed because of an error in initializing provider.  ERROR [IM002][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.

I'm a little baffled at these error messages since I am able to connect to the Oracle instance everywhere else ... even within SQL with my linked server it works just fine.  Could this have something to do with my oracle home directory or some enviornmental variable?  
Avatar of dswatt
dswatt
Flag of Canada image

have you tried putting the IP address in the TNSnames file?
Avatar of Roxanne25
Roxanne25

ASKER

Yea, I have... it doesn't even get to trying a connection.  Its bombing on the loading of the driver.
Ahhh... I think it has something to do with 64 bit...
did you get it fixed Roxanne?
ASKER CERTIFIED SOLUTION
Avatar of Roxanne25
Roxanne25

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The only resolution to this appears to be to install two different Oracle clients to be able to establish the connection in SSIS.  Was able to answer the question on my own research.