SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Oracle Connector doesn't work


Oracle Connector doesn't work

Author
Message
dan-572483
dan-572483
SSChampion
SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)

Group: General Forum Members
Points: 11198 Visits: 2045
I've been asked to edit an existing SSIS job importing Data from Oracle 11g to SQL 2012. When I try to connect to the Oracle Connection Manager, I get ORA-12154 (which I read is a very generic connection error) TNS:could not resolve the connect identifier specified.

The Oracle people here tell me my TNS file is correct, but they don't know enough about SSIS to help me beyond that. I can also make a successful connection to Orcacle in ODBC. They suggesting I uninstall & reinstall Oracle client, which I've done with their help. Now I'm back at the same place - same error!

What next?
crk5070
crk5070
Old Hand
Old Hand (338 reputation)Old Hand (338 reputation)Old Hand (338 reputation)Old Hand (338 reputation)Old Hand (338 reputation)Old Hand (338 reputation)Old Hand (338 reputation)Old Hand (338 reputation)

Group: General Forum Members
Points: 338 Visits: 31
TNSNames..... I feel bad for you. There are a couple things to try.

-Make sure tnsping works.
-The tnsnames.ora file needs to go in the network/admin folder. If it's in another location, it probably won't be found.
-Make sure the ORACLE_HOME path is set correctly.

Of course, if ODBC is working, then these are probably set up correctly. There are two other things to check for:

-Some searching revealed that SSIS might be running in 32-bit mode instead of 64-bit. If this is the case, then the 32-bit Oracle client will have to be installed and configured.
-If all else fails, you can try the Microsoft Connector for Oracle. 1.2 will work on 2008 and 2.0 will work on 2012. I haven't used it, but it's supposed to make integration with Oracle via SSIS easier.
kevaburg
kevaburg
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12771 Visits: 1271
crk5070 (12/20/2014)
TNSNames..... I feel bad for you. There are a couple things to try.

-Make sure tnsping works.
-The tnsnames.ora file needs to go in the network/admin folder. If it's in another location, it probably won't be found.
-Make sure the ORACLE_HOME path is set correctly.

Of course, if ODBC is working, then these are probably set up correctly. There are two other things to check for:

-Some searching revealed that SSIS might be running in 32-bit mode instead of 64-bit. If this is the case, then the 32-bit Oracle client will have to be installed and configured.
-If all else fails, you can try the Microsoft Connector for Oracle. 1.2 will work on 2008 and 2.0 will work on 2012. I haven't used it, but it's supposed to make integration with Oracle via SSIS easier.


To add to this list you Need to define the TNS_ADMIN System variable with the path to your TNSNAMES.ORA otherwise it definately won't be found. That applies even if the file is located in ?/Network/admin on the Client.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search