OFSA RM PROCESS실행시 OCI DRIVER ERROR - ORA-12154 에러발생

제품 : OFSA_RM
작성날짜 : 2003-05-21
OFSA RM PROCESS실행시 OCI DRIVER ERROR - ORA-12154 에러발생
====================================================
PURPOSE
Problem Description
RM process 실행시 아래와 같은 에러 발생.
Oracle RM
Version 4.5.36
Copyright (c) Oracle Corporation, 1995-2000
All rights reserved worldwide.
MB(Oracle Financial Services Application error) (203105) Oracle drv_oci error:
OCI Function: [0] - olon(), orlon()
Oracle Error: [12154] - ORA-12154: TNS:could not resolve service name
Driver Function: drv_oci::Connect()
MB(AttachDB()) Error attaching to database: OFSA45
Workaround
Solution Description
기존에 사용하던 "OFSA45" 라는 listener가 다른 이름으로 바뀌어 있었다.
OFSA45 Listener를 다시 만들고 test하니, 잘 됨.
Reference Documents
-------------------

First, don't use an ODBC connection, use OCI. Secondly you need to search what's the active home. Also change all your TNSNAMES.ORA files that you can find in your system to make they have the DB name you are trying to resolve. Then try to "tnsping" the DB from a CMD prompt.

Similar Messages

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • While logging I am getting error ORA-12154:

    I am getting this error, while logging.
    ERROR:
    ORA-12154: TNS:could not resolve service namePls Wat I need to do,

    hi coolguy,
    my sqlnet.ora file is
    # SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)and my tnsnames.ora file is
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA.ASTSERVER40.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    SANDB.ASTSERVER40.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = sandb)
    INST1_HTTP.ASTSERVER40.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = SHARED)
          (SERVICE_NAME = MODOSE)
          (PRESENTATION = http://HRService)
      )and my computer name:
    Full computer name:  ast16.astserver40.com
    Domain                  :  astserver40.comand I tested in command prompt, with tnsping which is mentioned you I am getting this error
    C:\>tnsping sandb
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 21-NOV-20
    07 11:20:22
    Copyright (c) 1997 Oracle Corporation.  All rights reserved.
    Used parameter files:
    C:\oracle\ora92\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve namewhere's the problem....
    Message was edited by:
    user594309

  • 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........

  • TNS error ORA-12154

    Hi all,
    One of our client is trying to connect to our database from his local pc. We are able to connect to the database fine from here.
    But when he connects from his pc via vpn it gives him this error:
    Ora-12154: TNS:could not resolve the connect identifier specified.
    I checked the path and the Oracle client is in the path on his pc. Tnsping works. Not sure what else I should check. I do not have access to his pc, I just have to troubleshoot on the phont.
    Below is his sqlnet.ora and tnsnames.ora.
    # SQLNET.ORA Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    #NAMES.DIRECTORY_PATH= (TNSNAMES)
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    alp =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = alm)(PORT = 1525))
    (CONNECT_DATA =
    (SID = alp)
    (SERVER = DEDICATED)
    Please give me your suggestions.
    Thanks.
    Edited by: user553564 on Oct 3, 2008 7:55 AM

    When you do the tnsping, does it say using tnsnames or hostname? I've noticed it can be a bit confusing when you have a host running oracle that is not in your tnsnames.ora, it will successfully tnsping, because the host has a listener running, but you can't attach because the connection string is different. For example, I can tnsping a host named POLARIS, which is not in my tnsnames.ora, but it is in DNS and is running XE. D'Oh!
    You might consider trying a service_name that matches your lsnrctl status output, rather than SID in the tnsnames.ora. It's also possible the user has multiple tnsnames.ora (especially if several things have been installed), and is picking up the wrong one. Try changing things the connect name to something just plain weird and see if it makes a difference. See if there is TWO_TASK in your environment, too.
    Other reasons I'm going bald: case sensitivity of the SID; having two nearly identical entries in the tnsnames.ora and not scrolling down while editing; sqlnet.ora strangenesses; and I've "seen" (in earlier versions, anyways), invisible characters causing problems.

  • Error ORA-12154

    Hi friends.
    When I try to connect with a database, shows this error:
    SQL> conn system/[email protected]
    ERROR:
    ORA-12154 TNS:could not resolve service name
    Thanks in advance for your help.

    Use the Net8 assistant to set up your sqlnet.ora and tnsnames.ora

  • Error ORA-12154 trying to connect with instant client 11g / LDAP on Ubuntu

    Hello,
    I have successfully installed instant client 11.2.0.2 and sqlplus on my Ubuntu 11.04 workstation. I am able to successfully connect to DB's defined in tnsnames.ora, but when the resolution is (or should be) by LDAP, I get error
    ORA-12154: TNS:could not resolve the connect identifier specified
    Note: while it's fine for testing, it's not a viable option to setup all the DB's defined in the OID in tnsnames.ora - I need to use LDAP.
    My setup is as follows:
    Install folder: /opt/oracle/instantclient_11_2
    TNS_ADMIN=/opt/oracle/instantclient_11_2/
    sqlnet.ora
    NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
    I am certain that tnsnames.ora and ldap.ora are valid, as I can connect successfully on another machine with the full client installed using the same files.
    I tried to setup tracing in sqlnet.ora as follows
    TRACE_LEVEL_CLIENT = SUPPORT
    TRACE_DIRECTORY_CLIENT = /tmp
    TRACE_FILE_CLIENT = sqlnet.trc
    but not trace file gets generated in /tmp - am I doing something wrong ? (Note, I also tried to set DIAG_ADR_ENABLED=OFF as suggested by Laurenz Albe in Instant client don't work trace but that did not help)
    I checked DocID=359206.1 but I don't think that applies as I'm on 11g.
    Hope someone can help. Thanks in advance !

    rgoold, you are a star ! I should have thought about line endings of course. Many thanks for your suggestion, that fixed the problem.
    # file *.ora
    ldap.ora: ASCII text, with CRLF line terminators
    sqlnet.ora: ASCII text, with CRLF line terminators
    # dos2unix *.ora
    dos2unix: converting file ldap.ora to UNIX format ...
    dos2unix: converting file sqlnet.ora to UNIX format ...
    # ./sqlplus -L user@database
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 15:26:16 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    WOHOOOOO !!! :-)

  • Discoverer Plus Error: ORA-12154:TNS:could not resolve the

    Hi,
    I’m running the Discoverer report in Discoverer Plus and getting the below error, but when the same report ran in Desktop completes successfully and the SQL from the report is running without error in SQL nav.
    Database Error - ORA-12154:TNS:could not resolve the connect identifier specified.
    Thanks in Advance.
    Sunil

    Hi Sunil,
    Did you test the direct method I posted above? That will bypass the tnsnames.ora file. If it connects fine that way, then you likely have a configuration issue with your sqlnet.ora and/or tnsnames.ora
    You can test with:
    $ORACLE_HOME/bin/tnsping <tnsalias>
    If it is successful, then check if you have the TNS_ADMIN environment variable set (echo $TNS_ADMIN) -- assuming Linix/Unix, if Windows, check system environment variables
    You may TNS_ADMIN set and pointing to a tnsnames.ora that is not in the default location.
    If it fails and your tns entry is correct in the tnsnames.ora file, then you may need to look at the sqlnet.ora
    For example,
    If you have NAMES.DEFAULT_DOMAIN set.. then you would need enter: <tnsalias>.<domain> (i.e. scott.world)
    or you may need to check if TNSNAMES is first in NAMES.DIRECTORY_PATH=
    You can remove or rename the sqlnet.ora to make sure that is not an issue.
    Hope that helps. Good Luck.
    ~Steve.

  • ERROR ORA-12154 connecting to Oracle 9i

    Hi,
    I've downloaded the Oracle Developer Tools for Visual Studio .net and when connecting to an Oracle 9i database I get error: ORA-12154... I'm new to Oracle and I know that is related to the “tnsnames.ora” file.The location of my file is on the Oracle\ora92\network\admin directory. Do I need a copy of this file to any other directory? I can still connect to the database using SQL+.
    Any help will be appreciated.
    Many thanks
    Justo

    Hi Justo,
    If ODT was installed correctly, it should have gone into a new Oracle10g Oracle home. This would mean that you need to copy your tnsnames.ora from your Oracle9 Oracle home into your Oracle10g Oracle home so that you can continue to use the same aliases from ODT.
    Christian Shay
    Oracle

  • 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

  • TNS Error : ORA-12154 unsing oo4o with VB

    In VB6, using oo4o(Oracle InProc Server),
    whin I run debuging mode with VB6 App, result is successfull.
    But, compile this application, and execute EXE module,
    error occur 'Cannot resolve TNS Name (ORA-12154)'.

    Just make sure that the executable is not started from a directory path containing brackets (e.g. "C:\Program Files (x86)\MyApp\myapp.exe") but copy that executable to a directory path without brackets. The brackets in one of the directies in the path may lead to the Oracle exception "ORA-12154: TNS :could not resolve service name".

  • PLEASE HELP!  Installation error :ORA-12154 - TNS

    Hi everyone,
    When I'm installing 9ilite and when it comes to the mobile server repository screen, it get an error message :"ORA-12154 - TNS: could not resolve service name".
    But my service name pass the test of TNSPING.
    Please help me and any suggestion is greatly apprieciated.
    Thank you very much!
    Tonie

    Check your tnsnames.ora and make sure that webtogo.world tns entry is correct. The entry should refer to the
    correct database service name.

  • OCI DRIVER error. Please help me!!!

    Hi there,
    I am trying to connect to oracle 9.0.1 database that is on server, not on my system. I am using JDBC for conncetion. I want to use OCI driver but it gives me "java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path"
    I have jdbc driver jar zip & jar file saved on hard drive and also they are included in CLASSPATH.
    Please help me out to solve this.
    n I am using Tomcat 5.0, jdk1.4.1, win xp.
    Thanks,

    Hi Vikas,
    For running the application with the OCI driver, the system should have the Oracle database or Oracle database client installed. Also, ensure that the following environment variables are set:
    On Windows, ensure the following:
    i) ORACLE_HOME\lib directory is in the PATH
    ii) ORACLE_HOME\bin directory is in the PATH
    After performing the above mentioned things, try again.
    Thanks
    -shefali

  • Error ORA-12154 TNS:  Could not resolve the connect identifier specified

    Hi. I'm getting the above error message as I'm trying to create a connection to my oracle 10g database from visual studio 2008. (it's not an ASP.NET app, but a windows forms)
    I've installed the Oracle Developer Tools for Visual Studio and am following the instructions found in the "2 Day + .NET Developer’s Guide" for connecting to the database via the "Add Data Source" menu option.
    When I get to the form where I'm supposed to supply the data source name, and sign in credentials, it's failing with the above error.
    I know I'm using the right credentials but I can sign into SQL Developer using the same ID and password.
    Does this have anything to do with my SQLNET.ORA file? I read in another forum that you have to use SQLNET to connect to 10g databases...
    is this correct?
    any help would be appreciated.
    Edited by: user10902634 on Jul 2, 2009 11:32 AM
    I've also followed the instructions at http://download-west.oracle.com/docs/cd/A91202_01/901_doc/network.901/a90154/gettings.htm#483215. I just modified the existing service name, and tested it using the same credentials i'm using in vstudio and it worked with no problems.

    I found a resolution. I followed the "Oracle developer tools for visual studio FAQ". After my administrator installed the developer tools for me, i had to copy the original tns file over to the new ora home directory.
    that fixed the problem.
    I'm still having problems though getting my application to run on my client machines.
    as a test, i started a new vstudio 2008 project. (.net 2.0) I created a new data source, connected to my oracle database using odp, and then created a data grid control that has all my data from the database.
    i compile with no problems. when i copy the files to my client machine and try to run it, i get the following error:
    Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()
    at Oracle.DataAccess.Client.OracleDataAdapter..ctor()
    at dbtest.DataSet1TableAdapters.WITTableAdapter.InitAdapter() in C:\Documents and Settings\jj\Local Settings\Application Data\Temporary Projects\dbtest\DataSet1.Designer.vb:line 9684
    at dbtest.DataSet1TableAdapters.WITTableAdapter.get_Adapter() in C:\Documents and Settings\jj\Local Settings\Application Data\Temporary Projects\dbtest\DataSet1.Designer.vb:line 9600
    at dbtest.DataSet1TableAdapters.WITTableAdapter.Fill(WITBASELINEDataTable dataTable) in C:\Documents and Settings\jj\Local Settings\Application Data\Temporary Projects\dbtest\DataSet1.Designer.vb:line 23873
    at dbtest.Form1.Form1_Load(Object sender, EventArgs e) in C:\Documents and Settings\jj\Local Settings\Application Data\Temporary Projects\dbtest\Form1.vb:line 12
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    dbtest
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Development/WIT%20Oracle%20EXE/dbconnectionTest/dbtest/bin/Release/dbtest.exe
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    Oracle.DataAccess
    Assembly Version: 2.111.6.20
    Win32 Version: 2.111.6.20
    CodeBase: file:///C:/Development/WITBaseline%20Oracle%20EXE/dbconnectionTest/dbtest/bin/Release/Oracle.DataAccess.DLL
    System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    I've installed the oracle 10g client on my client machine.
    Please and thanks.

  • Help to getrid off "ORA 12154 error"

    ??Why i am getting "DBMS Driver Exception was: java.sql.SQLException Error while trying to retrive text for error ORA-12154-(xyz/******@pqr)"

    You have to make sure you set the ORACLE_HOME environment variable.
    sree
    "M.N.Jagadeesh" <[email protected]> wrote in message
    news:3c457fc1$[email protected]..
    ??Why i am getting "DBMS Driver Exception was: java.sql.SQLException Error
    while trying to retrive text for error ORA-12154-(xyz/******@pqr)"

Maybe you are looking for

  • IMac G5 - Pixelated Finder screen

    Hi guys, Wondered if anyone can shed any light on this. I keep getting a pixelated finder screen - not all over but as if the screen hasn't rendered properly. It happens infrequently when I boot up in the morning & it also occured when the computer w

  • Change log in ABAP Query

    Hello, I would like to know how to check change logs for ABAP Query in the Global Area. I had created a query and am not able to find who has changed this. Please provide some valuable suggestion on this. Regards, Sumit

  • Java client for microsoft passport

    hi, i wonder if it is possible to build a java client for microsoft passport services on mobile phones. do i need any kind of middleware to communicate between a java phone and a server? thanks in advance Dirk

  • No "Auto Extend" option for tablespace files in sqldeveloper 4.0

    In Create Tablespace > File specification tab there is no "Auto Extend" option anymore in sql developer 4.0 (still present in 3.2). Maybe someone knows how to enable it if I missed something in configuration? Here is an illustration: http://i.piccy.i

  • Anyone else having trouble with LiveDock on ICS?

    So I updated my Xperia arc yesterday to ICS and I must say it's a nice update. The touchscreen is very responsive, transitions smooth, apps run nice, all in all it was worth updating for me, until I met mr. Bug. First bug is the notification LED not