Problem solve Get help with specific problems with your technologies, process and projects.

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 last published in December 2002

Dig Deeper on Oracle error messages

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.