Ask the Expert

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.

    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

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: