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

Hi friends,

I'm unable to resolve ORA-12154: TNS: could not resolve the connect identifier specified, error:

C:\Windows\System32 > sqlplus scott/tiger@ORADATA

SQL * more: Production release 11.2.0.1.0 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 = CIP)(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 February 2, 2014 13:53:37

Copyright (c) 1991, 2010, Oracle.  All rights reserved.

Connection 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 February 2, 2014 13:29:35

Uptime 0 days 0 h 24 min 6 sec

Draw level off

Security ON: OS Local Authentication

SNMP OFF

Listener parameter File G:\app\himanshu\product\11.2.0\dbhome_1\network\admin\listener.ora

G:\app\himanshu\diag\tnslsnr\himanshu-PC\listener\alert\log.XML log listener

Summary of endpoints listening...

(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = himanshu-PC)(PORT=1521)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

Summary of services...

Service 'ORADATA' has 2 occurrences.

Instance "ORADATA', status UNKNOWN, has 1 operation for this service...

Instance "oradata' READY State, has 1 operation for this service...

Service 'ORADATAXDB' has 1 instance (s).

Instance "oradata' READY State, has 1 operation for this service...

The command completed successfully

Kindly guide whats wrong with my setup.

You can remove your tnsnames.ora if he isn't there the other TNS inside. and use netmanager

http://docs.Oracle.com/CD/E11882_01/network.112/e41945/AdminTools.htm#NETAG216

Concerning

Tags: Oracle Applications

Similar Questions

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

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

    Hello

    I installed Oracle 11 g server in Windows 2008 and also installed customer DB 64 & 32 on the same server client.

    When I try to test the Oracle DB connection using the UDL file, I get the error message below. Please could you help me solve this problem.

    -Microsoft Data Link Error.

    Test connection failed because of an error initializing provider.

    [DBNETLIB] [ConnectionOpen(connect()) (Connect()).]

    SQL Server is not, or access is denied.

    --------------------------- OK  ---------------------------

    I have connected to SQL using sysdba and tried to connect to the schema. It is not connection and throwing below error.

    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I checked the TNSNAMES.ora file. Everything seems fine.

    Thank you

    Michel K

    Hello

    I see just a glance on the tnsnames file you are missing at least one sign =...

    You have

    ORCL

    (DESC...

    You should have

    ORCL =

    (DESC...

    There may be other issues too, but give that a try at first - you better run netmgr to allow oracle to create the file for you.

    See you soon,.

    Rich

  • OBIEE 11 g, ORA-12154: TNS: could not resolve the connect identifier

    HI forumer,

    I installed obiee 11g and I am trying to connect to oracle 11 g db installed on the same machine. I am able to create the DSN using the tnsnames.ora, but the same details used with obiee work not and fails with:

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

    Appreciate any help in this.

    Thank you

    This is a change in behavior when we have 10g and 11g. In BI EE 10 g, there was no Oracle Client delivered with BI EE. Thus, BI EE will use your Oracle DB client host to connect to the database. Usually not a problem in this case. But in BI EE 11 g, the software itself contains a client of 11.2 DB. Thus, when you try to connect to the database using the repository or the BI server, it will try to find the tnsnames entry in the customer Oracle of BI EE 11 g instead of your database. There are 2 options to work around this problem

    1. copy your tnsnames.ora {Oracle_BI1} \network\admin directory & {oracle_common} \network\admin directory (only the first is necessary because it is the ORACLE_HOME)

    2. or instead of the source tnsnames.ora entry, use the full expanded tnsnames as shown below

    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.66.173)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))

    Both of the above will work.

    Ref: Re: unable to connect to the database of the OBIEE 11g improved SPR
    Courtesy of - Vincent.

    Thank you
    Oldia...

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

    Hello

    I am not able to connect to the database using sqlplus, using following command:

    sqlplus activites@OCA010

    I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.

    I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."

    I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.

    Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.

    content of the tnsnames.ora file is as follows

    tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    COMPIX =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    BC =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = BC)

    )

    )

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    OCA01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = OCA01)

    )

    )

    OCA010 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    Thanks in advance.

    2931143 wrote:

    Hi EdStevens,

    I used option TNS with Alias network as 'OCA010' in Sql Developer.

    I checked in tnsping and tnsnames.ora directory is correct.

    Please find below the exit of tnsping:

    C:\Users\LUCKY>tnsping OCA010

    AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora

    AMT-03505: failed to resolve the name

    Have you worked from the link I provided?  (I don't think you have time to do).

    It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere.  In some versions of the oracle, he might be sensitive to spaces vs. tabs.  If in doubt, netca to add entries, rather than doing it by hand.

  • DB Link error: ORA-12154: TNS: could not resolve the connect identifier specified

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    2925917 wrote:

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    I've learned to trust in your obfuscation you covered something important, or you are showing some apples and oranges.  Error to declare you come from not being able to find referenced in tnsnames.ora entry, but the way you say you created your link db, you hardcoded the entire connection, so he never users tnsnames.ora.

    I would change the definition of db_link

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using "REM."

    Then create an entry in your tnsnames.ora

    REM =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )

    )

    Also, use server name instead of the HOST = IP address

    The closer looks that you can miss brackets final closing on your original definition.

  • "ORA-12154: TNS: could not resolve the connect identifier specified" error executing the execution in CAD Plan.

    Hi friends,

    We do face-down question when executing the execution Plan in DAC for full charge. We are working on the project of modernization of the OBI Applications and my client has worked on this environment is a few days. Before this, they load to the source 'EBSTST' instance and now changed data for instance 'EBSWKLY '. We have changed the details of connection under the tab 'Physical Data Sources' DAC. Test the connection Source and target are good. We have added input TNS of EBSWKLY in the path: u01/app/oracle/oracle11g/product/11.2.0/client_1/network/admin.

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

    Database driver error...

    Function name: connect

    [The database error: could not connect to the database using the [apps] user and the connection string [EBSWKLY].].

    Please suggest me if I m done mistake anywhere...

    Thanks in advance.

    Raghu Jen7782

    I was saying about the environment variables defined by you on the server of informatica/dac under the .profile or .bash_profile as below:

    TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN

    ORACLE_BASE = / home/oracle/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/; Export ORACLE_HOME

    ORACLE_SID = InstanceName; export ORACLE_SID

    Path = $PATH: / usr/sbin: $ORACLE_HOME/bin. export PATH

    LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    Here are some examples I mentioned everything. You can set them in the user profile from which you installed the server informatica/dac.

    If it is a CAR Forum, try to set the value of the instance-specific SID for example: orcl11 or orcl12 or orcl13... try to connect to each instance. Sometimes the general SID does not recognize configuration

  • ORA-12154: TNS: could not resolve the connect identifier specified in 11g R2

    Hello

    Recently we changed the name of our Linux server, after chanding hostname, I made changes in tnsnames.ora and listener.ora and also local_listener at the database level.

    When I am trying to connect database of his failure with the error.

    [orawiz@wizapp admin] $ sqlplus system/oracle@WIZ

    SQL * more: Production of release 11.2.0.1.0 LUN 20 16:57:58 Feb 2012

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

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


    Here's my entires of tns.

    [orawiz@wizapp admin] $ cat tnsnames.ora
    tnsnames.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wiz)
    )
    )

    #wiz = (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = wiz)
    # )
    # )

    [orawiz@wizapp admin] $ cat listener.ora
    listener.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    WIZ =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    )
    )

    #SID_LIST_LISTENER =
    # (SID_LIST =
    # (SID_DESC =
    # (SID_NAME = wiz)
    # (GLOBAL_DBNAME = wiz)
    # (ORACLE_HOME = wiz_app/wiz/oracle/product/11.2.0/db_1)
    # )
    # )


    ADR_BASE_LISTENER = / wiz_app/wiz/oracle

    [orawiz@wizapp admin] $ cat sqlnet.ora
    sqlnet.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / wiz_app/wiz/oracle


    tnsping also default.

    [orawiz@wizapp admin] tnsping wiz $

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 20 February 2012 17:03:16

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /wiz_app/Wiz/Oracle/product/11.2.0/Db_1/network/admin/SQLNET.ora

    AMT-03505: failed to resolve the name
    [orawiz@wizapp admin] $

    Nothing to with listener.ora file with ORA-12154.
    If the listener does not not or the status is not ready then it's listener.ora.

    Below add entries in your file tnsnames.ora and post $tnsping wiz

    WIZ =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.172.20.236)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = wiz.)
        )
      )
    

    Publish your file sqlnet.ora

    Published by: CKPT on 20 February 2012 17:28

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

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 17001] Oracle error code: 12154, message: ORA-12154: TNS: could not resolve the connect identifier specified in the call to the OIC OCIServerAttach. [nQSError: 17014] Cannot connect to the Oracle database. (HY000)


    (1) I have TNS entries under MW_HOME/OracleBI/network/admin
    (2) TNSPING works fine.
    (3) source updated JDBC in place on the side WLS...


    What should I do?

    Show complete exception stack trace. This does not seem to relate to WebLogic. The WebLogic console
    view running data source? In fact you use WebLogic DataSource?

  • DB Link error: ORA-12154: TNS: could not resolve the connect identifier...

    All,

    Help, please. I get the error above despite all I know to do:

    tnsnames.ora entry for the remote database (it is what is on the local database):

    ORACLE6. STAGING =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle6.staging.hobank.net) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = banksys))
    )


    The following works without problems of local database to a remote database:

    On the local database:

    sqlplus kay/[email protected]
    ...
    ...

    Connected to:
    Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options

    SQL > select * from emp;

    EMPNO, ENAME, JOB HIREDATE SAL COMM MGR
    ---------- ---------- --------- ---------- --------- ---------- ----------
    DEPTNO
    ----------
    2 Kay Baffy DBA 1 6 November 10 50000.25
    2

    * These data are correct and comes from the remote database *.

    Next, I created the database link that is connected to the local database:

    create the database public link oracle6.staging
    connect to identified by kay kay
    using 'oracle6.staging ';

    Database link created.

    !!! But the following does not work:

    SQL > select * from [email protected];
    Select * from [email protected]
    *
    ERROR on line 1:
    ORA-12154: TNS: could not resolve the connect identifier specified


    I am sure of the following:

    1 DB link has been created on the local database.
    2 oracle6.staging entry is tnsnames.ora
    3. I am able to connect to a remote database with: sqlplus kay/[email protected]

    * Any help will be be appreciated.* *.

    Thanks in advance.

    Baffy

    See the link:-hope, it will be useful for you.

    Troubleshooting of database links
    http://www.akadia.com/services/ora_dblinks.html

    Kind regards

  • ORA-12154: TNS: could not resolve the connect identifier specifier (XE)

    Hello

    «I installed on my laptop with win 7 Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Microsoft Windows, but when I tried to connect with Toad for Oracle Freeware 10.6 I get the following error ' ORA-12154: TNS: could not resolve the connect identifier specifier (XE)» I read on the forum that the problem comes from the wrong configuration of the AMT.
    This is rhe tnsping respons
    "C:\Users\Sergiu > tnsping XE.

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-NOV-2
    010 15:20:10

    Copyright (c) 1997, 2005, Oracle. All rights reserved.

    Use settings files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC) (p)
    (ORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = XE)))
    OK (0 msec)
    "
    EARPHONE
    "
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC)(PORT = 1521))
    )
    )

    DEFAULT_SERVICE_LISTENER = (XE)
    "

    SQLNET

    "
    # This file is actually generated by netca. But if customers can opt for
    # install 'Software Only', this file does not exist and without the native
    authentication #, they will not be able to connect to the database on NT.

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    "

    TNSNAME
    "
    XE =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = Sergiu-PC)
    (PORT = 1521)
    )
    (CONNECT_DATA =
    (SERVER = dedicated)
    (SERVICE_NAME = XE)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC_FOR_XE)
    )
    (CONNECT_DATA =
    (PRESENTATION = RO)
    (SID = PLSExtProc)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC_FOR_XE)
    )
    (CONNECT_DATA =
    (PRESENTATION = RO)
    (SID = CLRExtProc)
    )
    )

    "

    Can someone tell me what is the problem?

    Best regards

    It can be caused by the location of the TOAD software. The have you installed under "Program Files (x 86)? If Yes, then try to reinstall in a different directory, media in the path name can cause problems.

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

    Greetings

    There are a lot of topics about this problem on the internet, but none of them deal with this issue properly, so I couldn't find a solution to the problem.

    I installed: Oracle Database 10 g Express Edition

    After that the installation was done, I opened the SQL command line
    and I used the command "connect" to connect
    I enter username
    Then I entered the password

    After a few 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 Windows XP 32 bit and Windows 7 32 bit and I get the same error message when it tries to connect.

    Why Oracle does not immediately after installation?
    Are there other measures that need to be accomplished in order to make this work? If so I'd appreciate any help step by step, I was stuck trying to find a solution for days.

    Published by: user10192105 on August 22, 2010 19:34

    >
    I was able to connect using the above command, but I would like to know why can't connect using a user name and password? I still cannot connect using a user name and password even after the environment variable.
    >

    The problem is that the normal user accounts are either locked, you use is maybe not the right password or they may not have the necessary privileges to establish a session (there are a number of reasons).

    Since you are in the console database, you don't need the environment variable set. SQL * Plus Gets the location of your database in the registry.

    Make the alter statement that I posted earlier for a user which you know that there is and we'll take it from there.

    John.

  • ORA-12154 TNS: could not resolve service name

    Hi all

    I cloned an Oracle Apps 11.5.10.2 instance on a new server and coompleted it successfully. I could connect to the applications and submit queries with success. But when I try to connect to the database using SQLPLUS or TOAD, I get an "ORA-12154 TNS: could not resolve service name" error. I have the tnsentry for this database in tnsnames.ora on my PC. the entry is as below:

    QA11I. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (Port = 1561))(Host = amcdev0004.xxx.com))
    )
    (CONNECT_DATA = (SID = qa11i) ORACLE_HOME = qa11i/app/qa11iora/9.2) (SERVER = DEDICATED))
    )

    TNSPING does not work. I have tried other servers as well but does not work. Please notify.

    Thank you.

    Hello

    A parenthesis is missing in the tnsnames.ora to your first post (just to the left of the ORACLE_HOME).

    For your listener.ora on the next post I did not notice a missing parenthesis.

    Best regards
    Jean Valentine

  • ORA-12154: TNS: could not resolve the connect through TOAD VAT registration

    Hello

    I want to configure the TOAD to connect to servers on my place of work.

    I installed on my laptop desktop

    Toad for Oracle 9.7
    Oracle client 10g Express edition

    I am able to connect to the server to other servers in the office at the level of the unix.

    But I get this error message.

    Oracle (from the server to access) version: 11 GR 1 material



    See you soon,.
    Malika

    Hello
    It is not related to Toad, check the TNS entry in your TNSNAMES.ora & make sure what is it pointing to the appropriate service name.

    Error: ORA-12154 / TNS-12154
    Text: TNS: could not resolve service name
    -------------------------------------------------------------------------------
    Cause: The specified service name is not defined correctly in the
    TNSNAMES. ORA file.
    Action: Perform the following checks and fix the error:
    -Check that a TNSNAMES file. ORA file exists and is in good
    Place and accessible. Refer to the specific manual of operating system
    For more information on the location and the name required.
    -Check that the name of the service exist in one of the
    TNSNAMES. ORA file and add if necessary.
    -Make sure that there are no errors of syntax anywhere in the file.
    Search for unmatched parentheses or stray characters.
    Any error in a TNSNAMES file. ORA file makes it unusable. See
    Chapter 4 in the SQL * Net V2 Administrator's Guide. If
    possible, regenerate the configuration using the Oracle files
    Network Manager.

  • New installation of XE 11 G SQL more ORA-12154: TNS: could not resolve the connect identifier

    Hello

    Just do a fresh install on a Windows 2008 (32 bit) "vrigin" XE 11 G.  Everything seems to work properly can access through the front-end web, connect to Apex etc.

    I want to upgrade from the Apex to the latest version if you need to run SQLPlus scripts... Impossible to connect, get the error message in the title.

    Have done exactly the same setup and procedure on the computer laptop Windows 7 and Windows 2008 (64-bit server) without problem... no idea why this would be different?

    OK solved this... Windows problem, but I don't know what.  Automatic updates were turns off so decided to let the server itself up-to-date patch while watching in this... one of the patches installed seems to fix the problem, which I do not know if.

Maybe you are looking for

  • Firefox does not as well as before

    I have version 14.0.1 Since this is the last update, I had these problems. When I sit at the computer, I click on link firefox and I get that the "error, try again" screen. The one you get if you don't have an internet connection. And Yes, all intern

  • 23PC Pavilion: Pavilion 23

    Have a message that indicates a component of the operating system has expired.  With the error code 0xc0000605 and request recovery tools, which I have not where can I get them?

  • T420i memory expansion

    Hello community, I would like to extend the RAM of 4 GB to 16 GB - crucial.com told me that two modules can be installed. Now, I opened the memory cover, and unfortunately there is only a single slot. Where is the other? Thank you in advance. Best re

  • Re-installed Windows XP on another hard drive after corruption and cannot access a folder "access denied."

    Windows XP has become corrupted, so I installed XP on another drive and two drives installed in my computer.  I can access all files, except for one. I get the error "F:\My Documents\Temp is not accessible access is denied."  Does anyone have an idea

  • Framework to Support HP crashes

    Here is the error information. Maybe someone can give me an overview of the problem. HP Pavilion dv7 running Windows 8 with Media Center 64-Bit. Log name: Hewlett-PackardSource: HPSF.exeDate: 24/11/2012-13:08:21Event ID: 2000Task category: noLevel: e