ORA-12154: TNS:could not resolve service name RRS feed

  • Question

  • User-35456338 posted

    Split off from http://forums.asp.net/t/1753045.aspx/1?ORA+12154+TNS+could+not+resolve+service+name

    Hello,   I have exact same problem so wasn't sure if this got resolved or not.

    Here's issue:

    Have separate DB server running on another machine.

    The user was running XP with the Oracle 10g client and had not had any problems logging in using any client tools.   His desktop was then converted to Win7 Pro x64.   Oracle was installed.

    TNS_ADMIN environment variable was re-pointed to global server tnsnames.ora file

    We can do a tnsping to the database with no problem, can connect via TOAD with no problem, can connect with SQL*Plus with no problem,  can connect with any other application with no problem, except the one application he needs for his primary job, Primavera P6.

    We keep getting the TNS 12154 error.

    I've tried creating a local copy of the tnsnames.ora and sqlnet.ora files into $ORACLE_HOME/product/network/admin folder, same result.

    OS Client is Win7Pro x64
    Oracle Client is
               also tried removing 11g and reinstalling 10g, no change

    Not using IIS, Database is on separage Unix box

    Any help would be appreciated,



    Friday, June 8, 2012 4:51 PM


  • User269602965 posted

    Some applications on a WIndows 7 64-bit platform

    require installation of the Oracle 32-bit client, and in his case preferrably latest 11g client.

    If ODP.NET is required, you can use the CLIENT INSTALL option of the latest ODP.NET installation program, 32-bit.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, June 10, 2012 2:41 PM