The ORA-12154 error again (one DB fine, the other not)

Hi,
I have 2 DBs on my PC with the same home. There is only 1 tnsnames.ora in my oracle folder (excluding 2 samples). My tnsnames.ora looks like this:
# 10.2.0\db_1\network\admin\tnsnames.ora
TNTDB =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oocl-dird)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = tntdb)
TEST02 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oocl-dird)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = TEST02)
EXTPROC_CONNECTION_DATA = ..My sqlnet.ora:SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZNAMES)listener.ora:SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
      (PROGRAM = extproc)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
      (ADDRESS = (PROTOCOL = TCP)(HOST = oocl-dird)(PORT = 1521))
  )I can connect to tntdb. I can't connect to TEST02 using @TEST02. I can connect using @oocl-dird:1521/TEST02 though (same values as the tns)
Whats the reason? How to fix? :s

sb92075 wrote:
open Command Window & issue following OS commands
lsnrctl status
lsnrctl serviceStatus:
Service "+ASM_XPT" has 1 instance(s).
  Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Service "+asm" has 1 instance(s).
  Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TEST02XDB" has 1 instance(s).
  Instance "test02", status READY, has 1 handler(s) for this service...
Service "TEST02_XPT" has 1 instance(s).
  Instance "test02", status READY, has 1 handler(s) for this service...
Service "test02" has 1 instance(s).
  Instance "test02", status READY, has 1 handler(s) for this service...
Service "tntdb" has 1 instance(s).
  Instance "tntdb", status READY, has 1 handler(s) for this service...
Service "tntdbXDB" has 1 instance(s).
  Instance "tntdb", status READY, has 1 handler(s) for this service...
Service "tntdb_XPT" has 1 instance(s).
  Instance "tntdb", status READY, has 1 handler(s) for this service...
The command completed successfullyService:Services Summary...
Service "+ASM_XPT" has 1 instance(s).
  Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
Service "+asm" has 1 instance(s).
  Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
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
Service "TEST02XDB" has 1 instance(s).
  Instance "test02", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1002 state:ready
         DISPATCHER <machine: OOCL-DIRD, pid: 1472>
         (ADDRESS=(PROTOCOL=tcp)(HOST=oocl-dird)(PORT=1037))
Service "TEST02_XPT" has 1 instance(s).
  Instance "test02", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:11 refused:0 state:ready
         LOCAL SERVER
Service "test02" has 1 instance(s).
  Instance "test02", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:11 refused:0 state:ready
         LOCAL SERVER
Service "tntdb" has 1 instance(s).
  Instance "tntdb", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:8 refused:0 state:ready
         LOCAL SERVER
Service "tntdbXDB" has 1 instance(s).
  Instance "tntdb", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1002 state:ready
         DISPATCHER <machine: OOCL-DIRD, pid: 2364>
         (ADDRESS=(PROTOCOL=tcp)(HOST=oocl-dird)(PORT=1038))
Service "tntdb_XPT" has 1 instance(s).
  Instance "tntdb", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:8 refused:0 state:ready
         LOCAL SERVERMike

Similar Messages

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

  • 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 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/]

  • I recently did a "over the air" sync with my notes to my email account and when i did i didnt get back all my notes, could the other notes be in another location?

    i recently did a "over the air" sync with my notes to my email account and when i did i didnt get back all my notes, could the other notes be in another location?

    Go to Settings>iCloud and set up the iCloud account you were using before by singing in with the same Apple ID.  Then turn the data you were syncing with your iCloud account back to On, and if prompted, choose merge.

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

  • 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

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

  • Strange problem with ORA-12154 from only one client

    Hi all,
    I have a strange problem.
    I have three 11.2.0.1 databases on three different hosts.
    For simplicity lets say:
    Host1: database ovm1a
    Host2: database ovm7a
    Host3: database ovm8a
    I have a database schema in all three databases named EHJ. In all three databases, there are fixed user
    database links to the other databases. So EHJ in ovm1a has two links, one to ovm7a and one to ovm8a. The EHJ schema in ovm7a has two fixed user links to the EHJ schema in the ovm1a and ovm8a databases. And the same is true for the EHJ schema in the third database, ovm8a.
    If I log into the EHJ schema for each of the three databases, I can successfully select over the database links. I've been using the SQL statement: select count(*) from user_users@dblink_name;
    For each of the two links in each of the three databases, the query returns 1 so I know the database links are working properly and I have my networking setup properly.
    Now, here is the weirdness.
    I have an Oracle Application Server where our Oracle Forms and Reports run. The Oracle client on this install is 10.1.0.5. I've got a tnsnames.ora file setup on this Oracle App server to connect to all three databases ovm1a, ovm7a and ovm8a. I can successfully use the 10.2.0.5 client SQL*PLUS to connect to the EHJ schema in the ovms1, ovms7 and ovms8 databases.
    However, (and only when) connected to the ovm1a database from this client, attempts to select over the link throw the famous error: ORA-12154: TNS:could not resolve the connect identifier specified
    This error happens with both links in the ovm1a database when connected via this one client.
    BUT, if I connect using the same 10.1.0.5 client to the EHJ schema in the ovm7a or ovm8a databases, the database links in those two databases are working just fine.
    I'm pulling my hair out trying to figure this out.
    I've tried using SQL*PLUS from my desktop machine (10g R2 client) connecting to the EHJ schema on all three databases and the db links all work fine.
    Any help in trying to troubleshoot this would be greatly appreciated.
    Cheers

    JSebastian wrote:
    I have an Oracle Application Server where our Oracle Forms and Reports run. The Oracle client on this install is 10.1.0.5. I've got a tnsnames.ora file setup on this Oracle App server to connect to all three databases ovm1a, ovm7a and ovm8a.But the client (and tnsnames.ora) in question here is actually one (each) of the three databases, right? I.e. error is thrown by the db server, acting as client (db link side).
    >
    However, (and only when) connected to the ovm1a database from this client, attempts to select over the link throw the famous error: ORA-12154: TNS:could not resolve the connect identifier specified Connected how, as opposed to when you "successfully select..."?
    This error happens with both links in the ovm1a database when connected via this one client.Does Oracle config files on ovma1 host differ from the other two db hosts?
    Does
    SQL> select property_name,property_value from database_properties
      2  where property_name in ('GLOBAL_DB_NAME','NLS_RDBMS_VERSION');
    SQL> select owner,db_link,host from dba_db_links;return as expected on all three db's?
    I've tried using SQL*PLUS from my desktop machine (10g R2 client) connecting to the EHJ schema on all three databases and the db links all work fine.Make sure you are connecting to correct databases. (Simply, three tns aliases could all be pointing to the same database.)
    Edited by: orafad on May 25, 2011 11:24 PM

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

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

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

  • ORA- 12154 Error: while php connect to oracle?

    While I use OCILogon connect to Oracle9i,show error message as follow:
    Warning: ociopen_server: Error while trying to retrieve text for error ORA-12154 in /var/www/html/inc/sev.inc.php on line 57
    most of people think of its tnsname' problem,but I modify my tnsnames.ora,and sqlplus can connect with correct username and password.
    page source as follow:
    <?
    function db_connect()
    //putenv("ORACLE_SID=test");
    //putenv("NLS_LANG=SIMPLIFIED CHINESE.ZHS16CGB231280");
    putenv("ORACLE_HOME=/home/oracle/OraHome1");
    $connect = OCILogon("system","manager","test");
    if ($connect)
    return $connect;
    else
    return -1;
    ?>
    server Env: linux red hat 8.0,apache 2.0.44,php4.3.1,oracle9.2.0
    please! Thank in advance!

    Do you have more than ONE oracle homes created?
    Does your PATH env. variable correctly references the ORACLE_HOME directory?

  • 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

Maybe you are looking for