error ORA-12154 [message #553415] |
Fri, 04 May 2012 06:24 |
sasikalak
Messages: 3 Registered: May 2012
|
Junior Member |
|
|
when i am trying to connect the few databases which exists in the tnsname.ora file it throws the error - 12154(Could not resolve the connect identifier specified(name of database)
How can i resolve this error..
in tnsnames.ora i am providing the details for service name = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(
(PROTOCOL = TCP)
(Host = )
(Port = 1530)
)
)
(CONNECT_DATA =
(SID = name)
)
)
|
|
|
|
|
|
|
|
|
Re: error ORA-12154 [message #553431 is a reply to message #553430] |
Fri, 04 May 2012 08:09 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
ORA-12154 *NEVER* involves the listener, the database itself or anything on the DB Server.
ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
The lookup operation fails because the name provided can NOT be resolved to any remote DB.
The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/
|
|
|