Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2005
    Location
    Atlanta
    Posts
    58

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

    I am getting the following common error trying to connect to an Oracle 10g database with DBArtisan (version 7.3.1):

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

    After googling this error I see that it is common, and there is a lot of similar advice available. To my knowledge I have tried all of the advice and it appears to me that everything is in place for a connection. The tnsnames.ora, sqlnet.ora, and listener.ora files seem to have the correct contents.

    Correcting this may take several questions on your part, so I appreciate your patience ahead of time.

    Thanks.

  2. #2
    Join Date
    Sep 2006
    Location
    India-Bangalore
    Posts
    8

    TNS: Could not resolve the connect identified specified

    Hi,

    Similar issue i had encounter recently. I had followed the below steps to resolve the problem, looks like tsn error is because of many reasons. you try this and let us see.
    -----------

    Instead of updating the tnsnames.ora manually, I suggest to create a connection string through Net Manager.

    Steps:
    1. Open Net Manager.
    2. go to Local > Service Naming.
    3. After selecting Service Naming, click on Edit menu > Create
    4. Give a Net Service Name (any user defined name)
    5. Select TCP/IP (Internet Protocol)
    6. give the Host Name (IP Address or Host machine name)
    7. Service Name : (it should be the global_name of the database)
    select * from global_name
    8. After completing it, go to File and save Network configuration.
    9. Select the connection string created and clikck on command menu > test service.
    10. Give the valid user name and password for connecting.

    While connecting DB thru SQLPLUS, give the username/password@connectionstring
    (conn string created in step 4)

    Regards,
    Narendran
    b_karthii@yahoo.com

  3. #3
    Join Date
    Jan 2005
    Location
    Atlanta
    Posts
    58
    Thanks for the advice.

    I simply had to create the environment variable: ORACLE_HOME
    via: control panel > system > advanced > environment variables
    and then DBArtisan knew where to find tnsnames.ora.

  4. #4
    Join Date
    May 2011
    Posts
    1
    Thanks a lot Narendran. Took almost half a day debugging this and reconfiguring it using netca solved it

  5. #5
    Join Date
    Aug 2012
    Posts
    3
    sir i am not able to login sql+.iam using oracle 10g.i followed these steps but i dont know what is the username and password.plz tell me.reply me ashishgoel48@gmail.com.

    sir plz tell me.i am very thankful to u.

  6. #6
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,649
    ASHISH123456,
    It is not polite to hijack another person's thread for your own & different problem.
    Consider only using MS Access; which is a much more user-friendly utility & less complex than Oracle.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    There are no stupid questions, but there are a LOT of Inquisitive Idiots.

  7. #7
    Join Date
    Aug 2012
    Posts
    3
    but i want to use sql+ plz help me mail me ashishgoel48@gmail.com

  8. #8
    Join Date
    Aug 2012
    Posts
    3
    but i want to use sql+ plz help me mail me ashishgoel48@gmail.com

  9. #9
    Join Date
    Jun 2004
    Posts
    746
    ASHISH123456, next time please start a new thread for a new problem. But for now...

    I want to log in to my online bank account - can you tell me what my username & password are, please? You can't, because you don't know what accounts I have. In the same way, we have no idea what accounts & passwords you have set up in your database, and we have no way of knowing which one you should be using.

    If you wish to take this further then please start a new thread.
    90% of users' problems can be resolved by punching them - the other 10% by switching off their PCs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •