Solved

SSIS to Oracle Connection Problems

Posted on 2011-09-22
6
2,154 Views
Last Modified: 2012-05-12
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?  
0
Comment
Question by:Roxanne25
[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
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:dswatt
ID: 36581232
have you tried putting the IP address in the TNSnames file?
0
 

Author Comment

by:Roxanne25
ID: 36581293
Yea, I have... it doesn't even get to trying a connection.  Its bombing on the loading of the driver.
0
 

Author Comment

by:Roxanne25
ID: 36581532
Ahhh... I think it has something to do with 64 bit...
0
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 
LVL 4

Expert Comment

by:dswatt
ID: 36582487
did you get it fixed Roxanne?
0
 

Accepted Solution

by:
Roxanne25 earned 0 total points
ID: 36582614
No, not "fixed" per se... I see from researching that my only solution would be to install 2 versions of oracle on my server?  A 32 and a 64 bit?  I really don't want to install 2 different instances of oracle on my sql server though.

The only other solution I have is to just keep using the linked server connection that I have...

I'm really open to ideas at this point though.

But, I do believe that the problem lies with trying to use 64 bit SQL Server and 64 bit Oracle with 32 bit BIDS.
0
 

Author Closing Comment

by:Roxanne25
ID: 36908424
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.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

729 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