Oracle Client Connection with SSIS

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.
LVL 11
Robb HillSenior .Net DeveloperAsked:
Who is Participating?
slightwv (䄆 Netminder)Connect With a Mentor Commented:
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?
Robb HillSenior .Net DeveloperAuthor Commented:
not sure that I did 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.
slightwv (䄆 Netminder)Connect With a Mentor Commented:
The default location for the tnsnames.ora file is:

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

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.
The new generation of project management tools

With’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Robb HillSenior .Net DeveloperAuthor Commented:
ok let me try back shortly.  reinstalling my Oracle Client too..32 and 64 bits
Robb HillSenior .Net DeveloperAuthor Commented:
OK so I unistalled everything Oracle on my client machine....I dont think my ODBC drivers like that 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 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 where would this tnsnames be..cant find it
slightwv (䄆 Netminder)Connect With a Mentor Commented:
>>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:

•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.
Robb HillSenior .Net DeveloperAuthor Commented:
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.
slightwv (䄆 Netminder) Commented:
Robb HillSenior .Net DeveloperAuthor Commented:
Thanks so much for your help
All Courses

From novice to tech pro — start learning today.