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

Tags: Database

Similar Questions

  • Able to connect to the Internet, but not be able to access router settings

    I can connect to the Internet fine, ping works, but I can't connect to the router settings.

    Specifications

    • Router IP: 192.168.1.1
    • IP address: 192.168.1.150 USING static IP
    • Browser: Safari
    • Error message: Safari cannot open the page because the server dropped the connection unexpectedly.
    • If you need a card, leave a reply!

    Hey Harpo1! Try to access the configuration page using a computer connected to the router. If it does not connect to the page, reboot the router and use a different web browser could help. You can also try to temporarily unplug the modem and see if you can access it.

  • Code works correctly with sql developer but not in shapes

    Hi, formulas [32 bit] Version 6.0.8.11.3 (Production)

    INSERT INTO DEFICIENCIES 
    
    SELECT I.ITEM_ID , S.ITEM_ENG_NAME , S.ITEM_ARABIC_NAME 
    FROM ITEM_DETAIL I , STOCK S 
    WHERE I.ITEM_ID = S.ITEM_ID 
    AND I.ITEM_ID NOT IN ( SELECT ITEM_ID FROM DEFICIENCIES )
    GROUP BY I.ITEM_ID , S.ITEM_ENG_NAME , S.ITEM_ARABIC_NAME 
    HAVING MAX(EXPIRY_DATE) <= TRUNC(SYSDATE)
    OR SUM(QUANTITY) = 0 
    UNION
    SELECT E.ITEM_ID , S.ITEM_ENG_NAME , S.ITEM_ARABIC_NAME 
    FROM EXPIRED E , STOCK S 
    WHERE E.ITEM_ID = S.ITEM_ID 
    AND E.ITEM_ID NOT IN ( SELECT ITEM_ID FROM DEFICIENCIES )
    ORDER BY ITEM_ENG_NAME ;
    

    When I used it in oracle forms, I have faced

    error 103 at line 15 column 2
    encountered the symbol "order" when expecting one of the following: 
    ;return RETURNING_ adn or group havign intersect minus start union where connect 
    the symbol "group was inserted before "order" to continue
    
    

    ?

    forms not authorized such use for «insert into...» Select... Of...  ORDER BY' with order by.

    but this use can be used in a database procedure.

    write your code in a database procedure.  your code will run.

  • Can we keep OPEN? Œuvres query in SQL Developer, but not Oracle APEX

    Hi Sirini,

    Just my thoughts - but if one of them is closed, I think it should be a {: identifier of the thread = 2496751} where it becomes the evasive. This one {: identifier of the thread = 2496754} (APEX!) must be the one that remains open. You do not?

    My 2 cents,
    Howard

    .. where it becomes the elusive...

    What skin? Posters he determined that he needed a semicolon at the end of the statement and that he had forgotten the INTO clause. The two are beginner errors. OP has closed the thread as answered and disappeared "Google stop" to learn more about creating queries SQL in PL/SQL. This seems resolved - at least until that back of her Googlequest with another question.

  • What is the proper way to create a user who can connect through the Console, but not through the VMWare Client?

    I did the following steps:

    1. create a user

    2. assign the Group root (remove all the other group of the user)

    What's my not just?

    Thank you!

    It is the way to do it.   Either you must be part of the root group to be given to the role admin (or a bespoke) at the level of the host to access the DCUI.

    If you create a user is added to the root group, but is assigned all permissions (either singularly or through a group) on the host then, then the user will be able to connect to the DCUI but not the client vSphere (or any other method of the API).

  • my SQL Developer does not work properly! Help

    Hello!!

    My problem here is not like I can't live or work, but it's REALLY annoying, see my SQL Developer does not take any different key of letters and the space bar, I mean, if I use the Enter key, does not alter the line, if I use the return key back isn't clear if I use F5/F9 does not execute the msec! and if the keys don't work!

    any ideas why this is happening? and if yes how do fix this problem?

    There is a well known bug but still not solved, causing this type of behavior, if you are a developer SQL 1.5.X you can work around the problem by loading the accelerators by default:

    Tools-> accelerators-> load Preset-> by default

    If you're on 2.1.X preset may be responsible for

    Tools-> preferences->-> others-> load keyboard accelerators

    2.1 this problem has not been reported so far, so if you are in 1.5.X you can consider upgrading.

  • 2 13 pro tablet of yoga - to connect to the network, but not the internet

    Hello!

    I got my new yoga today and immediately connect it to wifi...

    It connects to my home but not internet network (or connection very very creepy)

    tried home through my phone LTE and still...

    tried by bluetooth and same result... slow as hell... maybe approx. 10 KB.

    im looking good on the web and don't find anything...

    probobly you are the people with the experience...

    help would be appritiated!

    Kind regards.

    Hey guys quick update!

    After sending the lenovo Tablet and a few screams (sad that we cannot otherwise)

    they replace them with sealed brand new...

    so thanks for the help!

  • WRTG54S to connect to the network, but not internet

    I have a WRTG54S and Mediacom 12mbps. My router worked fine on my old laptop (a Dell Vista), he was sitting in a box for about 6 months and now that I have a new (Sony running 7) I can connect to my network, but not internet. I have updated the firmware of 7.6 to 7.8 without change. I have tried no security, wep and wap without change. Also, I cloned the MAC, once again no change. Windows cannot detect all problems, and when I try to activate the router to connect to the internet it always says connection failed. I can connect directly connected to the modem but not when connected to the router or wireless. Any ideas? Thank you

    Problem solved. I had to go to a Motorola SurfBoard 4100 to a 5100. Thanks anyway

  • Computer connects to the network, but not to the Internet, connect to the only local

    Hello world

    OK, so I have a HP computer with the installed version of Windows Vista Home Premium 32-bit. I've had it for almost 2 years now and have had no problems connecting to Internet... until now.

    I can connect to networks... both wireless and cable, but I can not get Internet. I used the IP, subnet mask, gateway and server settings DNS to another computer that works with this specific local network just to see what happens... my computer has failed.
    Until recently, I could connect to this WiFi connection in a coffee shop, but the last time I tried it didn't work. I've connected to the network but not the Internet. He told me that the DNS server did not. I'm starting to think that something is wrong with my computer.

    I saw that the solution for some people running the Norton removal tool, however I had uninstalled Norton almost as soon as I got my computer 2 years ago and ran McAfee instead. I don't think that Norton should have an impact on me more.

    Is there a solution to this problem... or I'll just have to try everything that is out there?

    Thanks for your help!

    Hi MomPlaysBass,

    Finally, my problem has been resolved - it wasn't my computer after all. The modem may only be connected to a computer. If you want to connect to another computer, you can connect the computer to the modem and then put it back. My computer worked fine after that. Whenever we want to switch between computers, even if I have to reset the modem.

    I don't think you have the same problem, but just in case, you can try to reset your modem - it's a button on the back or a small hole that you can reach with a pen... Hold the stylus for about 5 sec or maybe a bit more and then let go. That should reset your modem and might help you with your problem. Your computer should also have created a restore point... If all else fails maybe you can try to get back to the final point where your computer worked.

  • Oracle SQL Developer will not respond

    Hello:
    I'm so stressed these days as to my habit of SQL Developer' answer. When I double click the icon, logo will appear and it seems the hard drive will blink for a few seconds. After that, nothing happened. I tried several times and even downloaded another copy of SQL Developer but still no luck.
    Did anyone here have the same problem and how solve you?

    Thank you very much

    A stressed out of programmer.

    Try current enforcement \sqldeveloper\bin\sqldeveloper.exe from a command window and see if you get an output in the console.

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

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

  • 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

  • Portege R830 - functional keys not working after installing Windows 7

    HelloI have Toshiba portege R830.I install new windows 7, no recovery - new windows.Now, I have a problem because my function keys don't ' t work.I can't turn on y wifi with fn + F8.I was looking for drivers, but I don't ' get there for my toshiba.

  • EliteBook 8460p: put in more RAM

    Hello I want to improve my 16 GB, 4 GB memory. My question is, can I use 2 X 8 GB of RAM SODimm DDR3 1600 MHz PC-12800 - Kingston? I know that the original is supposed to be 1333 MHz PC3 10600. Hello everyone, kolswadet

  • Impossible to update workstations by using WSUS

    I'm not sure this is the right forum to post this, but I give it a go. I'm trying to workstations to a client to update with the latest patches for windows using WSUS, but it fails. The logs says; WUAHandler.log: OnSearchComplete - could not complete

  • Pavilion g6-2213sa: processor upgrade

    Hi new to here, the CPU can be upgraded in my HP Pavilion g6-2213sa seen this processor and I was wondering if it was compatible http://PartSurfer.HP.com/search.aspx?SearchText=683046-001

  • (Dell LCD) screen goes blank when I connect. Requires the switching on of the screen on and outside

    (Dell LCD) screen goes blank when I connect.  Requires power to the power on and off screen, at least 15 to 20 times before picture stays on.  Any suggestions? No to the problem site so don't have the model numbers.  Dell computer and about 8 years.