Unable to resolve ORA-12154: TNS:could not resolve the connect identifier specified

Hi Friends,
I am unable to resolve ORA-12154: TNS:could not resolve the connect identifier specified, error:
C:\Windows\system32>sqlplus scott/tiger@ORADATA
SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 2 13:46:10 2014
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
SQL> select database_name from v$database;
DATABASE_NAME
ORADATA
SQL> select instance_name from v$instance;
INSTANCE_NAME
oradata
tnsnames.ora
============
ORADATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521))
    (CONNECT_DATA =
(SERVICE_NAME = oradata)
  (SERVER = DEDICATED)
listener.ora
=========
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = himanshu-PC)(PORT = 1521))
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = ORADATA)
      (ORACLE_HOME = G:\app\himanshu\product\11.2.0\dbhome_1)
      (SID_NAME = oradata)
sqlnet.ora
========
SQLNET.AUTHENTICATION_SERVICES = (NTS)
C:\Windows\system32>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-FEB-2014 13:53:37
Copyright (c) 1991, 2010, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start Date                02-FEB-2014 13:29:35
Uptime                    0 days 0 hr. 24 min. 6 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   G:\app\himanshu\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File         g:\app\himanshu\diag\tnslsnr\himanshu-PC\listener\alert\log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=himanshu-PC)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "ORADATA" has 2 instance(s).
  Instance "ORADATA", status UNKNOWN, has 1 handler(s) for this service...
  Instance "oradata", status READY, has 1 handler(s) for this service...
Service "ORADATAXDB" has 1 instance(s).
  Instance "oradata", status READY, has 1 handler(s) for this service...
The command completed successfully
Kindly guide whats wrong with my configuration.

ORADATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL=TCP)(HOST=himanshu-PC)(PORT=1521))
    (CONNECT_DATA =
(SERVICE_NAME = oradata)
  (SERVER = DEDICATED)
Try editing the tnsnames.ora file to check there is any junk characters around the tns entry(shown in RED) and then try pining the tns from CMD as
tnsping ORADATA.

Similar Messages

  • DNS Set Up system throw as ORA-12154; TNS :could not resolve the connect id

    Hi,
    While i'm creating DNS set up system throws below message
    unable to connect
    SQLState=08004
    DNS Set Up for instantclient(win32-10.2.0.4) system throw as ORA-12154; TNS :could not resolve the connect identified specified.
    operationg system:xp
    dir path:C:\Oracle\instantclient10_2
    TNSNAMES.ORA(C:\Oracle\instantclient10_2\NetWork\ADMIN) Contants
    YourTNSName =sankar
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT =1521))
    (CONNECT_DATA =
    (SID =sankar)
    (SERVER = DEDICATED)
    dir contains:
    sqresus.dll,
    sqresja.dll
    sqoras32.dll
    sqora32.dll
    oraociei10.dll
    oraocci10.dll
    orannzsbb10.dll
    ojdbc14.jar
    ocijdbc10.dll
    ociw32.dll
    oci.dll
    classes12.jar

    user7197586 wrote:
    Hi
    I have been created one DBLink it's created but when i am trying to access the data through the link it's raise error as
    "ORA-12154: TNS:could not resolve the connect identifier specified"
    CREATE
    PUBLIC DATABASE LINK
    Vrd_tcplink
    CONNECT TO
    "SAPVRD"
    IDENTIFIED BY
    "manager123"
    USING
    'VRD_TCP.WORLD'
    created this above dblink
    Kindly Suggest to wau out.
    Regards,
    Sachin
    When using a dblink, the database with the link is acting as a client to the remote database ... exactly like sqlplus running on the db server.
    read: http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ ora-12154tns-03505

  • BO 4.0 Repository diagnostic tool-ora 12154.TNS could not resolve the connect identifier specified

    Hi All,
    I'm trying to run RDT on BO 4.0 using the following command on <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\win64_x64:
    reposcan.exe -dbdriver oracledatabasesubsystem -connect "UID=ceprod;PWD=ceprod;DSN=dsnname;HOSTNAME=ip of db server;PORT=1521" -dbkey [[XXXXXXX]] -inputfrsdir "\\share\FileStore\FileStore\Input" -outputfrsdir "\\Share\FileStore\FileStore\Output"
    I cannot be able to run the RDT as I get the following error:Business Objects Enterprise CMS:Unable to connect to the CMS system database DSN:dbserver ip:1521.Reason ORA 12154.TNS could not resolve the connect identifier specified
    I have created DSN for oracle db using 32 bit and 64 bit ODBC drivers. I can connect from this system to the database using the client tools.
    Also this is a clustered cms and do I need to use any other parameters here?
    regards,
    Sridhar

    Hi,
    Check if you have two different oracle directories listed in system variable path.
    e.g.:
    D:\oracle\product\11.2.0\client_1\bin;C:\Program Files\oracle\product\11.2.0\client_1\bin
    If this is the case, you have two different tnsnames.ora files.
    Then sometimes the first one is used and sometimes the second.
    If they don't contain the same info, you get these issues.
    Delete one of the paths in the system variable or synchronize the tnsname.ora files to get rid of that.
    Regards
    Moritz

  • ORA-12154 TNS could not resolve service name error

    Hi
    I'm having trouble connecting to database throug sql*plus.I'm able to connect through TOAD but getting 'ORA-12154 TNS could not resolve service name error' when trying to login through sql*plus using same credentials .
    I tried running sqlplus through command prompt,but when i enter the user-name i'm getting ORA-12203:TNS:unable to connect to destination.
    Can someone help me with this error.
    Thanks.

    It would probably give you an idea where to start looking. You need to make sure that you have the correct .ora files needed for establishing connections. I don't know if your service desk just does the installation but no setup or if they also do the setup configuration. You can also try doing the setup on your own to check. You can use net easy config.

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

    Helo
    I face this error when i tried to connect to the database.
    i have been installed 11g database on machine with database name 'hrall'
    But when i tried to connect to the database it's shows me error "ora-12154:TNS:Could not resolve the connect identifier specified"
    when i put the old database entry an that machine and try ti connect it's connect Successfully.
    Kindly Suggest
    Regards,
    Sachin

    Hi Error not solved yet
    i am giving you my system details as follow -
    OS Name :     Microsoft(R) Windows(R) Server 2003 Standard x64 Edition
    System Type: x64-based PC
    My tnsentry also right
    posted as follow -
    HRALL.voltasworld.com =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ps-win-hrall.voltasworld.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = hrall)
    listener.ora file
    # listener.ora Network Configuration File: F:\app\dbadmin\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = F:\app\dbadmin\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:F:\app\dbadmin\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ps-win-hrall.voltasworld.com)(PORT = 1521))
    ADR_BASE_LISTENER = F:\app\dbadmin
    Kindly Suggest
    Regards
    Sachin

  • ORA-12154: TNS:could not resolve the connect identifier specified [10g XE]

    Greetings
    There are many topics on this issue over the internet but None of them addresses this issue properly, so I couldn't find a solution to the problem.
    I installed: Oracle Database 10g Express Edition
    After the installation was done, I opened SQL Command Line
    and I used the command "connect" to login
    I enter the username
    Then I entered the password
    After a couple of seconds I got the following ERROR message:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Screenshot of the error:
    http://i35.tinypic.com/14o26g7.png
    I installed this version of Oracle on both Windows XP 32 bit and Windows 7 32 bit and I get the same error message when it tries to connect.
    Why doesn't Oracle work right after the installation?
    Are there any further steps that need to be done in order to make this work? If so I would really appreciate any step by step help, I've been stuck trying to find a solution for days.
    Edited by: user10192105 on Aug 22, 2010 7:34 PM

    >
    I wento to CMD, then I entered sqlplus / as sysdba and that just opened the SQL*Plus program in CMD (SQL>)
    But nevertheless I still need to login with a user name and password which and I tried and I got the same error message.
    >
    We're making progress, you'll be logging in soon....
    Get into SQL*Plus with the command I gave you, now type this:
    alter user <theusernameyouwant> identified by abc123;followed by (still in SQL*Plus):
    connectafter you type "connect", SQL*Plus will ask you for a user name and password. Use the same user name and password you used in the alter command.
    HTH,
    John.

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

  • Fundamental Problem: ORA-12154: TNS:could not resolve service name

    Hello,
    I am faced with a fundamental problem:
    ORA-12154: TNS:could not resolve service name
    I can say with a high level of confidence that the TNSNAMES.ora configuration file is not the problem. My peer is using the exact same file with no issues. I am using the TOAD database utility to connect to the db host. Also, I have ORACLE_HOME defined and the file is located in /network/ADMIN.
    Any ideas?

    Hello,
    Make sure your toad looking into right tnsnames.ora; also try this from command line after adding following entry to your tnsnames.ora.
    sqlplus username/password@ECDEV
    ECDEV =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (PROTOCOL = TCP)
            (HOST = rscdd01)  --> you can try ipaddress of your server name as well
            (PORT = 1521)
        (SDU = 8192)
        (CONNECT_DATA =
          (SERVICE_NAME =ECDEV)
          (INSTANCE_NAME=ECDEV)
      )Edited by: OrionNet on Dec 23, 2008 2:22 PM

  • MSDAORA,IIS,ORA-12154: TNS:could not resolve service name

    Hi All,
    I have a Web Service that coded in VS2008, using ORACLE DB(9i).
    At a time the application working fine and I can access and do everything with database.
    Some other time database server is down for scheduled maintenance. If I try to run the application at this point of time it will raise err "ORA-12154: TNS:could not resolve service name".
    When i reset iis it start to work fine for a while.Then same problem occurs again.
    My connection string is connectionString="provider=MSDAORA.1;data source=***;user id=***;password=***;"
    is there any solution?
    i tried that;
    If theire is multiple copies of OCIW32.dll you have to make sure that there is only one copy of OCIW32.dll which should be in /Bin folder of the oracle home folder.
    Add the IUSR_machine name account and the IWAM_machine name account to the Oracle home folder. Give both accounts full control.
    Create empty file tnsnames.ora in same directory as aspnet_wp.exe,

    Hi,
    The issue doesnt make much sense on the surface at least. 12154 means the client couldnt figure out what you were referring to with your Data Source= entry. If the database was taken down, I'd expect an "oracle not available" or some other sort of error, as the client should have still be able to resolve the entry at least, even if the database wasnt up at the time.
    What do you mean by "When i reset iis it start to work fine for a while.Then same problem occurs again."? The same problem meaning you get 12154 when you take the database down? Or you get 12154 without a db restart?
    Are you using TNSNames.ora for client naming resolution, or something else (ldap, for example)?
    Greg

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

    I am simply trying to move a site from a Windows 2003 32bit server to a Windows 2008 R2 64-bit. The database was on and is remaining on the 2008 server. Trying to run the new site results in:
    ORA-12154: TNS:could not resolve the connect identifier
    This error pops up more than a few times in the forums but do not seem unique to my situation where I know the connection string works fine from another server. Any insights?

    Working
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\>SET
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\Cherie.Jarvis\Application Data
    ARCGISHOME=D:\Program Files\ArcGIS\
    CLIENTNAME=ZEKIAH-PC463
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    COMPUTERNAME=CFLGIS1
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\Cherie.Jarvis
    LOGONSERVER=\\BATMAN
    NUMBER_OF_PROCESSORS=4
    ORACLE_HOME=D:\Ora11g\Administrator\product\11.1.0\db_1
    OS=Windows_NT
    Path=D:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin;D:\Ora11g\Administrator\produc
    t\11.1.0\db_1\bin;D:\Ora11g\Administrator\product\11.1.0\db_1;D:\Ora11g_Client32
    \product\11.1.0\client_3;D:\Ora11g_Client32\product\11.1.0\client_3\bin;C:\WINDO
    WS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Microsoft
    SQL Server\90\Tools\binn\;C:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=EM64T Family 6 Model 23 Stepping 10, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=170a
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    PROMPT=$P$G
    PYTHONPATH=D:\Program Files\ArcGIS\bin
    SDEFORCEXDR=1
    SDEHOME=C:\Program Files\ArcGIS\ArcSDE\ora11gexe\
    SESSIONNAME=RDP-Tcp#461
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\CHERIE~1.JAR\LOCALS~1\Temp\1
    TMP=C:\DOCUME~1\CHERIE~1.JAR\LOCALS~1\Temp\1
    TNS_ADMIN=D:\Ora11g\Administrator\product\11.1.0\db_1\NETWORK\ADMIN
    USERDNSDOMAIN=CFLHD.LOCAL
    USERDOMAIN=CFLHD
    USERNAME=Cherie.Jarvis
    USERPROFILE=C:\Documents and Settings\Cherie.Jarvis
    VS90COMNTOOLS=D:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\
    windir=C:\WINDOWS
    C:\Documents and Settings\Cherie.Jarvis>
    Not Working
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:>set
    AGSSERVERJAVA=C:\Program Files (x86)\ArcGIS\Server10.0\
    ALLUSERSPROFILE=C:\ProgramData
    ANT_HOME=D:\Software\apache-ant-1.8.1
    APPDATA=C:\Users\cherie.jarvis\AppData\Roaming
    CLIENTNAME=ZEKIAH-PC463
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=CFLGIS2
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\cherie.jarvis
    JAVA_HOME=D:\Program Files\Java\jdk1.6.0_22
    LOCALAPPDATA=C:\Users\cherie.jarvis\AppData\Local
    LOGONSERVER=\\BATMAN
    NUMBER_OF_PROCESSORS=16
    ORACLE_HOME=D:\ORA11G\Administrator\product\11.1.0\db_1
    OS=Windows_NT
    Path=D:\app\Zekiah\product\11.1.0\client_2;D:\app\Zekiah\product\11.1.0\client_2
    \bin;D:\Program Files (x86)\PHP\;D:\Ora11g_Client32\product\11.1.0\client_1\bin;
    D:\Ora11g\administrator\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C
    :\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program F
    iles\ArcGIS\ArcSDE\ora11gexe\bin;D:\Program Files (x86)\MySQL\MySQL Server 5.1\b
    in;D:\Program Files\Java\jdk1.6.0_22\bin;D:\Software\apache-ant-1.8.1\bin;D:\Pro
    gram Files\TortoiseSVN\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PHPRC=D:\Program Files (x86)\PHP\
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=2c02
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SDEHOME=D:\Program Files\ArcGIS\ArcSDE\ora11gexe\
    SESSIONNAME=RDP-Tcp#0
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\CHERIE~1.JAR\AppData\Local\Temp\2
    TMP=C:\Users\CHERIE~1.JAR\AppData\Local\Temp\2
    USERDNSDOMAIN=CFLHD.LOCAL
    USERDOMAIN=CFLHD
    USERNAME=Cherie.Jarvis
    USERPROFILE=C:\Users\cherie.jarvis
    VISUALSVN_SERVER=D:\Program Files (x86)\VisualSVN Server\
    windir=C:\Windows

  • ORA-12154: TNS:Could not resolve service name. (WIS 10901).

    HI Gurus, we have the following scenario...
    Weu2019ve installed Busines Objects EDGE 3.1 SP3.
    The server of this installation is MS Windows Server 2003 Enterprise Edition SP2, Intel ® Xeon Enterprise TM CPU 2.80 GHz 6.5 RAM.
    In the Server we have SAP R/3 Installed over a DB Oracle 9i Enterprise Edition Release 9.2.8.0.
    We installed all BO bundle with successful and we can use the Designer Tool for create universe. In the creation of the universe, we created a connection to the database of the SAP R/3 System and the test runs well, we save and export the universe to CMS. Then, we used that universe in the WebI tool of the suite installed in the server, and it runs well (we call the universe, selected fields of the table, and after run the query, it gives us registers of the DB).
    After all this, we open the InfoView and used the WebI and execute the same universe and the same steps. And when we execute the query the following error occurs .
    A database error occured. The database error text is: ORA-12154: TNS:Could not resolve service name. (WIS 10901)
    The connection to DB is through Designer and we use ODBC Oracle to create the Universe with the Client type and we used super user system, validated previously OK.
    Any suggestion for this error?.
    Thanks.
    Betto.
    Edited by: Alberto Magaña Chávez on Jul 9, 2011 7:44 PM

    Make sure there are no syntax errors in the TNSNAMES.ORA file, look for unmatched parentheses. Also check the SQLNET.ORA file.
    Is the environment is clustered, if so then make sure you have the ODBC connection in all the servers.

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

    I'm having a slight issue with Oracle 11 R2
    Oracle 10g was removed from the machine - The registry was cleared and I couldn't see anything of 10g left.
    I then installed Oracle 11 with just the software only, and then created a listener.
    Using the Database Configuration Assistant, I tried to add a database but I get the error:
    'ORA-12154: TNS:could not resolve the connect identifier specified'
    The TNS_ADMIN is set to: \\ravel\tnsnames and I can connect to other instances around the company.
    My tnsnames entry is:
    GMAN_1120.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gman)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ora112)
    If i start the listener i get:
    TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Log messages written to d:\oracle\diag\tnslsnr\gman\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gman)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 03-AUG-2011 10:34:28
    Uptime 0 days 0 hr. 0 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File d:\oracle\diag\tnslsnr\gman\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gman)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "ora112" has 1 instance(s).
    Instance "ora112", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Can anyone spot what may have gone wrong? I've setup 10g multiple times and never had a problem

    I can tnsping my machine using another machine:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = gman)(PORT = 1521))) (CONNECT_DATA = (SERVIC
    E_NAME = ora112)))
    OK (30 msec)
    My listener.ora file is:
    # listener.ora Network Configuration File: D:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC=
    (GLOBAL_DBNAME=ora112)
    (ORACLE_HOME=D:\oracle\product\11.2.0\dbhome_1)
    (SID_NAME=ora112)
    )

  • 08004:[oracle][odbc][ora]ora-12154: TNS: could not resolve the connect ....

    This error has just recently started happening, and i cannot figure out why, i have not changed anything in tnsnames.ora file.
    i am always able to "test connection" in ODBC. even when i get the error in crystal.
    so i restart Crystal, and i am able to connect to db.
    strange thing is that always when i do a tnsping to db i always get the message :-
    TNS-12541: TNS:no listener
    Any ideas ?

    Re: 08004:[oracle][odbc][ora]ora-12154: TNS: could not resolve the connect ....  
    Posted: Aug 22, 2011 5:56 PM     in response to: John Fleming          
         Edit                          Reply
    I am receiving a similar error.
    Failed to open the connection.
    Details: 08004:[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified [Database Vendor Code: 12154]
    I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
    I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
    Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
    Thank you for your time.

  • URGENT ::  ORA-12154: TNS:could not resolve service name

    Hi All,
    I am connecting to the db using oracle thin driver in java. I am invoking a SOAP call and after getting the response, i am inserting the response(gen. a pdf file) into my DB. I am using a static connection. I have to insert 130 pdf's in DB. After processing 120 pdf's, the following error has occurred,
    ERROR DBUtil - ORA-12154: TNS:could not resolve service name
    java.lang.NullPointerException
         at com.elsevier.cds.ew.DBUtil.insertPDF(Compiled Code)
         at com.elsevier.cds.ew.GenerateSoapRequest.generateSOAPCall(Compiled Code)
         at com.elsevier.cds.ew.EOffprintLoad.processPDFFiles1(Compiled Code)
         at com.elsevier.cds.ew.EOffprintLoad.init1(Compiled Code)
         at com.elsevier.cds.ew.EOffprintLoad.<init>(EOffprintLoad.java:138)
         at com.elsevier.cds.ew.EOffprintLoad.main(EOffprintLoad.java:987)
    ERROR GenerateSoapRequest -
    ERROR DBUtil - ORA-12154: TNS:could not resolve service name.
    The checked the oracle listener status. It was UP.
    Can anyone help me in this issue.
    Thanks,
    Rag

    Hello,
    Make sure that the service which you have specified in jdbc for making connection with oracle, exists in TNSNAMES.ORA file. You will find this file at different locations in 8i and above. So, better search for it. And add you service name in it. Example services is given in this file itself. So, take help from them.

Maybe you are looking for