Tnsping is working but ora-12154

i am facing a problem in linux env. tnsping is workin good. as i connec with database , face error with ora-12154.
what r the checks and how to varify these.

Nasim,
Are you connecting from client or try to connect from server itself? Do you have any other oracle product installed on your machine? Also you can post out of the following
  $>lsnrctl status
and content of your tnsnames.ora and also run following on your tnsnames.ora and listener.ora see if their size changes due to some hidden control characters.
$> dos2unix listener.ora
$> dos2unix tnsnames.oraRegards
Edited by: OrionNet on Jan 15, 2009 8:08 PM

Similar Messages

  • Tnsping ok, but sqlplus can't connect ora-12154

    Hello All, I have installed on my linux the 10.1.0.3 oracle client and I can do tnsping to my tnsnames.ora databases but I can't connect with sqlplus... I have an error: ora-12154
    I have readed metalink documentation and I think everything is ok, but still can't connect... :( Can anybody help me please?
    Here is some extra data:
    -My env vars are:
    ORACLE_HOME=/home/j0nuntu/OraHome_1
    TNS_ADMIN=/home/j0nuntu/OraHome_1/network/admin
    TNSNAMES=/home/j0nuntu/OraHome_1/network/admin
    -My tnsnames.ora:
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.53)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.249)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLE)
    As I said, tnsping to test or oracle is ok... tnsnames.ora is in the correct path and there it has 775 perms on it. What can be happening?
    Thanks in advance.

    Also, make sure it is using the correct tnsnames.ora file.
    Do you have multiple copies of this file in different directories?
    post the contents of your sqlnet.ora file as well.

  • 64-bit OCILogon() is fine, but 32-bit version always gives ORA-12154

    Hello,
    I am porting an application from Oracle 9.2 on Solaris 8 on Sparc to
    Oracle 10.2 on Solaris 10 on x64, using Sun C++ 5.8 on both.
    The Oracle installation was quite straightforward, and everything works fine, except that if I compile my app for 32-bit all I ever get from
    OCI is 'ORA-12154: TNS:could not resolve the connect identifier specified'
    sqlplus and tnsping, which are both 64-bit executables are also fine.
    Here is a little example program which writes a few BLOBs into
    an existing table:
    sun03%
    sun03% printenv
    HOME=/d0/sj
    SHELL=/bin/csh
    PATH=/usr/bin:/usr/ucb:/usr/bin:/etc:/usr/local/bin:/opt/csw/bin:/opt/sfw/bin:/u
    sr/dt/bin:/usr/ccs/bin:/usr/xpg4/bin:/opt/v11/SUNWspro/bin:/usr/openwin/bin:/usr
    /sbin:/usr/local/samba/bin:/opt/sfw/sbin:/usr/platform/sun4u/sbin:/usr/ccs/bin:/
    usr/sfw/bin:/d0/adam/Rational/releases/PurifyPlus.7.0/sun4_solaris2/bin:/usr/ORA
    /bin:/usr/sbin
    USER=sj
    PWD=/d0/sj/handover
    ORACLE_SID=oradev1
    ORACLE_HOME=/opt/oracle/product/10.2.0/db_1
    LD_LIBRARY_PATH=/usr/ORA/lib
    THREADS_FLAG=native
    LOGNAME=sj
    LIBPATH=/usr/ORA/lib:/usr/local/lib
    LANG=en_GB
    sun03%
    sun03%
    sun03% cat ora_prog1.h
    #define USERNAME "sj"
    #define PASSWORD "sj"
    #define ORASID "oradev1"
    #define NUM_OF_BLOBS 3
    #define BLOB_SIZE 32766
    sun03%
    sun03% cat ora_prog1.cpp
    #include <stdlib.h>
    #include <stdio.h>
    #include <assert.h>
    #include <oci.h>
    #include <oratypes.h>
    #include <string>
    #include "ora_prog1.h"
    using namespace std;
    #define OCI_CHECK(errhp, htype, status, OCIfunc) \
    do { if (OCI_SUCCESS != ((status) = (OCIfunc)))                                             \
    string msg = checkerr((dvoid *)(errhp), (ub4)(htype), (sword)(status), (text *)0, \
    (sb4)0, (text *)__FILE__, (sb4)__LINE__); \
    cleanup(msg); \
    } } while(0)
    // get the error from the DB
    void errprint(dvoid errhp, ub4 htype, sb4 errcodep,
    string& msg)
    text errbuf[512];
    if (errhp)
    sb4 errcode;
    if (errcodep == (sb4 *)0)
    errcodep = &errcode;
    (void) OCIErrorGet((dvoid *)errhp, (ub4) 1, (text *) NULL, errcodep,
    errbuf, (ub4) sizeof(errbuf), htype);
    char outBuffer[1024];
    (void) sprintf(outBuffer, "Error - %.*s\n", 512, errbuf);
    msg += outBuffer;
    // generate and return the appropriate error message
    string checkerr(dvoid errhp, ub4 htype, sword status, text note,
    sb4 code, text *file, sb4 line)
    string msg = "";
    // make sure that each print fits into this buffer
    char outBuffer[1024];
    sb4 errcode = 0;
    if (status != OCI_SUCCESS)
    (void) sprintf(outBuffer, "OCI Error %ld occurred at File %s:%ld\n",
    (long)status, (char *)file, (long)line);
    msg += outBuffer;
    if (note)
    (void) sprintf(outBuffer, "File %s:%ld (code=%ld) %s\n",
    (char *)file, (long)line, (long)code, (char *)note);
    msg += outBuffer;
    switch (status)
    case OCI_SUCCESS:
    break;
    case OCI_SUCCESS_WITH_INFO:
    (void) sprintf(outBuffer, "Error - OCI_SUCCESS_WITH_INFO\n");
    msg += outBuffer;
    errprint(errhp, htype, &errcode, msg);
    msg += outBuffer;
    break;
    case OCI_NEED_DATA:
    (void) sprintf(outBuffer, "Error - OCI_NEED_DATA\n");
    msg += outBuffer;
    break;
    case OCI_NO_DATA:
    (void) sprintf(outBuffer, "Error - OCI_NO_DATA\n");
    msg += outBuffer;
    break;
    case OCI_ERROR:
    errprint(errhp, htype, &errcode, msg);
    break;
    case OCI_INVALID_HANDLE:
    (void) sprintf(outBuffer, "Error - OCI_INVALID_HANDLE\n");
    msg += outBuffer;
    break;
    case OCI_STILL_EXECUTING:
    (void) sprintf(outBuffer, "Error - OCI_STILL_EXECUTE\n");
    msg += outBuffer;
    break;
    case OCI_CONTINUE:
    (void) sprintf(outBuffer, "Error - OCI_CONTINUE\n");
    msg += outBuffer;
    break;
    default:
    break;
    return msg;
    // Display info or fail
    void cleanup(string& msg)
    fprintf(stderr, "Oracle failed message:\n%s",
    msg.c_str());
    exit(1);
    int main()
    sword ociret;
    OCIEnv *envhp;                  // environment handle
    OCIError *errhp;                // error handle      
    OCISvcCtx *svchp;               // service context
    OCIStmt *stmthp;                // statement handle  
    OCILobLocator *lobLoc;
    OCIBind *bindp = 0;
    OCIDefine *defnp = 0;
    char stmt[1024];
    char data = (char )malloc(BLOB_SIZE);
    OCI_CHECK((dvoid *)0, (ub4)0, ociret,
    OCIEnvCreate(&envhp, OCI_DEFAULT, (dvoid *)0,
    0, 0, 0, (size_t)0, (dvoid **)0));
    OCI_CHECK(envhp, OCI_HTYPE_ENV, ociret,
    OCIHandleAlloc((dvoid *)envhp, (dvoid **)&errhp,
    OCI_HTYPE_ERROR, 0, (dvoid **) 0));
    // Create a handle for writing SQL statements - this is reused with various stmts
    OCI_CHECK(envhp, OCI_HTYPE_ENV, ociret,
    OCIHandleAlloc((dvoid *)envhp, (dvoid **)&stmthp,
    OCI_HTYPE_STMT, (size_t)0, (dvoid **)0));
    // Simplified logon for a single user session for one DB connection
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCILogon(envhp, errhp, &svchp,
    (CONST OraText *)USERNAME, strlen(USERNAME),
    (CONST OraText *)PASSWORD, strlen(PASSWORD),
    (CONST OraText *)ORASID, strlen(ORASID)));
    // Allocate the LOB descriptors
    OCI_CHECK(envhp, OCI_HTYPE_ENV, ociret,
    OCIDescriptorAlloc((CONST dvoid *)envhp,
    (dvoid **)&lobLoc, OCI_DTYPE_LOB, 0, 0));
    for(int i = 0; i < NUM_OF_BLOBS; i++)
    memset(data, 'A'+i, BLOB_SIZE);
    sprintf(stmt, "INSERT INTO TEST_TABLE VALUES (%d, :1)", i);
    // Set the LOB to empty in order that it may be involved in an insert
    ub4 lobEmpty = 0;
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIAttrSet(lobLoc, OCI_DTYPE_LOB, &lobEmpty, 0,
    OCI_ATTR_LOBEMPTY, errhp));
    // Prepare to insert the empty LOBs
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIStmtPrepare(stmthp, errhp,
    (text *)stmt, (ub4)strlen(stmt),
    OCI_NTV_SYNTAX, OCI_DEFAULT));
    // Bind the BLOB to the parameter
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIBindByPos(stmthp, &bindp, errhp,
    (ub4)1, (dvoid *)&lobLoc, (sb4)-1,
    SQLT_BLOB, 0, 0, 0, 0, 0, OCI_DEFAULT));
    // Execute the statement
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIStmtExecute(svchp, stmthp, errhp,
    (ub4)1, (ub4)0,
    (CONST OCISnapshot *)NULL, (OCISnapshot *)NULL,
    OCI_DEFAULT));
    // Lock the row for update
    sprintf(stmt, "SELECT DATA FROM TEST_TABLE WHERE ID=%d FOR UPDATE", i);
    // Prepare a statement that will read the LOB
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIStmtPrepare(stmthp, errhp,
    (text *)stmt, (ub4)strlen(stmt),
    OCI_NTV_SYNTAX, OCI_DEFAULT));
    // Define space to hold the result of the query
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIDefineByPos(stmthp, &defnp, errhp,
    (ub4)1, &lobLoc, -1,
    SQLT_BLOB, 0, 0, 0, OCI_DEFAULT));
    // Execute the statement
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCIStmtExecute(svchp, stmthp, errhp,
    (ub4)1, (ub4)0,
    (CONST OCISnapshot *)NULL, (OCISnapshot *)NULL,
    OCI_DEFAULT));
    ub4 expected_len = BLOB_SIZE;
    // Write data in one go
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCILobWrite(svchp, errhp, lobLoc,
    &expected_len, (ub4)1,
    data, BLOB_SIZE, OCI_ONE_PIECE, 0, 0, 0, SQLCS_IMPLICIT));
    assert(expected_len == BLOB_SIZE);
    OCI_CHECK(errhp, OCI_HTYPE_ERROR, ociret,
    OCITransCommit(svchp, errhp, OCI_DEFAULT));
    // Cleanup by freeing the descriptor
    (void)OCIDescriptorFree(lobLoc, OCI_DTYPE_LOB);
    sun03%
    sun03%
    sun03% CC -xtarget=native64 -I/usr/ORA/rdbms/public -L/usr/ORA/lib -lclntsh -o ora_prog1 ora_prog1.cpp
    sun03% ora_prog1
    Compiled for 64-bit the program runs silently.
    But if I redirect my paths to the 32-bit libraries and
    recompile for 32-bit, OCILogon always fails:
    sun03%
    sun03%
    sun03% setenv LIBPATH /usr/ORA/lib32:/usr/local/lib
    sun03% setenv LD_LIBRARY_PATH /usr/ORA/lib32
    sun03% CC -I/usr/ORA/rdbms/public -L/usr/ORA/lib32 -lclntsh -o ora_prog1 ora_prog1.cpp
    sun03% ora_prog1
    Oracle failed message:
    OCI Error -1 occurred at File ora_prog1.cpp:143
    Error - ORA-12154: TNS:could not resolve the connect identifier specified
    sun03%
    Recompiling for 32-bit like this works fine on Oracle 9.2 on Solaris 8,
    so I have obviously missed something simple in my installation.
    Any help would be appreciated.
    Thanks
    -- Steve

    Hi prajithparan,
    I am facing the same problem on my Dual Core AMD running Solaris 11.06 x96-64. As long as I compile and link using the flag '-m64' everything work fine. But I use '-m32' or none getting 32 bit binaries I got the same error:
    'ORA-12154: TNS:could not resolve the connect identifier specified'
    even my LD_LIBRARY_PATH is set as below:
    echo $LD_LIBRARY_PATH
    /oracle/app/product/10.2.0/lib32
    Also I have to mention that SQLPLUS and TNSPING works fine on my side too. So I suppose that there is something wrong with trying to use 32 bit ORACLE libraries. Any idea?
    Please find attached my output (my APP is OCI / C based but not OCCI / C++):
    ./cdemouni user comext password noftnc dblink test stmt "select table_name from all_tables"
    option --user (-u) with value  comext
    option --password (-p) with value  noftnc
    option --dblink (-d) with value  test
    option --stmt (-s) with value  select table_name from all_tables
    OCIServerAttach( test -- 4 )
    FAILED: OCIServerAttach(), RC = -1
    Error [ OCI error 12154 ]- ORA-12154: TNS:could not resolve the connect identifier specified
    Regards,
    Ioan

  • ODBC 10.2 test connection success but MSAccess/Office throws ORA-12154

    I've run into a difficult-to-solve problem. I'm troubleshooting an MSAccess to Oracle connection via Oracle ODBC driver issue.
    MSAccess was giving ORA "long" datatype error (can't remember error number) when using 11.2.1 driver against a years-old, tried-n-true app that was previously well behaved (only diff is use of that app with newer Oracle ODBC driver). Web search revealed problems with 11.2 ODBC driver and MSOffice tools so decided to swith to older ODBC driver. Had 10.2 ODBC driver also installed so switched to that. Now get ORA-12154 every time I try to connect with MSAccess via Oracle ODBC. Using the ODBC Admin (32 bit) allows SUCCESSFUL connection as does tnsping & other tools that use Oracle Net. Only MSAccess (or other MSOffice tools) do not.
    I've verified no other tnsnames.ora files or sqlnet.ora files available and have even gone as far as completely removing all things Oracle from the PC and reinstalling only the 10.2 client (custom mode; installed only the Oracle NET and ODBC 10.2 driver). I've turned on tracing to ADMIN level and read the trace files. trace for MSAccess call vs trace for ODBC administrator call yields nearly identical trace files till "niotns" step where the ODBC admin proceeds to connect and the MSAccess call just gives a few other coments then stops. NO apparent error messages. tnsnames IS found so don't understand why giving ORA-12154.
    All tools connect (tnsping works, SQL*Plus connects, ODBC admin test sucessful, TOAD connects) EXCEPT MSAccess. Problem is I have many, many MSAccess legacy apps/tools and cannot go without the fully working ODBC connection between MSAccess and Oracle.
    Help... desparate for new ideas to try since I've spent many hours searching and tried all known troubleshooting steps.
    Any ideas appreciated.
    Thanks,
    Mike

    Hi Mike,
    I have a similar error. I can connect to database with TNSPING, and I can also connect with SQL Developer. But I am unable to connect with Access using ODBC, I get ORA-12154 error. Am also completely stumped. So if anyone can help, I would appreciate it too.
    (P.S. I have tried on a number of PCs here in the office, on one PC I have here I can connect using Access and ODBC, I can see the tables, I pick on a table, it says "linking", but it never links - it just hangs forever.)
    Thanks for any pointers,
    Tom

  • TNS error ORA-12154 : can connect to one server but not to another.

    Hello,
    I have a Forms 6.0 application running on a Solaris box. It connects
    fine to an Oracle 9.0 server but fails with ORA-12154 when trying to
    connect to Oracle 10g running on a different server.
    'sqlplus' can connect fine to both servers .
    'tnsping'result is succesful from the Solaris client to both servers.
    Configuration details are as follows. (IP Addresses have been
    sanitised. I've included the client side listener and also entries for
    the 'local' Oracle 8i server running on the Solaris 'client' although
    I think some of this may be not relevant):
    1. Connecting to Server 9.0 : application CAN connect successfully:
    a. application URL
    http://host_ip_address:7778/dev60cgi/if60cgi?config=rack : application
    runs successfully
    b. client's formsweb.cfg excerpt:
    [rack]
    pageTitle=yadayada
    form=login01
    userid=user/pass@nn_rackspace
    archive=f60all.jar, oracle_ice-4_03_1.jar
    c. client's tnsnames.ora excerpt (local services not excluded):
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    RR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = RR)
    NN_RACKSPACE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.33.44)(PORT =1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1.QONNECTIS.COM)
    NN_QQ3 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    NN_QQ3.qonnectis.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    d. client's sqlnet.ora: contains ONLY:
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    e. client's listener.ora excerpt:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = NN)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = NN)
    (SID_DESC =
    (GLOBAL_DBNAME = RR)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = RR)
    f. remote server's tnsnames.ora excerpt:
    QQ1.QONNECTIS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = qanasta1.qonnectis.com)
    (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1.qonnectis.com)
    QQ1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = qanasta1.qonnectis.com)
    (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1)
    QQ3.QONNECTIS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.qonnectis.com)
    g. remote server's sqlnet.ora contains only:
    NAMES.DEFAULT_DOMAIN = qonnectis.com
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    h. remote server's listener.ora excerpt:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST =qanasta1.qonnectis.com)
    (PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = QQ1.qonnectis.com)
    (ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
    (SID_NAME = QQ1)
    i. on Solaris client, tnsping nn_rackspace : succeeds
    j. on Solaris client, sqlplus user/pass@nn_rackspace: succeeds
    k. on server, Oracle server processes have names like ora_d000_QQ1.
    l. on server, Oracle connected listener processes show up in ps
    listing like oracleQQ1 (LOCAL=NO)
    m. On server, lsnrctl status reports amongst other things
    Service "QQ1.qonnectis.com" has 2 instance(s).
    Instance "QQ1", status UNKNOWN, has 1 handler(s) for this service...
    Instance "QQ1", status READY, has 1 handler(s) for this service...
    2. Connecting to Server 10g : application does NOT connect successfully:
    a. application URL
    http://host_ip_address:7778/dev60cgi/if60cgi?config=rack2
    b. client's formsweb.cfg excerpt:
    [rack2]
    pageTitle=yadayada
    form=login01
    userid=user/pass@nn_qq3
    archive=f60all.jar, oracle_ice-4_03_1.jar
    c. client's tnsnames.ora excerpt (local services not excluded):
    -as above-
    d. client's sqlnet.ora: contains ONLY:
    -as above-
    e. client's listener.ora excerpt:
    -as above-
    f. remote server's tnsnames.ora excerpt:
    # default sid 'orcl' : for local access
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    # QQ3_Vlan : default sid 'orcl' : access over 10. private net from qq1
    QQ3_VLAN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.99.99.99)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    # nn_qq3 : default sid 'orcl' : access from external sites by public
    # external IP - specifically sun admin dba tool in twx
    NN_QQ3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    g. remote server's sqlnet.ora contains only:
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    NAMES.DEFAULT_DOMAIN = qonnectis.com
    h. remote server's listener.ora excerpt:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = orcl)
    i. on Solaris client, tnsping nn_qq3 : succeeds
    j. on Solaris client, sqlplus user/pass@nn_qq3: succeeds
    k. on server, Oracle server processes have names like ora_d000_orcl .
    l. on server, Oracle connected listener processes show up in ps
    listing like oracleorcl (LOCAL=NO)
    m. On server, lsnrctl status reports amongst other things
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this
    service...
    Service "orcl.qonnectis.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    As you can see, I have tried adding an alias for the default domain
    name suffix '.qonnectis.com' in the tnsnames.ora files on the solaris
    client and on the new 10g server.
    Just to add to the fun, the 'new' server running Ora 10g CANNOT connect
    to the old server running Ora 9:
    sqlplus user/pass@nn_qq3
    sqlplus user/pass@nn_qq3.qonnectis.com both fail.
    While the old 9.0 server CAN connect to the new 10g one:
    sqlplus user/[email protected] succeeds.
    Sorry this is such a mess. TBH I find this whole area extremely
    confusing.
    All suggestions welcome. Unfortunately I am away on holiday next week
    but will follow up any leads when I get back.
    thanks!
    Victor Churchill.

    Hi DianeinBirmingham,
    Welcome to the Apple Discussions
    The Log goes further
    Chat ended with error -8
    Video Conference Error Report:
    Video Conference Support Report:
    Video Conference User Report:
    Binary Images Description for "iChat":
    This bit suggests the ports are not open.
    Intermittent success like this And the ports not being open suggests a Modem that might be SIP aware such a Thomson-Alcatel Speedtouch device.
    Can you tell us what modem you have ?
    7:55 PM Friday; July 13, 2007

  • ORA-12154 as oracle user, whit the root account it works fine

    Hello there,
    I've a problem with a client installation if I try to connect to the database. I've the following configuration:
    1. Database: Running on a Ubuntu Jeos VM, Oracle 11g (Release 11.1.0.6.0 64 bit)
    2. Client: Running on a CentOS 5.2 VM, Oracle Client 10g Linux 32bit
    I've configured the tnsnames.ora and stored it in the $ORACLE_HOME/network/admin directory. The content of the tnsnames.ora file is the following:
    ORCL64=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.12.128)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    If I try to connect to the database as the oracle user with the following command sqlplus SYS@ORCL64 AS SYSDBA, I'll get the ORA-12154  TNS:could not resolve the connect identifier specified error message. If I try the same as the root user it works fine and I can establish the connection. The same result I've got if I try the command tnsping ORCL64. As the root user the tnsnames adapter can resolve the alias, as the oracle user this is'nt possible and I'll get the error message: TNS-03505: Failed to resolve name. In both he uses the paramter file /u01/app/oracle/network/admin/sqlnet.ora. The content of the sqlnet.ora file is the following:
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT).
    Have you any suggestions how can I resolve this problem to get a connection with the oracle user.
    Thank you in advance
    Sven

    Hello,
    thanks for your answers. On the CentOS maschine, where the client is installed, there are no directory's $ORACLE_HOME/bin/oracle and $ORACLE_HOME/bin/lsnrctl. The output from the $ORACLE_HOME/network/admin/*ora is:
    -rw-r----- 1 oracle oinstall 171 28. Apr 21:25 /u01/app/oracle/network/admin/sqlnet.ora
    wx---- 1 root root 118 5. Mai 11:33 /u01/app/oracle/network/admin/tnsnames.ora
    The post-install script $ORACLE_HOME/root.sh I've started.
    On the Ubuntu Jeos VM, where the database is installed, the output from the 3 directories are:
    ls -l $ORACLE_HOME/bin/oracle
    -rwsr-s--x 1 oracle oinstall 188459338 2009-02-23 09:21 /u01/app/oracle/product/11.1.0/db_1/bin/oracle
    ls -l $ORACLE_HOME/bin/lsnrctl
    -rwxr-x--x 1 oracle oinstall 143599 2009-02-23 09:48 /u01/app/oracle/product/11.1.0/db_1/bin/lsnrctl
    ls -l $ORACLE_HOME/network/admin/*ora
    -rw-rw-r-- 1 oracle oinstall 542 2009-03-25 19:08 /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    -rw-rw-r-- 1 oracle oinstall 191 2009-02-23 09:57 /u01/app/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
    -rw-rw-r-- 1 oracle oinstall 324 2009-03-25 19:12 /u01/app/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    Kind regards
    Sven

  • ORA-12154: TNS:could not resolve... - sql plus works, env vars are set...

    Hi,
    I am getting this error message in my ASP.Net apps (namespace Oracle.DataAccess.Client) and any app that tries to use the Oracle Provider for OLE DB.
    Error:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Here is what I do know:
    - My ORACLE_HOME is set to C:\oracle\product\11.1.0\client_1\
    - My path has C:\oracle\product\11.1.0\client_1\network\admin;C:\oracle\product\11.1.0\client_1\bin;
    - I installed Oracle Client 11g, previously 10g was working but one of the devs wanted to upgrade
    - I can connect using sqlplus user/pass@tnsname
    - I can test tns entries successfully in Net Manager
    Here is what I don't know:
    - When using OLE connections, why does Oracle Provider for OLE DB not pick up on the environment variables - sql plus seems to, that's why it works.
    - In ASP.Net, why does the connection object from Oracle.DataAccess.Client not pick up the correct environment variables?
    - How do the Oracle drivers pick up the location of the TNS names?
    Thanks,
    Michael
    Edited by: user2750352 on 04-May-2009 07:51

    Hi,
    What "environment variables" are you referring to that you have set? You shouldnt have to set any, unless you're talking about TNS_ADMIN just to avoid having to configure multiple TNSNames.ora's if you have multiple homes.
    Your PATH doesnt need to include OH\network\admin, but thats not hurting anything. PATH is for dll loading, not for finding config files.
    Do you still have 10g installed? When you connect using sqlplus user/pass@tnsname, are you using 11g sqlplus? Or is that coming from the 10g client? Multiple homes arent aware of each other, so if you have a 10g home and an 11g home, you'd have to configure tnsnames.ora for both (or use tns_admin).
    As far as I know, the client software picks up tnsnames.ora by checking:
    1) the local working directory
    2) the tns_admin directory
    3) the network\admin directory of the client home being used.
    Hope it helps,
    Greg

  • ODBC test connection success but MSAccess throws ORA-12154

    My system details are,
    OS - Windows 7 - 64 bit
    MS-Office 2010 - 32 bit (Installed in "C:\Program Files (x86)\Microsoft Office")
    Oracle server/client 10.2 (Installed in "C:\oracle\product\10.2.0\client_1")
    I can "successfully" create the ODBC connection to my oracle database via "C:\Windows\SysWOW64\odbcad32.exe" (As my MS-Access in 32 bit, i need to use 32 bit ODBC component).
    But, when I try to create/use the same in MSAccess -> External Data -> ODBC Database, I am getting the error "ORA-12154 TNS:could not resolve the connect identifier specified".
    After spending couple of hours with debugging utilities, found the issue is in MS-Office installation path. The special character in the path "(x86)" is causing ORA-12154 error.
    To ensure the same; I installed the Toad in "Program Files (x86)" folder, and tried connecting the same database. As expected, toad also gave ORA-12154 error (Which was working well in "C:\Toad").
    Can you please let me know, is there a way/work around, we can make MSAccess 32 bit-> ODBC 32 -> Oracle 10.2 connectivity work in Windows 64 bit OS?
    We cannot ask the end users to change the installation location of their MS Office from "Program Files (x86)".
    Please let me know if you need more information.
    Thanks,

    I have the same issue.
    I set up a DSN using Microsoft ODBC Administrator and I tested the connection.
    However, when I tried using the DSN from Access, I get the above error.
    Anybody listening?
    venki

  • I got the error ORA-12154 trying to connect my app but not with the SQLplus

    Hello! i need your help,
    I have a client (Win XP SP2) and i'm trying to connect to the database in the server (Windows 2003, Oracle 10G) using the SQL plus, this is ok, but i try to do it throught the application developed in Developer 6i and i cannot, i got the error: ORA-12154 TNS:could not resolve service name. I tried to solve it by setting the env. var TNS_ADMIN and i still have the same error.
    Could anyone help me?, please

    Hi,
    Check for following file TNSNAMES.ORA at location;
    C:\<Forms-directory>\NET80\ADMIN
    See, if your service name is added to your file. If not then add a new entry like;
    gsm.world =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = tcp)(PROTOCOL = TCP)(Host = 10.0.1.22)(Port = 1521))
    (CONNECT_DATA = (SID = gsm))
    Where:
    gsm.world = your service through which you connect to databse.
    Host = ip address of machine where oracle server is running.
    sid = name of your database
    If you already have entry of service in TNSNAMES.ora file then paste you service here as is did , so that we can check because the error you are facing is only due to service problem. Please update........

  • ORA-12154 Error - NET8 Connection Tester Works Though

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

  • ORA-12154 when using Database Link

    We're running 11r2 on our servers. I have a primary db and a standby db, using Data Guard. The standby is open for read-only querying. We are not using ASM.
    The primary (and thus the standby) have a PUBLIC database link to a third db server.
    When I run a query against the database link on the primary: select * from test@MyDBlink; Everything works fine.
    When I run the same query against the database link on the standby: select * from test@MyDBlink; I get ORA-12154: TNS:could not resolve the connect identifier.
    I check that the db link exists on the standby. It does.
    I go to command prompt on the standby and run "tnsping MyDBlink". It executes fine. It says "Used TNSNAMES adapater to resolve the alias" and sure enough, MyDBlink is referenced in the TNSNAMES.ORA.
    I also run "tnsping IP-of-MyDBlink" to doublecheck. No issues.
    What is going on that is blocking the db link on the standby? Many reports utilize that standby and I'd hate to deny them the functionality of a db link.
    Thanks

    893968 wrote:
    We're running 11r2 on our servers. I have a primary db and a standby db, using Data Guard. The standby is open for read-only querying. We are not using ASM.
    The primary (and thus the standby) have a PUBLIC database link to a third db server.
    When I run a query against the database link on the primary: select * from test@MyDBlink; Everything works fine.
    When I run the same query against the database link on the standby: select * from test@MyDBlink; I get ORA-12154: TNS:could not resolve the connect identifier.
    I check that the db link exists on the standby. It does.
    I go to command prompt on the standby and run "tnsping MyDBlink". It executes fine. It says "Used TNSNAMES adapater to resolve the alias" and sure enough, MyDBlink is referenced in the TNSNAMES.ORA.
    I also run "tnsping IP-of-MyDBlink" to doublecheck. No issues.
    What is going on that is blocking the db link on the standby? Many reports utilize that standby and I'd hate to deny them the functionality of a db link.
    ThanksMost people with this problem don't understand that the dblink is just another client, no different than sqplus running on the same machine - and therefore the link uses the tnsames in the ORACLE_HOME of the database containing the link. But it seems from the steps you've described that you've grasped that. The only thing I can think of off the top of my head is when you try sqlplus from the standby server you are hitting a different tnsnames than the one the database is using.

  • ORA-12154 error when trying to connect to Oracle 11g DB from Excel 2010

    All,
    I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?

    user10832104 wrote:
    All,
    I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?
    If you are able to connect with sqlplus, then this really becomes a question of how to define a data connection in Excel.
    But after quickly googling ..
    In excel ...
    "Data" tab
    "from other sources"
    "from data connection wizard"
    select ODBC DSN
    On data link properties, select the "connection" tab
    select "Use Data Source Name" and hit the drop-down
    select a dsn that you had previously set up to point to the oracle database.
    Anyway, that looks like how it is supposed to be done.  I'm getting a dll initialization error.  Probably due to the fact I have both 32-bit and 64-bit oracle clients, and windows never handles that very gracefully.  But then Windows never graceffully handles anything that isn't MicroSoft.   To paraphrase Forest Gump, "My momma always said Windows was like a box of chocolates.  You never know what you're going to get."
    In any event, the error you report means it was actually tying to look it up in tnsnames, but what you supplied wasn't found there.  That can also be a big issue when dealing with MS products, because they don't use the same terminology, so lead people into entering something other than what Oracle expects.  Are you referencing an ODBC DSN?  If so, have you tested that apart from Excel?

  • Not able to resolve ORA-12154 issue

    Hi,
    have installed a Oracle 11g on a 64-bit Windows 2008R2 server. Installation based on logs was success full, however I do have some issues with getting TNS to work. I am able to TNSPING the server and it returns expected result, but when i try to connect via SQLPLUS (sqlpuls ora/ @srv1) it results in "ORA-12154: TNS:could not resolve the connect identifier specified".
    We are in contact with the sid by bypassing TNSNAMES.ORA , but that does not resolve my issue since i need this to work.
    I have attempted some suggested changes to tnsnames.ora, sqlnet.ora and listner.ora with out success sofar.
    Hope some one has some suggestions on how to overcome this issue
    tnsnames.ora
    SRV1=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test1.example.com)(PORT = 1521))
    (CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_MAME = srv1)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    listner.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
              (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
              (ADDRESS = (PROTOCOL = TCP)(HOST = test1.example.com)(PORT = 1521))
    ADR_BASE_LISTENER = C:\oracle

    Posting the requested data. If the result from lsnrctl services/status seem a bit strange, please assist me in change settings so that output is english:-)
    LISTNER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
              (GLOBAL_BDNAME=srv1)
    (SID_NAME = srv1)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test1.example.com)(PORT = 1521))
    ADR_BASE_LISTENER = C:\oracle
    TNSNAMES.ORA
    srv1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =148.53.60.44)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = srv1)
    C:\Users\CJuell>lsnrctl services
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 29-MAR-2011 13:22
    :44
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Kobler til (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test1.example.com)(
    PORT=1521)))
    Tjenesteoversikt...
    Tjenesten srv1 har 1 forekomst(er).
    Forekomsten srv1, statusen UNKNOWN, har 1 behandler(e) for denne tjenesten.
    Behandler(e):
    DEDICATED etablert:0 avslÕtt:0
    LOCAL SERVER
    Tjenesten srv1.ingrnet.com har 1 forekomst(er).
    Forekomsten srv1, statusen READY, har 1 behandler(e) for denne tjenesten...
    Behandler(e):
    DEDICATED etablert:5 avslÕtt:0 tilstand:ready
    LOCAL SERVER
    Tjenesten srv1XDB.ingrnet.com har 1 forekomst(er).
    Forekomsten srv1, statusen READY, har 1 behandler(e) for denne tjenesten...
    Behandler(e):
    D000 etablert:0 avslÕtt:0 gjeldende:0 maks:1022 tilstand:ready
    DISPATCHER <machine: OSL-PPMV-VM31, pid: 2864>
    (ADDRESS=(PROTOCOL=tcp)(HOST=test1.example.com)(PORT=61088))
    Kommandoen ble utf°rt
    C:\Users\CJuell>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 29-MAR-2011 13:23
    :00
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Kobler til (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test1.example.com)(
    PORT=1521)))
    STATUS FOR LYTTERPROSESS
    Alias LISTENER
    Versjon TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Startdato 29-MAR-2011 11:44:12
    Oppetid 0 dager 1 t. 38 min. 48 sek
    SporingsnivÕ off
    Sikkerhet ON: Local OS Authentication
    SNMP OFF
    Lytterens parameterfil C:\oracle\product\11.2.0\dbhome_1\network\admin\listen
    er.ora
    Lytterens loggfil c:\oracle\diag\tnslsnr\osl-ppmv-vm31\listener\alert\lo
    g.xml
    Sammendrag for lyttende nettverksknutepunkt...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test1.example.com)(PORT=1521
    Tjenesteoversikt...
    Tjenesten srv1 har 1 forekomst(er).
    Forekomsten srv1, statusen UNKNOWN, har 1 behandler(e) for denne tjenesten.
    Tjenesten srv1.ingrnet.com har 1 forekomst(er).
    Forekomsten srv1, statusen READY, har 1 behandler(e) for denne tjenesten...
    Tjenesten srv1XDB.ingrnet.com har 1 forekomst(er).
    Forekomsten srv1, statusen READY, har 1 behandler(e) for denne tjenesten...
    Kommandoen ble utf°rt
    C:\Users\CJuell>lsnrctl services

  • ORA-12154 Connection error from HFM to Oracle Database

    Hi,
    I am trying to configure Hyperion HFM but can write to HFM database.
    The implementation architecture:
    Hyperion 11.1.2.2 (with all the requiered patches for HFM, FDM, Shared Services, Workspace and Oracle Application Development)
    Server 1:
    Windows Server 2008 x64
    Installed products: Foundation (EPMA, CalcManager), BI, HFM web components and ADM driver
    Configured products: Foundation(EPMA, CalcManager), BI.
    Database Client: 11gR2 x64
    Server 2:
    Windows Server 2008 x64
    Installed products: HFM, FDQM
    Configured Products: FDQM, HFM
    Database Client: 11gR2 x32, 11gR2 x64 (x32 version installed first)
    Server 3:
    Database: Oracle 11.2.0.2
    All the products from server 1 are working fine, FDQM (server 2) is also working fine, but, when I try to do any action related with HFM database the system fails.
    I have tested the connection is these scenarios:
    1. SQLdeveloper: successfull!, I can create tables, views, etc. Double checking the user privileges it has all the required.
    2. tnsping: successfull!
    3. HFMApplicationCopy utility: Successfull using UDL file and writing the connection parameters.
    4. EPM System Configurator: the configurator successfully validates the database connection information, but does not create the tables on the database. No errors in the configtool log.
    5. EPM Diagnostic Tool: fails with this error message:
    ------------STARTING VALIDATION SCRIPTS----------
    LOGGING IN HFM....
    CREATING APPLICATION....
    ERROR: Unable to CreateApplicationCAS
    Number (dec) : -2147215936
    Number (hex) : &H800415C0
    Description  : <?xml version="1.0"?>
    +<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>1356</Line><Ver>11.1.2.2.300.3774</Ver><PSec><Param><server_name></Param></PSec></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>936</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>4096</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
    Source       : Hyperion.HFMErrorHandler.1
    ERROR: while Application created
    7. HFM Classic application creation: fails with the following error:
    Error*11*<user_name+>*10/19/2012 08:30:52*CHsxServer.cpp*Line 90*<?xml version="1.0"?>+
    +<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
    8. EPMA Application deployment: fails with same message.
    Please help me with some insights on this problem, I have tried everything but nothing works.
    Regards
    Edited by: Otein on 19-oct-2012 14:04

    Hi,
    I Have solved one of my problems, the one that keep HFM from connecting to the Oracle database.
    I just change the TNSNAMES.ORA, like this:
    Initial tnsnames.ora
    PRUEBA.WORLD=
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(LOAD_BALANACE = ON)+
    +(FAILOVER = ON)+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
    +)+
    +(CONNECT_DATA =+
    +(SERVICE_NAME = <service_name>)+
    +)+
    +)+
    +)+
    Modified tnsnames.ora
    PRUEBA.WORLD=
    +(DESCRIPTION =+
    +(LOAD_BALANACE = ON)+
    +(FAILOVER = ON)+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
    +)+
    +(CONNECT_DATA =+
    +(SERVICE_NAME = <service_name>)+
    +)+
    +)+
    I Just delete the line "+(DESCRIPTION_LIST =+" and its corresponding closing parenthesis, I did this cause in the configuration utility log I saw this line:
    +TNS parsing: Entry: DESCRIPTION_LIST [[Address: Protocol:(TCP) Host:(<server_name>) Port:(1521) SID:(<service_name>)]]+
    So, if the applications were trying to connect to connection descriptor DESCRIPTION_LIST, the driver could not recognize DESCRIPTION_LIST as a valid one.
    There is a lot going on behind the scenes when you work with Oracle Database as the repository, maybe there is some other way to address this issue, but it worked for me, hope it can help you too.

  • ORA-12154 trying to connect using TOAD

    Hi all,
    I have Oracle 10G up and running on W2K, and working fine with sqlplus.
    I have setup the registration KEYS (HKEY_LOCAL_MACHINE/...) so TOAD can look at the proper Database, but when I try to connect, I get the famous (and frustrating!) "ORA-12154: TNS:listener does not currently know of service requested in connect descriptor".
    the TNSPING works fine as well as requested in the TOAD help file.
    I don't really know what I have to do at this stage. Any idea is welcome.
    Thanks,
    Philippe Le Mounier

    Try this:
    set ORACLE_HOME and ORACLE_SID environment variables to the correct values by right clicking on "My Computer" on desktop and clicking:
    Properties -> Environment Variables -> New
    And then try connecting to TOAD.
    I would suggest restoring the registry entries to their original values (since the connecting should work without changing any registry entries).

Maybe you are looking for

  • How do I make iPhone passive in iPhoto - not once but always

    I use Aperture and iPhoto. I import all my photostreams and photos to Aperture. It is my main photo application. But I also use iPhoto for special fotos and events. I never syncronize my iPhone with iPhoto or iTunes, but I often connect it to my MacB

  • Is a 64GB SSD good enough for a primary boot drive on a Macbook Pro?

    My hard drive just failed and I am thinking of going the SSD way - installing a 64GB SSD as my bootable drive and taking out my optical disc to install a 500GB HDD. Will the 64GB work for my purpose? Or do I need to go higher? Thanks!

  • HT1368 how to download my whole wish list at one time

    how to download my whole wish list at one time. Used to be a button that you could click on and buy everything that was in your wish list I dont see that button anymore and it looks like know you have to click on each song one at a time is this right

  • Conky and noaa weather from xml

    i am looking into trying to retrieve weather data from noaa xml file for locations then displaying it in conky. i am having trouble just extracting the data i want without downloading the xml file to the computer let alone getting it to appear in con

  • Iphone 4 docking

    I have an iphone 4 and when I recently updated the software my phone stopped working in my Sony docking station and with my car (VW) interface.  It still chatges but doesn't play music and shows the "not supported" message.  Does anyone have any idea