Q

Resolving the ORA-12505 TNS error

The database SID name, host and port have been added to the listener. However, I can't connect to the database, and there is an error displaying (ORA-12505 TNS Could not resolve SID given in connect descriptor), although when I use tnsping80 it works with me!! The other users can connect, but I can't connect, and even my neighbor can't ping it!! Do you think the problem from the sub network???? Thanks in advance.

tnsping doesn't prove that you can connect. Your SID or SERVICE it probably wrong in the tnsnames entry. tnsping only shows that "there is a listener on that port". It does not show that "the database you want that listener to hook you up with exists and is up"

Check your tnsnames.ora file ($ORACLE_HOME/network/admin) and make sure you have all the entries correct.

For More Information


This was first published in December 2002

Dig deeper on Oracle error messages

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close