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.

Similar Messages

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

  • Please Help ------SVRMGR -ERROR - ORA-12538

    PPL,
    I am getting "MESSAGE 4505 NOT FOUND,NO MESSAGE FILE FOR PRODUCT=RDBMS,FACILITY=MGR ERROR WHILE TRYING TO RETRIEVE TEXT FOR ERROR ORA-12538" ...Can anyone help me with this ? I cannot connect to SVRMGR from cmd prompt.

    I wonder why you use CHAR in the first place, why not VARCHAR2(1)?
    You have to put Y and N between quotes:
    create table mytab (
    Financial_Aid_Requested VARCHAR2(1) NULL
    CONSTRAINT CK3APPLICATION_INFO
    CHECK (Financial_Aid_Requested IN ('Y','N'))

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

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

  • 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: TNS:could not resolve service name

    Hi Guru's
    i applied Maintainacepack 3480000 patch on my application for upgrading 11.5.7 to11.5.10.2, after completion of patch, I run the autoconfig it has given bellow error, please anybody can help me, i need to finish my task immediately, please provide me the solution.
    autoConfig Profile Phase
    Running Profile Process 1 of 1 for CLN_TOP
    Executing script in InstantiateFile:
    /sgmtemp/prodcomn/admin/install/MSBEP004_dcpsr006osm/clnadmprf.sh
    script returned:
    clnadmprf.sh started at Sun Feb 17 06:24:13 WST 2008
    The environment settings are as follows ...
    ORACLE_HOME : /sgmtemp/prodora/8.0.6
    ORACLE_SID :
    TWO_TASK : msbep004
    PATH : /sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/8.0.6/bin:/sgmtemp/prodappl/fnd/11.5.0/bin:/sgmtemp/prodappl/ad/11.5.0/bin:/sgmtemp/prodcomn/util/jre/1.1.8/bin:/sgmtemp/prodcomn/util/unzip/unzip::/sgmtemp/prodora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/8.0.6/bin:/sgmtemp/prodcomn/util/jre/1.1.8/bin:/sgmtemp/prodcomn/util/unzip/unzip:/sgmtemp/prodora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/sgmtemp/prodappl/bin:/usr/bin/X11:/sbin:/usr/lpp/pd/bin:.
    LD_LIBRARY_PATH : /sgmtemp/prodora/8.0.6/network/jre11/lib/aix/native_threads:/sgmtemp/prodappl/cz/11.5.0/bin:/sgmtemp/prodora/8.0.6/lib:/usr/dt/lib:/usr/openwin/lib
    Executable : /sgmtemp/prodora/8.0.6/bin/sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Sun Feb 17 06:24:13 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve service name
    clnadmprf.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    thanks

    Please Apply "Patch 5985992 - TXK AUTOCONFIG ROLLUP PATCH Q (JUL/AUG 2007)", run AutoConfig, and check then.

  • Ora 12154: TNS could not resolve connect identifier specified

    Hi,
    I have Oracle 11g (Release 1_32bit) Client on my C:\ drive which connect to a Remote 11g (11.1.0.7.0 - 64bit) server.
    I have installed 10g DB Server(10.2.0.1.0) and Oracle 10g Forms(Forms [32 Bit] Version 10.1.2.0.2 ) on my D:\ drive.
    When I try to connect to Oracle 10g DB from Forms using "Connect" button, I get following error:
    "ORA-12154: TNS: could not resolve the connect identifier specified"
    Tns and Listner files both are same in Developer_Suite home and 10g home.
    Can someone please help me with this error?
    Thanks

    "ORA-12154: TNS: could not resolve the connect identifier specified"
    $ oerr ora 12154
    12154, 00000, "TNS:could not resolve the connect identifier specified"
    // *Cause:  A connection to a database or other service was requested using
    // a connect identifier, and the connect identifier specified could not
    // be resolved into a connect descriptor using one of the naming methods
    // configured. For example, if the type of connect identifier used was a
    // net service name then the net service name could not be found in a
    // naming method repository, or the repository could not be
    // located or reached.
    // *Action:
    //   - If you are using local naming (TNSNAMES.ORA file):
    //      - Make sure that "TNSNAMES" is listed as one of the values of the
    //        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA)
    //      - Verify that a TNSNAMES.ORA file exists and is in the proper
    //        directory and is accessible.
    //      - Check that the net service name used as the connect identifier
    //        exists in the TNSNAMES.ORA file.
    //      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    //        file.  Look for unmatched parentheses or stray characters. Errors
    //        in a TNSNAMES.ORA file may make it unusable.
    //   - If you are using directory naming:
    //      - Verify that "LDAP" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Verify that the LDAP directory server is up and that it is
    //        accessible.
    //      - Verify that the net service name or database name used as the
    //        connect identifier is configured in the directory.
    //      - Verify that the default context being used is correct by
    //        specifying a fully qualified net service name or a full LDAP DN
    //        as the connect identifier
    //   - If you are using easy connect naming:
    //      - Verify that "EZCONNECT" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Make sure the host, port and service name specified
    //        are correct.
    //      - Try enclosing the connect identifier in quote marks.
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.
    $
    Tns and Listner files both are same in Developer_Suite home and 10g home.Listener files are totally useless in Developer Suite home, since they are server files.

  • Toad ORA-12154: TNS:could not resolve the connect identifier specified

    I'm installing oracle clients and tools on a new Windows 7 machine issued to me by my company.
    I installed a 64 bit 10.2.0.3 oracle client, but found that 64 bit installations don't work with TOAD. So I installed a 32 bit 10.2.0.1 oracle client. I also set up my TNS names files in the network/admin directory of both installations, set up the hosts files, and ensured that the registry information is accurate. I have no ORACLE_HOME environment variable because when I installed the 2nd installation of Oracle it said that I shouldn't have one since I have multiple versions of oracle and it erased it.
    I am able to connect and use SQL Plus and SQL Developer with both installations of Oracle, but I'm not able to connect with TOAD. TOAD finds the 32 bit installation and all of its registry information looks correct and TOAD says "The Oracle home is valid". TOAD also loads my TNS file and all associated IPs and everything looks good when I look at them in the the TNS Editor. I am also running TOAD as administrator in order to avoid "Can't initialize OCI. Error -1" errors.
    Yet, whenever I try to connect to any database, I get the following error:
    "ORA-12154: TNS:could not resolve the connect identifier specified" and then the database I am using
    Is there anything else I need to setup because I have multiple installations of Oracle? Or anything else I need to setup running on a 64 bit windows machine with 32 bit installations of oracle and toad?
    Thanks for any help you can give.

    And in case you want to know my registry information:
    64 bit installation:
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraClient10g_home2
    Class Name: Application Global Data
    Last Write Time: 10/5/2010 - 11:36 AM
    Value 0
    Name: ORACLE_HOME
    Type: REG_SZ
    Data: C:\oracle\product\10.2.0\client_2
    Value 1
    Name: ORACLE_HOME_NAME
    Type: REG_SZ
    Data: OraClient10g_home2
    Value 2
    Name: ORACLE_GROUP_NAME
    Type: REG_SZ
    Data: Oracle - OraClient10g_home2
    Value 3
    Name: ORACLE_BUNDLE_NAME
    Type: REG_SZ
    Data: Enterprise
    Value 4
    Name: NLS_LANG
    Type: REG_SZ
    Data:
    Value 5
    Name: OLEDB
    Type: REG_SZ
    Data: C:\oracle\product\10.2.0\client_2\oledb\mesg
    Value 6
    Name: StmtCacheSize
    Type: REG_SZ
    Data: 0
    Value 7
    Name: SQLPATH
    Type: REG_SZ
    Data: C:\oracle\product\10.2.0\client_2\dbs
    Value 8
    Name: ORACLE_HOME_KEY
    Type: REG_SZ
    Data: SOFTWARE\ORACLE\KEY_OraClient10g_home2
    32 bit installation:
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient10g_home1
    Class Name: Application Global Data
    Last Write Time: 10/6/2010 - 12:42 PM
    Value 0
    Name: ORACLE_HOME
    Type: REG_SZ
    Data: C:\oracle\product\10.2.0\client_3
    Value 1
    Name: ORACLE_HOME_NAME
    Type: REG_SZ
    Data: OraClient10g_home1
    Value 2
    Name: ORACLE_GROUP_NAME
    Type: REG_SZ
    Data: Oracle - OraClient10g_home1
    Value 3
    Name: ORACLE_BUNDLE_NAME
    Type: REG_SZ
    Data: Enterprise
    Value 4
    Name: NLS_LANG
    Type: REG_SZ
    Data: AMERICAN_AMERICA.WE8MSWIN1252
    Value 5
    Name: SQLPATH
    Type: REG_SZ
    Data: C:\oracle\product\10.2.0\client_3\dbs
    Value 6
    Name: ORACLE_HOME_KEY
    Type: REG_SZ
    Data: SOFTWARE\ORACLE\KEY_OraClient10g_home1
    And my environment variables:
    TNS_ADMIN: C:\Oracle\product\10.2.0\client_3\NETWORK\ADMIN
    PATH: "C:\oracle\product\10.2.0\client_3\bin;C:\oracle\p roduct\10.2.0\client_2\bin;%SystemRoot%\system32;% SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT %\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin"
    The string "C:\oracle\product\10.2.0\client_3\bin" is the bin directory for my 32 bit installation.
    The string "C:\oracle\product\10.2.0\client_2\bin" is the bin directory for my 64 bit installation.

  • 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

  • ORA-12154: TNS: .......

    when i start a sql session from a WIN NT station i get the following error:
    ORA-12154: TNS:could not resolve service name
    Has this anything to do with a DNS or something?

    Hello Bart,
    This has nothing to do with DNS but with the Net8 configuration.
    There are a few steps you have to follow:
    first you install the listener on your Linux box. You will need to adapt the listener.ora in the $ORACLE_HOME/network/admin directory for this. You can use the following file and modify it to your needs:
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <your host>)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = <your global dbname>)
    (ORACLE_HOME = <your Oracle home> )
    (SID_NAME = <Your SID)
    The second step is to configure the tnsnames.ora on your NT box. The tnsnames.ora is located in $ORACLE_HOME\network\admin if you are using an oracle8i client. If you are using an Oracle8 client it will be located in $ORACLE_HOME\net80\admin. You can use the following file and modify it to your needs:
    tnsnames.ora
    <your dbname> =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = your host)(PORT = 1521))
    (CONNECT_DATA =
    (SID = Your SID)
    Hope this helps
    null

  • 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 !!! :-)

  • ORA-12535 TNS:Operation time Out and ORA-12154:TNS Could not resolve servic

    Greetings!!!
    I have installed my Oracle Database 10g & Developer Suite 10g in Windows XP Pro Machine. Oracle Application Server 10g is also installed in Windows 2003 Server machine.Both machine have different domain.When using Form Developer Suite OC4J to run my form program, i can connect to the database properly run the form perfectly.
    Problem encountered.
    When I tried to run the form using Application Server 10g(installed in Windows 2003 Server), I got an error ORA-12154:TNS Could not resolve service name when connecting to the database and I got an error ORA-12535 TNS:Operation time Out when using TNSPing. I checked both the configuration of TNSNAMES.ORA(database & Application SErver) using the same port & service name but still got the same error.
    Hope somebody can help me out there...
    Many thanks in advance.
    Regards,
    BTF

    I have seen this before with my setup, I found that I had to go into the net configuration assistant, and change my host name to the fully qualified name, example: my compuer name is computer1, I had to enter in computer1.OIT.Docfinity.com for it to take. That has always gotten me past that TNS error, just my 2 cents, hope it helps.
    keep on keeping on.

  • 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

Maybe you are looking for

  • [SOLVED]Xf86-video-intel 2.7.0-1 problem.

    Iḿ using xf86-video-intel with xorg-server 1.6.1 and when i use a kms-enabled kernel my video gets all messed up. It' s like it can't find the correct sync with video. no kms is ok, but as usual , i get no direct rendering with compiz. does anyone is

  • Error in mail step

    Hi, In the standard leave request workflow ws20000081, i am trying to add a new step to send mail after the leave is approved. But after the mail is sent through 'send mail' the workflow is not proceedinmg further and it throws exception CL_SWF_RUN_A

  • WebUtil - File Transfer to File Server instead of App Server of DB

    Is it possible to upload a file to server other than the db server or app server? Thanks.

  • Are there any DAQmx examples available for use with pci 6229 M series card?

    I have been searching around for examples which work with the pci 6229 M series DAQ card. Most examples do not list this card as applicable and the one I have found gives an error. Is there anywhere specifically available, what I am particularly inte

  • DFS-R 2012 file access in asynchronous replication

    Here is my scenario: Asynchronous replication is set with long period like 2 days in 2 nodes DFS-R. Considering load balancing, client A accessing files on DFS will be redirected to node A while client B will be redirected to node B. There is a text