Ora 12154 error help needed

Hi,
I am a newbie in oracle forms. I have installed oracle database 10gr2 on windows xp in c directory. In D drive i have installed oracle developer suite 10g. When i try to connect database from developer suite i receive ORA 12154 error.
Do i need to change tnsnames.ora in developer suites 'D' directory or in database'C' directory.
Please explain me in steps so that i can configure developer suite.
Thank You

Forms will use its own Tnsnames.ora file so create alias for it
Run NetCA from
START > PROGRAMS > ORACLE - Oracle HOME name > Configuration and Migration tools > Net Configuration Assistant
and create Alias for Local naming
also make sure the Listener and Database is up and running
Baig,
[My Oracle Blog|http://baigsorcl.blogspot.com/]

Similar Messages

  • ORA-12505 error help needed

    I have 10g on my laptop and tyring to connect to my local db on Laptop via TOAD and gives me error ORA-12505.
    here is my TNSNAMES.ORA file:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    EZAUDIT.2020LLC.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2020-5056)(PORT = 1521))
    (CONNECT_DATA =
    (SID = EZAUDIT)
    here is my LISTENER.ORA file:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2020-5056)(PORT = 1521))
    "2020-5056" is my hostname of laptop.
    "EZAUDIT" is my SID name, which is the local DB name.
    Don't know what's going on. It was working fine for last 2 months, all of a sudden last 3-4 days i am having this issue. My Listener name is "LISTENER"
    If I change the SID = EZAUDIT to SERVICEf_NAME = EZAUDIT in my TNSNAMES.ORA file then the error I get is ORA-12514. Don't know what the issue. Please let me know ASAP, have to finish the project by next week.
    APPRCIATE your hlp.
    THANKS,
    Kas

    result of the lsnrctl services:
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-JUL-2006 12:27
    :59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=2020-5056)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    SQLNET.ORA file:
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Thanks,
    Kas

  • Oracle 10g installation ora 12154 i really need help anyone

    history: reinstallation, can't pass ora 12154; system windows xp sp2 problem ora 12154
    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    clean start
    ================================================================================================================
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Parsing command line arguments:
    Parameter "orahome" = N:\oracle10g
    Parameter "orahnam" = OraDb10g_home1
    Parameter "instype" = typical
    Parameter "inscomp" = client,oraclenet,javavm,server,ano
    Parameter "insprtcl" = tcp,nmp
    Parameter "cfg" = local
    Parameter "authadp" = NO_VALUE
    Parameter "nodeinfo" = NO_VALUE
    Parameter "responsefile" = N:\oracle10g\network\install\netca_typ.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    Profile configuration complete.
    The information provided for this listener is currently in use by other software on this computer.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "iSQL*Plus Configuration Assistant":
    iSQL*Plus 10.1.0.2.0
    Copyright (c) 2004 Oracle. All rights reserved.
    Starting iSQL*Plus ...
    iSQL*Plus started.
    Configuration assistant "iSQL*Plus Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 2):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 3):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    install microsoft loop back adapter okay
    ip 10.10.1.1
    255.255.255.0
    still ora 12154
    disable dhcp client on services.msc
    still ora 12154
    pls help
    this is a fresh install
    do i need to remove my oracle 10xe which is perfect working installed on a different drive
    pls help me
    Edited by: oraclehelper on May 20, 2009 1:45 AM

    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    clean start
    ================================================================================================================
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Parsing command line arguments:
    Parameter "orahome" = N:\oracle10g
    Parameter "orahnam" = OraDb10g_home1
    Parameter "instype" = typical
    Parameter "inscomp" = client,oraclenet,javavm,server,ano
    Parameter "insprtcl" = tcp,nmp
    Parameter "cfg" = local
    Parameter "authadp" = NO_VALUE
    Parameter "nodeinfo" = NO_VALUE
    Parameter "responsefile" = N:\oracle10g\network\install\netca_typ.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    Profile configuration complete.
    The information provided for this listener is currently in use by other software on this computer.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "iSQL*Plus Configuration Assistant":
    iSQL*Plus 10.1.0.2.0
    Copyright (c) 2004 Oracle. All rights reserved.
    Starting iSQL*Plus ...
    iSQL*Plus started.
    Configuration assistant "iSQL*Plus Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 2):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 3):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    install microsoft loop back adapter okay
    ip 10.10.1.1
    255.255.255.0
    still ora 12154
    disable dhcp client on services.msc
    still ora 12154
    pls help
    this is a fresh install
    do i need to remove my oracle 10xe which is perfect working installed on a different drive
    pls help me

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • 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 Error After Install of Enterprise Manager

    I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases.
    This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error.
    I now find a copy of TNSNAMES.ORA in three places. I have copied the correct version to the two new 10G locations and I have verified that all three copies of TNSNAMES.ORA and SQLNET.ORA are correct and identical.
    Do anybody have any idea what else could be wrong?

    I am certain the TNSNAMES.ORA file is fine as it is "pushed" from a central IT department. I have compared it to the one on a second computer (which has only 9i installed) in my office and they are identical.
    I examined the Oracle 9i directories and there was no LISTENER.ORA anywhere. On the 9i only computer the command - C:\>dir listener.ora /s /p executed in a DOS window returned no files.
    Everything was working fine until I installed Enterprise Manager 10g (10.2.0.2.1).
    I have TOAD installed and it connects to both of the 9i development and production databases, so I know the TNSNAMES.ORA is okay.
    It woudl seem that there is a conflict between 10g and 9i Developer/2000.

  • Error message ORA-12154, pls help

    Have got 2 database( A and B) on the same machine, A is the main database while B is meant to be the recovery catalog database, I have been able to create the catalog tablespace, but when I want to register the database from the target database from the RMAN command line with connect [b]catalog "rman_user/rman_user@B", its gives an error message of ORA-12154---TNS : could not resolve the connect identifier specified. I using windows environment, thanks in advance

    Did you create a TNS alias for B database ? If not, you can use Net Configuration Assistant, in the Oracle menu, for that.
    If you did already create B TNS alias, then try "tnsping B" : if result is OK, then try connecting to B DB from Sql*Plus :
    C:\> sqlplus rman_user/rman_user@B

  • 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)"

  • ORA-12154 error connecting CR 2008 to Oracle XE on Windows 7

    I have Crystal 2008 SP3 running on Windows 7. I have Oracle Database Express Edition installed and running. Using the DirectData CR Oracle ODBC Driver 5.1 I test connect fine to Oracle but when I try to use Database Expert to connect to my Oracle database I fail to connect.
    The error I get is Failed to open the connection. Details: ORA-12154: TNS:could not resolve the connect identifier specified. [Database Vendor Code: 12154].  I've spent a lot of time here trolling for information. My TNSnames.ora file appears to be correctly formatted but I'm not sure if it has the correct information in it. I checked my Path and that may be the problem but I am not technical enough to know what to put there so that this 32-bit driver is the first in the list. It's the driver in Windows/SysWOW64. I just need to be able to run a SQL statement in Oracle and create RPTs in CR - not be an OS Expert. Any help would be greatly appreciated.
    TNSNAMES.ORA
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Owner-VAIO)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    PATH
    PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program File
    s (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\produc
    t\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\W
    indows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Softw
    are\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)
    \Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\R
    oxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntim
    e;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live
    \Shared

    Hello,
    This should work, XE is not lsited in our supported platforms PDF but it's still 10.2 which is supported.
    There are more tools you can use to debug, third party Connection tests and ProcessMonitor as well as our database logging dll but if you are running out of time I suggest you purchase a single case and a Rep will contact you directly to resolve the problem.
    To get a single support case got to:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=38156200
    And No, the ORA file should be in the that folder.
    Thanks again
    Don

  • Sql@loader-704  and ORA-12154: error messages when trying to load data with SQL Loader

    I have a data base with two tables that is used by Apex 4.2. One table has 800,000 records . The other has 7 million records
    The client recently upgraded from Apex 3.2 to Apex 4.2 . We exported/imported the data to the new location with no problems
    The source of the data is an old mainframe system; I needed to make changes to the source data and then load the tables.
    The first time I loaded the data i did it from a command line with SQL loader
    Now when I try to load the data I get this message:
    sql@loader-704 Internal error: ulconnect OCISERVERATTACH
    ORA-12154: tns:could not resolve the connect identifier specified
    I've searched for postings on these error message and they all seem to say that SQL Ldr can't find my TNSNAMES file.
    I am able to  connect and load data with SQL Developer; so SQL developer is able to find the TNSNAMES file
    However SQL Developer will not let me load a file this big
    I have also tried to load the file within Apex  (SQL Workshop/ Utilities) but again, the file is too big.
    So it seems like SQL Loader is the only option
    I did find one post online that said to set an environment variable with the path to the TNSNAMES file, but that didn't work..
    Not sure what else to try or where to look
    thanks

    Hi,
    You must have more than one tnsnames file or multiple installations of oracle. What i suggest you do (as I'm sure will be mentioned in ed's link that you were already pointed at) is the following (* i assume you are on windows?)
    open a command prompt
    set TNS_ADMIN=PATH_TO_DIRECTOT_THAT_CONTAINS_CORRECT_TNSNAMES_FILE (i.e. something like set TNS_ADMIN=c:\oracle\network\admin)
    This will tell oracle use the config files you find here and no others
    then try sqlldr user/pass@db (in the same dos window)
    see if that connects and let us know.
    Cheers,
    Harry
    http://dbaharrison.blogspot.com

  • A question about CREATE PUBLIC DATABASE LINK and ORA-12154 error

    Dear all,
    I have a problem about public database link creation and I would appreciate if you could kindly give me a hand. I have the following connection parameters in my
    tnsnames.ora file:
    DGPAPROD.WORLD =
         (DESCRIPTION =
           (ADDRESS_LIST =
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
           (CONNECT_DATA = (SID = DGPAPROD))
    ...Having the above mentioned parameters I can connect to this remote database directly in a SQL*Plus shell:
    $ sqlplus username/[email protected] works pretty well and the connection is established without any problem.
    Now, what I would like to do is to create a public database link to this remote database in order to avoid the user/connection switching for viewing the
    content of this database. I proceeded according to the syntax indicated in the Oracle online documentation:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205
    Therefore I run the following in order to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';Apparently there is no error and the link is created successfully. However it cannot resolve the remote host and whenever I run the following query
    (myenterprise is the name of a table in that remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedWhat causes this problem?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    spajdy wrote:
    You must have defined DGPAPROD.WORLD in tnsnames.oar on server where you DB is runnig.Hello there,
    Thanks a lot for this nice solution. In fact I had to add the connection parameters into the tnsnames.ora file of the server on which the link was created (not the tnsnames.ora of my oracle client stored on the localhost)
    After a bit googling I found another solution that allows to create the database link:
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING '(DESCRIPTION =  (ADDRESS_LIST =  (ADDRESS = (COMMUNITY=tcp.world)
    (PROTOCOL=TCP)(HOST=ip_adresse)(PORT=1521)))(CONNECT_DATA = (SID = GPAPROD)))';Thanks a lot for your help!
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on 18 nov. 2009 07:15

  • ORA-12154 Error

    Hi there,
    I am having a problem connecting to a database that we have just created on a new server. The connection is fine using SQL*PLus, Enterprise Manager or SQL Developer, but we have an application that connects to this database sitting on the same server and this returns the error listed above. The username / pwd etc are all correct in the config file, and is a .NET app, but I cannot understand why it won't connect. I am using the standard oracle client (Oracle.Client) in .NET, the only real difference is that I am running the software on a x64 OS, could this be causing a problem?
    Many thanks for any help that you might be able to provide
    Dan

    Hi Dan,
    It sounds like the local sqlnet.ora or listener.ora file is wrong . . .
    The ORA-12154 is a very common error, always related to your local copy of the tnsnames.ora file, your listener configuration and your database name aliases.
    Make sure that your listener is listening for the same service name that you are using.
    Your service name might have an alias, so check for global (world) entries and local entries. Check $ORACLE_HOME/network/admin/tnsnames.ora.
    Check your global_name setting with this SQL:
    select * from global_name;
    The query value should match your init.ora parms for db_name and db_domain, You can change the global_name with an alter database commend, as follows:
    alter database rename global_name to xxx;
    ORA-12154: 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.

  • ORA-12154 error when logging into SQL*Plus

    I installed Oracle 10g (10.2.0.3.0) server on a Hyper-V virtual machine running Windows Server 2008 Enterprise as a standalone server. I did a software only install and then ran the Database Configuration Assistant to create a database. I also ran the Oracle Net Configuration Assistant to configure the Listener, Naming Methods, and Local Net Service Name. I ran the test in the Net Configuration Assistant and it was successful after I changed the login credentials to use the SYSTEM account and password. TNSPING of the net service name is successful. I can also successfully connect to the database via Enterprise Manager using the SYSTEM account and password. What I can NOT do is connect locally to the database via SQL*Plus (either through the gui or command line). I get the following error:
    ERROR:
    ORA-12154: TNS: Could not resolve the connect identifier specified
    I've checked and double-checked the LISTENER.ORA, SQLNET.ORA, and TNSNAMES.ORA files. They all seem correct to me, especially since I used the configuration assistants to create them.
    Anyone have an idea what might be wrong or what I can check next? Any help would be appreciated!
    Thanks!

    They all seem correct to me, especially since I used the configuration assistants to create them. Garbage In, Garbage Out.
    Since Oracle throws an error, I strongly suspect you are mistaken.
    Simply put, you are using something like "@REMOTE" someplace & somehow and the error indicates SQL*Net does not know to what @REMOTE refers.
    How many systems are involved, names, OS version, etc?
    post connection string & post contents of tnsnames.ora file.

  • ORA-12154 Error loading the I$

    Hi All,
    When I try to run an interface it is failing with below error when loading the data to I$ table. It succesfully created the I$ table but failing when loading the data only. Can anyone help me with this
    ORA-12154: TNS:could not resolve the connect identifier specified,
    Thanks

    Hi Phil,
    I am running the interface with a linux agent. Below is the code which is failing. staging area is same as the target. source an target conection is the same. I checked the TNS file also for the connection details. It is good.
    insert /*+ APPEND */ into MANHATTANDR.I$_ASN_HDR
         SHPMT_NBR,
         TO_WHSE,
         MANIF_NBR,
         MANIF_TYPE,
         BOL,
         SHIP_VIA,
         TRLR_NBR,
         WORK_ORD_NBR,
         CUT_NBR,
         MFG_PLNT,
         ASN_DTL_TYPE,
         ASN_ORGN_TYPE,
         RECV_AGAINST_ASN,
         BUYER_CODE,
         REP_NAME,
         PRO_NBR,
         DC_ORD_NBR,
         CONTRAC_LOCN,
         WHSE_XFER_FLAG,
         QUAL_CHK_HOLD_UPON_RCPT,
         QUAL_AUDIT_PCNT,
         CASES_SHPD,
         UNITS_SHPD,
         CASES_RCVD,
         UNITS_RCVD,
         SHPD_DATE,
         ARRIVAL_DATE_TIME,
         FIRST_RCPT_DATE_TIME,
         LAST_RCPT_DATE_TIME,
         VERF_DATE_TIME,
         VOL,
         TOTAL_WT,
         AUDIT_STAT_CODE,
         STAT_CODE,
         LABEL_PRT,
         REF_CODE_1,
         REF_FIELD_1,
         REF_CODE_2,
         REF_FIELD_2,
         REF_CODE_3,
         REF_FIELD_3,
         MISC_INSTR_CODE_1,
         MISC_INSTR_CODE_2,
         CREATE_DATE_TIME,
         MOD_DATE_TIME,
         USER_ID,
         CNTRY_OF_ORGN,
         IMPORT_VESSEL,
         IMPORT_VYGE_NBR,
         EXPORT_DATE_TIME,
         IMPORT_DATE_TIME,
         ZONE_ADMSN_NBR,
         PORT_OF_LADING,
         PORT_OF_UNLADING,
         CUST_SEAL_NBR,
         INWARD_FWD_MANIF,
         IN_BOND_CARR,
         IN_TRANSIT_NBR,
         IN_TRANSIT_DATE_TIME,
         IN_TRANSIT_PORT,
         ZONE_PAYMENT_STAT,
         PLAN_ID,
         ASN_SHPMT_TYPE,
         SUPP_FTZ_ASN,
         STOP_SEQ,
         TRACTOR_NBR,
         INITIATE_FLAG,
         ILM_APPT_NBR,
         INBD_LOAD_ID,
         TMS_SHPMT_NBR,
         SOURCE_ID
    select     
         ASN_HDR.SHPMT_NBR,
         ASN_HDR.TO_WHSE,
         ASN_HDR.MANIF_NBR,
         ASN_HDR.MANIF_TYPE,
         ASN_HDR.BOL,
         ASN_HDR.SHIP_VIA,
         ASN_HDR.TRLR_NBR,
         ASN_HDR.WORK_ORD_NBR,
         ASN_HDR.CUT_NBR,
         ASN_HDR.MFG_PLNT,
         ASN_HDR.ASN_DTL_TYPE,
         ASN_HDR.ASN_ORGN_TYPE,
         ASN_HDR.RECV_AGAINST_ASN,
         ASN_HDR.BUYER_CODE,
         ASN_HDR.REP_NAME,
         ASN_HDR.PRO_NBR,
         ASN_HDR.DC_ORD_NBR,
         ASN_HDR.CONTRAC_LOCN,
         ASN_HDR.WHSE_XFER_FLAG,
         ASN_HDR.QUAL_CHK_HOLD_UPON_RCPT,
         ASN_HDR.QUAL_AUDIT_PCNT,
         ASN_HDR.CASES_SHPD,
         ASN_HDR.UNITS_SHPD,
         ASN_HDR.CASES_RCVD,
         ASN_HDR.UNITS_RCVD,
         ASN_HDR.SHPD_DATE,
         ASN_HDR.ARRIVAL_DATE_TIME,
         ASN_HDR.FIRST_RCPT_DATE_TIME,
         ASN_HDR.LAST_RCPT_DATE_TIME,
         ASN_HDR.VERF_DATE_TIME,
         ASN_HDR.VOL,
         ASN_HDR.TOTAL_WT,
         ASN_HDR.AUDIT_STAT_CODE,
         ASN_HDR.STAT_CODE,
         ASN_HDR.LABEL_PRT,
         ASN_HDR.REF_CODE_1,
         ASN_HDR.REF_FIELD_1,
         ASN_HDR.REF_CODE_2,
         ASN_HDR.REF_FIELD_2,
         ASN_HDR.REF_CODE_3,
         ASN_HDR.REF_FIELD_3,
         ASN_HDR.MISC_INSTR_CODE_1,
         ASN_HDR.MISC_INSTR_CODE_2,
         ASN_HDR.CREATE_DATE_TIME,
         ASN_HDR.MOD_DATE_TIME,
         ASN_HDR.USER_ID,
         ASN_HDR.CNTRY_OF_ORGN,
         ASN_HDR.IMPORT_VESSEL,
         ASN_HDR.IMPORT_VYGE_NBR,
         ASN_HDR.EXPORT_DATE_TIME,
         ASN_HDR.IMPORT_DATE_TIME,
         ASN_HDR.ZONE_ADMSN_NBR,
         ASN_HDR.PORT_OF_LADING,
         ASN_HDR.PORT_OF_UNLADING,
         ASN_HDR.CUST_SEAL_NBR,
         ASN_HDR.INWARD_FWD_MANIF,
         ASN_HDR.IN_BOND_CARR,
         ASN_HDR.IN_TRANSIT_NBR,
         ASN_HDR.IN_TRANSIT_DATE_TIME,
         ASN_HDR.IN_TRANSIT_PORT,
         ASN_HDR.ZONE_PAYMENT_STAT,
         ASN_HDR.PLAN_ID,
         ASN_HDR.ASN_SHPMT_TYPE,
         ASN_HDR.SUPP_FTZ_ASN,
         ASN_HDR.STOP_SEQ,
         ASN_HDR.TRACTOR_NBR,
         ASN_HDR.INITIATE_FLAG,
         ASN_HDR.ILM_APPT_NBR,
         ASN_HDR.INBD_LOAD_ID,
         ASN_HDR.TMS_SHPMT_NBR,
         #MANHATTAN.VERIFY_SOURCE
    from     MANHATTANDR.SYN_ASN_HDR ASN_HDR
    where     (1=1)

  • If your getting the ora-12154 error...

    If you have followed the directions provided and swear you have done everything right... then try this.
    Check to make sure the tnsnames.ora and sqlnet.ora files are actually .ORA files. I recently started a new job and was tasked with getting instant client working with a VB app. Anyhow, I installed instant client and added the enviroment variables etc etc. I kept getting the 12154 error when testing a sqlplus connection and I couldn't understand why.
    Well since this was a new computer I was working on, I hadn't change the setting when viewing files so it was hiding the file type from me and all I could see was "tnsnames.ora" when the file was really "tnsnames.ora.txt". A day later I figured it out and felt pretty stupid!
    Windows Explorer | Tools | Folder Options | View | Uncheck "Hide extensions for known file types"
    Check those file types people...

    I think you had done a "terrific" job helping novices like me to check/fix the error with the hidden tnsnames.ora.txt extension. I think it is very useful information.
    Thank a lot.

Maybe you are looking for

  • Creation of Maintaince View

    Hi, I would like to create a Maintaince View. In SE11 I selected View option after that I selected Maintaince View option. Then I have given the Name of the table . But it is taking only one table name. remaing fields are in the disable mode. How to

  • SOAP FTP SOAP Sync Scenario

    Hi, I am working on scenario where PI receiver XML message through SOAP Adapter and then transform into tab separated text and send it to FTP location, now requirement is to send back synchronours respose back same XML message with adding one more ta

  • My iphone is not showing up in itunes when i plug it in

    normally my itunes and iphone work great except this one time, i plug it in and it does nothing, it doesnt show up in the sidebar, it just does nothing, everything is up to date, i dont know what to do

  • Access - Cannot edit tables, source database missing

    Hello, I am working on modifying some tables in a database, when I try to edit a table it tells me along the lines of, "this table is a linked table it cannot be modified, if you want to modify this table you must do so from the source database." Oka

  • Problems with your serial number produk: Adobe Premier Pro CS6.

    Dear, Please, send the serial number for my success download (type of product, Adobe Premier Pro CS6) Regards, Fathonie AG