oracle-databasessisvisual-studio-2017oracle12codac

(ORA-12154) Unable to connect to data source in tnsnames.ora from migrated SSIS project in VS 2017


I have a directive to pull code off of an old server and move it to my workstation, and also to update all TFS connections to our new TFS 2017 setup. I found a very important SSIS project that was only maintained by the person I replaced; it was still in VS BIDS 2008, and therefore can't connect to TFS 2017. This means I need to migrate the solution. For the most part, I've done so, but it has an Oracle connection that is giving me trouble, since the original provider is no longer supported. I'm not able to resolve the name when attempting to update the connection. The error is ORA-12154: TNS:could not resolve the connect identifier specified.

What I've done so far:

I was going to try bypassing the alias via the Data Link Properties and just pasting in the location, but there's a problem there, as well:

The option is inactive!
Also, all of the "advanced" tab is inactive. I can edit values in the "All" tab but the Location property isn't there.

I've hit that "where do I go from here" wall. How can I successfully connect to this datasource?


Solution

  • I found the culprit. Thank you to everyone for your assistance.

    The cause was a stumbling block created in the installation and troubleshooting process. When the ODAC installed, it used a different user due to site permissions; the other location was in the system %PATH% above the correct one. By reordering the list so that the correct path to the tnsnames.ora file was on top and rebooting the system, the problem was resolved.