ORA-12154 for sqlplus username/password@TNS but tns ping works and sqlplus username@TNS works.

Hello-

I am facing the following question when I try to connect by using the command prompt sqlplus for Oracle 11.2.0.3 DB installed and running on HP - UX.

The password is not all special characters & I also tried with the double quotes which did not work.

Following want to work with username/password@TNSNAME because I'm trying to get my application to connect to the database, the schema mentioned because it uses the jdbc connection with the connection as (username/password@TNS:1521) string.

C:\Users>sqlplus username/Pa55w0rd@DBNAME;


SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:21:43 2016


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


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




Enter user-name:
C:\Users>tnsping DBNAME


TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
016 07:21:57


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


Used parameter files:
C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora




Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DBNAME)))
OK (50 msec)


C:\Users>sqlplus username@DBNAME


SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:22:05 2016


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


Enter password:


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options


SQL> show user
USER is "username"
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options


C:\Users>


































content content of tnsnames.ora & sqlnet.ora:

DBNAME =
(DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain)  (PORT = 1521))
    (CONNECT_DATA =
        (SERVER = DEDICATED)
        (SERVICE_NAME = DBNAME)
    )
)

# sqlnet.ora Network Configuration File: C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.


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


#SQLNET.AUTHENTICATION_SERVICES= (NTS)


NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)







Thanks in advance

Hello

sqlplus username/Pa55w0rd@DBNAME;

Try it without the semicolon;

sqlplus username/Pa55w0rd@DBNAME

Regards Thomas

Tags: Database

Similar Questions

  • APEX 4.2 user password expires, but the connection works

    Hello

    In apex.oracle.com when I check my user I can see that developer/administrator password has expired
    But still I can connect without any problems and I ask me to change password.

    Builder app 4350 55 report column Password status page also shows expired password.

    From there I understand the instance should force change password when I try to connect to the generator.
    Or I don't understand something.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

    Jarola I think it's a breath of password for developers only.

    It's not really lock the user. That's when he would change his password enough, especially when it has Developer rights.

    Concerning

    Nico

  • New battery for Satellite A40-S270 loads but does not work

    My Satellite A40-S270 battery (PA3287U-1BRS) is 4 years old and doesn't work for 2 hours, so I bought a new.
    From 2 different companies, they provide a PS2522U, 11.1V 8800 mAH, which is supposed to be compatible 100%.

    Fees from the battery to 100%, then when I pull the AC it closes... becomes black.
    It does NOT start on battery only. The green light flashes when I push the Start button, but that's all.

    I can put the old battery to charge fully, then it will unload fully (2 hours) then load and shoot HQ at any time and it continues to run.

    > My Satellite A40-S270 (PA3287U-1BRS) battery is 4 years old and works only 2 hrs
    The laptop can run with old battery 2 hours?
    Hey Buddy my laptop only tracks 1.50hours by using the battery power and the battery is not old and doesn't malfunction. There is nothing wrong with your old battery in my eyes.

    In addition, you should know that battery life depends on the use of the laptop battery would not last long if the laptop would be used with a maximum performance (using accuracy in car, CPU and CD/DVD display at 100%, etc.)

    Back to your question; I think that your batteries are not entirely compatible.
    You must take the same battery recommended by Toshiba.

  • lost my admin password password window but the reset doesn't show any volume!

    For some reason, I forgot my administrator password.

    On my MacBook Air, I have two accounts, one is the administrator, which I can access is no longer, and the other is my usual which I can access, but I can't unlock settings on this subject because I forgot the administrator password.

    I use the recommended procedure to change the password, it's rebooting with command-r, go to the Terminal and then opens the password reset but no volume appears, and I have nothing to select.

    Advice would be welcom

    P.

    Take this action after the start in recovery mode, if you use FileVault 2. Start utility disk, then select the icon for the volume FileVault startup ("Macintosh HD", unless you have given it a different name.) It will be nested under another icon of the disc. Select open in the file menu and enter your login password when you are prompted. Then quit disk utility must be returned to the main screen.

  • Computer laptop Windows 7 can see the desktop of Windows XP, but cannot ping or you connect

    I've seen hundreds of threads describing problems similar to mine, but none of the suggested fixes worked in my case so I'm starting a new thread.  I bought a new laptop with Windows 7 Home Edition.  My setup before the new laptop was as follows:

    Cable modem router NetGear WGT624v3---> desktop Windows XP Home Edition SP3--->

    I have set up portable Win 7 with the same name of the Office XP Workgroup.  The username and password are the same on both.  File and printer sharing is enabled on both.  The XP desktop laptop Win 7 in the workgroup in my network places.  It can successfully ping the laptop Win 7.  It can access shared folders on the Win 7 machine with no problems.

    My problem is that the connection seems one-sided.  Laptop Win 7 will usually display the XP desktop in the network when Windows Explorer opens.  It still display the XP desktop in the network map in network and sharing Center.  However, I can't map a network drive on the XP desktop by using the name of computer or IP address.  I can't even ping the XP desktop.  But if I start the Office XP in Safe Mode with networking, the Win 7 laptop can ping and access shared folders on the XP desktop computer.

    I tried to disable the firewall on both machines.  I confirmed that the appropriate ports are open for sharing files on both machines.  Safe mode they suggest the problem lies with Windows XP, but I'm running out of things to try.  And the various solutions I've seen in the Strait of similar positions as urban legends.

    Hi Meghmala,

    Thanks for the great tips.  You got me in the right direction.  After configuring my XP machine for a clean boot I have to ping, see and access shared files on desktop XP from Win 7 laptop.  Then, I have considered the services and startup programs that has been disabled for the clean boot.  I found a Cisco VPN service which I had previously used to fix on my office intranet.  I disabled this service and the corresponding to my next selective startup startup file.  I was still able to connect to the computer to Office XP.  I think that the VPN service was the cause of the problem even though I had no open an active VPN session.  Thanks again for this problem.  I tried to solve this problem for weeks.

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

  • Connect with sqlplus for fee install R12 Vision ORA-12154

    Summary:

    Try to connect with sqlplus R12 vision new installation gives me ORA-12154.

    Context:

    Installed R12 12.1.1 instance Vision on Oracle Enterprise Linux 5.4 x 86-64 (SElinux disabled / without virtualization). Follow-up [761566.1] and http://www.oraclenerd.com/2009/12/ebs-install-guide-part-1.html. I also followed instructions of [761566.1] on the files to the best of my ability to network. Blocked as closely as possible to these two documents and also stuck by default as much as possible. Everything is fine with all the levels on the same machine (A). Start and stop OK.

    Detailed description:
    Now try to connect using sqlplus (latest version) on the same machine with the following:
    ======================================================================
    [u01 root@vizz] #./ebs/R12VIS/db/tech_st/11.1.0/bin/sqlplus sys/change_on_install@VIS as sysdba

    SQL * more: version 11.1.0.7.0 - Wed 27 Jun 23:36:07 Production 2012

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

    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified
    ======================================================================
    Also tried with oravis and applvis, the two accounts, the case with identical results management
    The ORA-12154 notoriously generic...

    All the tnsnames.ora I can find give me LIVE that the SID:
    ./ebs/R12VIS/inst/apps/VIS_vizz/admin/out/06260806/tnsnames.ora
    ./ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.2/network/admin/tnsnames.ora
    ./ebs/R12VIS/inst/apps/VIS_vizz/ora/10.1.3/network/admin/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.2/inventory/Templates/network/admin/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.2/network/admin/samples/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.2/network/admin/tnsnames.ora
    ./ebs/R12VIS/apps/tech_st/10.1.3/network/admin/samples/tnsnames.ora
    ./ebs/R12VIS/apps/apps_st/appl/ad/12.0.0/admin/template/tnsnames.ora
    ./ebs/R12VIS/db/tech_st/11.1.0/owb/network/admin/tnsnames.ora
    ./ebs/R12VIS/db/tech_st/11.1.0/network/admin/VIS_vizz/tnsnames.ora
    ./ebs/R12VIS/db/tech_st/11.1.0/network/admin/samples/tnsnames.ora

    As well as those generated scripts (for example, addbctl.sh) to start and stop the instance.

    What I'm missing here?

    Published by: rjvencken on June 27, 2012 12:47

    Published by: rjvencken on June 27, 2012 12:47

    Published by: rjvencken on June 27, 2012 12:54

    In the output above, it looks like you source the env file and that's why you get the error ORA-12154. You have to get the file of database of EPS under directory $ORACLE_HOME (.env file).

    Thank you
    Hussein

  • Able to connect to SQL Developer but not a toad - ORA-12154: TNS

    My workplace uses TOAD as standard SQL tool to run against Oracle, although I prefer test and use SQL developer.

    When you try to connect to a database in TOAD I get the following error

    ORA-12154: TNS: could not resolve service name

    I'm using the TNSNAMES file. ORA and I am able to connect through SQL Developer, no problem.

    Also in the same file, I'm able to connect to the other TNS names, but all just not this one it seems.

    I find it very strange, because it seems that for this name TNS one, I specifically can not connect through TOAD

    I can connect to any other AMT via TOAD, and I can connect through SQL developer

    I also tried a TNSPING and his returning in OK for the server and the connection seem just.

    I am trying to connect to an Oracle 10 g with TOAD version 8.0.0.47 Server

    Any ideas appreciated!

    I'm doing this from memory, but...

    Oracle 10g database with TOAD version 8.0.0.47
    

    I believe that your version of toad is too low for this version of Oracle. You should be able to confirm with QUEST software.

    Best regards

    mseberg

    I found the page "which versions of Oracle of Toad for Oracle support?

    https://support.quest.com/search/SolutionDetail.aspx?ID=SOL21018

    What version of Oracle 10 is the question?

    https://support.quest.com/search/SolutionDetail.aspx?ID=SOL63225&category=solutions&SKB=1

    Published by: mseberg on July 22, 2011 15:47

    My rule with Toad's (once you get past the version number), if you cannot connect using SQL, Toad will never work.

    Published by: mseberg on July 22, 2011 15:55

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

  • error ORA-12154 tns

    I gave my hours 7, no way... the database 11g EM works without any problem... but the CMD menu when I try to connect to sqlplus, no link... I get the classic error ora-12154 tns... I also have Developer oracle adapt in my pc. both work without a problem, I mean database and oracle dev suit work well. no connection problem.but I told you with the sqlplus I problem. no connection. I deleted listener add meaning new one .no... the problem is that I haven't studied with oracle recently, I'm very rusty even though I am a certified dba 10 g, I forgot many things... pls help me friends... What can I do to fix this? I stop my firewall on windows... had not led at all... and also to restart all the services of ora... does not effect... and yet one thing when I checked the ora of the listener, tnsnames etc. I realized I have several listeners and sqlnet files this weird extensions such as listener11122712AM2407.ora and sqlnet11122712AM2407... pls help
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Listener.ora

    listener.ora # Network Configuration file: C:\app\ada\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 = C:\app\ada\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\ada\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

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

    ADR_BASE_LISTENER = C:\app\ada

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    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)
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    tnsnames


    tnsnames.ora # Network Configuration file: C:\app\ada\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    When I posted my first response, I guess you are trying to connect to your database that is running on the same server, i.e. locally. So I wanted to make sure DOB connections are ok. But appearantly not. You get the ORA-12560 error when "/ as sysdba".

    To do so below if my hypothesis is correct:

    1. go to the command prompt
    2. set the ORACLE_HOME =
    3. set ORACLE_SID =
    4. set the path ="/ bin"
    5 sqlplus "/ as sysdba".
    If it works, output
    6. now try sqlplus .

    Paste the result.

  • 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

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

    Well, until I post my info, I searched and searched all over Google, OTN, Experts-Exchange, etc... to try and figure this one out and I am puzzled. So here goes. I get the dreaded ' * ORA-12154: TNS: could not resolve the connect identifier specified * "error. This is my environment:

    ----------------------------------------------------------------------------------------------
    Server: Red Hat Enterprise Linux 5 version performs the following:
    Oracle Database 11g (Rel 1): 11.2.0.10
    Oracle Fusion Middleware 11g (rel. 11.1.1.2.0) Forms Server

    I can connect via SQL + no problem
    ----------------------------------------------------------------------------------------------
    Client: My Windows XP Professional PC.

    I can't TNSPING the SID of the database, no problem.
    I can connect via SQL + no problem
    I can connect via TOAD to the db without problem
    I can connect to Oracle Enterprise Manager through the web interface, no problem

    I have 2 houses Oracle (Oracle 8.0.6, Oracle 11.1.0.1) on my PC. The current House is currently the 11g one. I have my background on my PC Setup very well.

    The problem is when I try to run an example of form through the web, I created, the login prompt appears and I get my name in username/password / database SID and it is, I get the error. Of the clues as to what I should look for? Ultimately it is an application that all users will access and they should not have to worry about anything whatsoever to have installed on their PC.

    Thank you

    Keep in mind that file tnsnames.ora forms 11g is under $ORACLE_INSTANCE/config

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

Maybe you are looking for

  • spectrum xt: need help with BIOS pwd

    Hi, need help here, I also forgot the BIOS pwd and I like code 59838445 Thank you!

  • open copy vs ios spreadsheet numbers App

    I have set up several excellent spreadsheet to transfer in the iOS app via iTunes numbers.  Numbers gives no option to "open" the files, if their file type is of numbers or Excel.  But... I can "copy". Is 'copy' the newly darkened Word for 'open' in

  • Separation of the characters in a string

    I have a string in which all characters are separated by a space. I want to extract each of these characters to different substrings. Is there a way to do this? For example: a string of parent : 1 g 3: 00 p   need => channel 1: 1 Channel 2: a Channel

  • Problem with the window "Variables and stack calls ': Options / interpret as

    Hello NO,. I found a way to run the JIT-debugger LabWindows/CVI on ICB itself... This is the procedure: I put a breakpoint, run the code, and the breakpoint, I opened the window "Variables and stack calls" by right clicking on a variable and selectin

  • AIX not sendmail

    Hello I have mail in AIX problem. I can not send an email to user Oracle but can send messages to root level, sucesssful. E-mail send user either oracle eventually dead.letter, expert pleae help. Thank you.