If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > ORA-12154: TNS: could not resolve the connect identifier specified.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
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
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: May 2011
Posts: 1
Thanks a lot Narendran. Took almost half a day debugging this and reconfiguring it using netca solved it
Reply With Quote
  #5 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #6 (permalink)  
Old
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 7,598
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.
Don't say, show. Don't promise, prove.
Reply With Quote
  #7 (permalink)  
Old
Registered User
 
Join Date: Aug 2012
Posts: 3
but i want to use sql+ plz help me mail me ashishgoel48@gmail.com
Reply With Quote
  #8 (permalink)  
Old
Registered User
 
Join Date: Aug 2012
Posts: 3
but i want to use sql+ plz help me mail me ashishgoel48@gmail.com
Reply With Quote
  #9 (permalink)  
Old
Registered User
 
Join Date: Jun 2004
Posts: 738
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On