ORA-12154: TNS Error

Hi all,
I have a strange problem (for me) while getting connected to Oracle.
I can get connected to Oracle through SqlPlus window using
USER/PWD@HOST
But when i try to get connected through command prompt for importing
with the same connection details, I am getting the following
error message...
IMP-00058: ORACLE error 12154 encountered
ORA-12154: TNS:could not resolve the connect identifier specified
IMP-00000: Import terminated unsuccessfully
Please help me to solve this issue.
thanks.

check your environment variable
echo $ORACLE_SID is properly set or not....if it is correct then check your tnanames.ora entry wherer that entry is having your database details with the connect string you using to startup....
better to give more details as mohammad said...
Regards,
Karthik

Similar Messages

  • Oracle Forms 11g - ORA-12154: TNS error

    Okay, before I post my info, I searched and searched everywhere via Google, OTN, Experts-Exchange, etc...to try to figure this one out and I'm stumped. So here goes. I get the dreaded "*ORA-12154: TNS:could not resolve the connect identifier specified*" error. Here's my environment:
    Server: Red Hat Enterprise Linux 5 version runs the following:
    Oracle Database 11g (Rel 1): 11.2.0.10
    Oracle Fusion Middleware Forms Server 11g (Rel. 11.1.1.2.0)
    I can connect via SQL+ no problem
    Client: My Windows XP Professional PC.
    I can TNSPING the database SID no problem.
    I can connect via SQL+ no problem
    I can connect via TOAD to the db no problem
    I can connect to Oracle Enterprise Manager via the web interface no problem
    I do have 2 Oracle Homes (Oracle 8.0.6, Oracle 11.1.0.1) on my PC. Currently the current home is the 11g one. I do have my paths on my PC setup fine.
    The problem is when I try to run a sample form via the web I created, the login prompt comes up and I enter my username/password/database SID and that's when I get the error. Any clues as to what I should look for? Eventually this will be an app that all the users will be accessing and they shouldn't have to worry about having anything setup on their PCs.
    Thanks

    ashosheh wrote:
    Also keep in mind that tnsnames.ora file in forms 11g is under $ORACLE_INSTANCE/configBINGO!!!!!!!!!! We have a winner! Thank you so much "ashosheh". I looked and there WAS a tnsnames in the directory "Oracle/Middleware/asinst_1/config"....*BUT* it was a sample one. Meaning there was no entry just comments showing you a sample version of a TNS Names entry. So I copied my entry from another TNSNAMES and put it in there and voila...I was able to connect.
    Thank you very much. This was driving me nutz all of last week!
    Gio

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

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

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

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

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

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

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

  • ORA-12154: TNS:could not resolve the connect identifier specified Error in Integration Service Catalogs

    Hi guys,
    I tried to execute a package with Oracle Data Source from Integration Services Catalogs and I got the following error. 
    ORA-12154: TNS:could not resolve the connect identifier specified
    The package runs fine from the SSIS project but once I deploy to SSIS Catalog it fails to run. I need help!
    Thanks
    me

    Hello ,
    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;
    Ref :
    http://www.dba-oracle.com/t_ora_12154_tns_resolve_service_name.htm
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • ORA-12154 TNS resolve error with ProC

    <p>Hi all,
    <br>
    <p>
    I have a program written in ProC which works fine when it connects to a local database. However, it is unable to connect to a remote database. The code for making the connection is:
    <p>
    <i>
    EXEC SQL BEGIN DECLARE SECTION;<br>
    char name[20];<br>
    char pwd[20];<br>
    char dbname[20];<br>
    char dbstring[20];<br>
    EXEC SQL END DECLARE SECTION;<br>
    strcpy(name, "admin");<br>
    strcpy(pwd, "adminadmin");<br>
    strcpy(dbname, "userdb");<br>
    strcpy(dbstring, "userdb");<br>
    EXEC SQL WHENEVER SQLERROR DO printf( "Connection Error = %s", sqlca.sqlerrm.sqlerrmc);<br>
    EXEC SQL CONNECT :name IDENTIFIED BY :pwd AT :dbname USING :dbstring;<br>
    </i>
    <p>
    The content of fthe file tnsnames.ora:<br>
    <i>
    userdb =<br>
    (DESCRIPTION =<br>
    (ADDRESS_LIST =<br>
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.21)(PORT = 1521))<br>
    )<br>
    (CONNECT_DATA =<br>
    (SID = userdb)<br>
    )<br>
    )<br>
    </i>
    <p>
    I can "tnsping userdb" and "telnet 192.168.30.21 1521" but the program keeps generating the ORA-12154 connection error.
    The version of my oracle client is 9.2.0.1.0
    The version of the db server is 8.1.7
    Could any one give me some advice please. I had been searching for the solutions for days but failed. Please help. Thanks.

    <p>
    i do a file search "find / -name tnsnames.ora", here is the result:
    <p>
    /home/oracle/dbscript/database/tnsnames.ora<br>
    /u00/app/oracle/product/9.2.0.1.0/network/admin/samples/tnsnames.ora<br>
    /u00/app/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora<br>
    <p>
    the first one is not found in the path

  • 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

  • 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 Connection error from HFM to Oracle Database

    Hi,
    I am trying to configure Hyperion HFM but can write to HFM database.
    The implementation architecture:
    Hyperion 11.1.2.2 (with all the requiered patches for HFM, FDM, Shared Services, Workspace and Oracle Application Development)
    Server 1:
    Windows Server 2008 x64
    Installed products: Foundation (EPMA, CalcManager), BI, HFM web components and ADM driver
    Configured products: Foundation(EPMA, CalcManager), BI.
    Database Client: 11gR2 x64
    Server 2:
    Windows Server 2008 x64
    Installed products: HFM, FDQM
    Configured Products: FDQM, HFM
    Database Client: 11gR2 x32, 11gR2 x64 (x32 version installed first)
    Server 3:
    Database: Oracle 11.2.0.2
    All the products from server 1 are working fine, FDQM (server 2) is also working fine, but, when I try to do any action related with HFM database the system fails.
    I have tested the connection is these scenarios:
    1. SQLdeveloper: successfull!, I can create tables, views, etc. Double checking the user privileges it has all the required.
    2. tnsping: successfull!
    3. HFMApplicationCopy utility: Successfull using UDL file and writing the connection parameters.
    4. EPM System Configurator: the configurator successfully validates the database connection information, but does not create the tables on the database. No errors in the configtool log.
    5. EPM Diagnostic Tool: fails with this error message:
    ------------STARTING VALIDATION SCRIPTS----------
    LOGGING IN HFM....
    CREATING APPLICATION....
    ERROR: Unable to CreateApplicationCAS
    Number (dec) : -2147215936
    Number (hex) : &H800415C0
    Description  : <?xml version="1.0"?>
    +<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>1356</Line><Ver>11.1.2.2.300.3774</Ver><PSec><Param><server_name></Param></PSec></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>936</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>4096</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
    Source       : Hyperion.HFMErrorHandler.1
    ERROR: while Application created
    7. HFM Classic application creation: fails with the following error:
    Error*11*<user_name+>*10/19/2012 08:30:52*CHsxServer.cpp*Line 90*<?xml version="1.0"?>+
    +<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
    8. EPMA Application deployment: fails with same message.
    Please help me with some insights on this problem, I have tried everything but nothing works.
    Regards
    Edited by: Otein on 19-oct-2012 14:04

    Hi,
    I Have solved one of my problems, the one that keep HFM from connecting to the Oracle database.
    I just change the TNSNAMES.ORA, like this:
    Initial tnsnames.ora
    PRUEBA.WORLD=
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(LOAD_BALANACE = ON)+
    +(FAILOVER = ON)+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
    +)+
    +(CONNECT_DATA =+
    +(SERVICE_NAME = <service_name>)+
    +)+
    +)+
    +)+
    Modified tnsnames.ora
    PRUEBA.WORLD=
    +(DESCRIPTION =+
    +(LOAD_BALANACE = ON)+
    +(FAILOVER = ON)+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
    +)+
    +(CONNECT_DATA =+
    +(SERVICE_NAME = <service_name>)+
    +)+
    +)+
    I Just delete the line "+(DESCRIPTION_LIST =+" and its corresponding closing parenthesis, I did this cause in the configuration utility log I saw this line:
    +TNS parsing: Entry: DESCRIPTION_LIST [[Address: Protocol:(TCP) Host:(<server_name>) Port:(1521) SID:(<service_name>)]]+
    So, if the applications were trying to connect to connection descriptor DESCRIPTION_LIST, the driver could not recognize DESCRIPTION_LIST as a valid one.
    There is a lot going on behind the scenes when you work with Oracle Database as the repository, maybe there is some other way to address this issue, but it worked for me, hope it can help you too.

  • ORA-12154 connection error???

    Hi
    I have a "ORA-12154 TNS cannot resolve service name" error message. This occurs when i try to connect from a data connection wizard in MSWord for the purpose of a mail merge. I have checked the tnsnames.ora file and the SERVICE_NAME is the default XE, i type this as the server name into the connection wizard and receive the error message. Could the sqlnet.ora file have something to do with it? Is it actually technically possible to connect to XE from this wizard?
    Thanks for any feedback
    GC

    In XE, I think that heterogenous services are not supported!

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

  • 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

Maybe you are looking for