SolvedPrivate

Oracle Client Connection with SSIS

Posted on 2014-10-20
9
41 Views
Last Modified: 2016-02-11
I am trying to connect to an oracle view that has been provided for me utilizing SSIS with SQL Server 2008.

This uses the VISUAL Studio 2008 shell.  

My first step was to create an Oracle ODBC Driver Configuration along with my tns names file.  When I test the connection using the ODBC Data Source Administrator it is successful.

So what do I need to put on my machine now to get this to work in SSIS.  I put both the win32 and 64 bit for 11g Release(11.2).  I was told I needed both.

I still get an error.

I just uninstalled everything Oracle for the exception of my ODBC connection.

Please help.  I am into about 4 business days on trying to make a simple connection and no luck so far.
0
Comment
Question by:Robb Hill
[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
  • 5
  • 4
9 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40391856
What is the error?

Since you installed both bit versions, did you copy the tnsnames.ora file to both install directories or set the environment variable TNS_ADMIN pointing to the folder with the good version?
0
 
LVL 11

Author Comment

by:Robb Hill
ID: 40391870
not sure that I did that...im going to guess that I did not.

So where should my tnsnames.ora file need to be...maybe I need to step back and do this from scratch.
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 500 total points
ID: 40391876
The default location for the tnsnames.ora file is:
%ORACLE_HOME%\network\admin

Where %ORACLE_HOME% is the install folder for the Oracle software.

or
it can be anywhere and you can set a TNS_ADMIN environment variable pointing to the folder where it is located.

For what it's worth, I never use TNS_ADMIN.  IF I have more than one Oracle install, I just copy the files to each install.
0
Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

 
LVL 11

Author Comment

by:Robb Hill
ID: 40391925
ok let me try that...be back shortly.  reinstalling my Oracle Client too..32 and 64 bits
0
 
LVL 11

Author Comment

by:Robb Hill
ID: 40391968
OK so I unistalled everything Oracle on my client machine....I dont think my ODBC drivers like that ..as they are all messed up it seems...

But regardless of what looks like some resintall there on other odbc connections I am not using...Here is what is happening now.

So I install the 32 bit client software first....my existing ODBC driver connection doesnt work.   Then I install the 64 bit client and the ODBC driver must find the TNSnames file b/c it pulss up the driver configuration.  The password seems to not be working now when I do a test connection.

Also %Oracle_HOme% is not a directory.....so where would this tnsnames be..cant find it
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 500 total points
ID: 40391988
>>Also %Oracle_HOme% is not a directory

If is just a shortcut to the place where you installed Oracle.  For full client installs it should be in the registry and/or an environment variable.

So if you installed Oracle in c:\oracle then the tnsnames should be in c:\oracle\network\admin...

Just start down the PATH where you installed Oracle.  When you can see the bin folder, you are sitting in ORACLE_HOME.  There should be a network/admin folder under that.


When working with two bit versions of ODBC, there are two versions of the odbc admin tool.  You need to run the right one for the right bit version:
http://support.microsoft.com/kb/942976

•The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
•The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.
0
 
LVL 11

Author Comment

by:Robb Hill
ID: 40392375
ok so SSIS opened the view...but so slow it makes SSIS stop responding...I also get the following error .

I am in the process of sending to a temp table in SQL Server 2008r2 for testing.

Here was the error message.
errorwarning.png
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40392409
0
 
LVL 11

Author Closing Comment

by:Robb Hill
ID: 40392711
Thanks so much for your help
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

752 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