Ask the Expert

Getting ORA-12505 when trying to connect to work from home

I am getting an error message, ORA-12505, saying the SID is wrong. I am trying to connect from home to my place of work. I have mapped drives to orawin95. Does the error reside on my end? I do not know what to check to fix this problem. Any information would be greatly appreciated.

    Requires Free Membership to View

Your Oracle client software has a file called the TNSNAMES.ORA configuration file. This file contains the definition of the TNS alias you are using to connect to your remote database. For instance, using SQL*Plus, you can connect to a remote database similar to the following:

sqlplus scott/tiger@orcl

The "@orcl" tells SQL*Plus to connect to the database determined by the information in the TNSNAMES.ORA config file using the alias "orclno." In that alias, you specify the sid or service name of your remote database. The value for this TNA alias cannot be found in your database server's listener configuration. You'll have to talk with your DBA to find out the correct value and then update your TNS alias.

This was first published in May 2006

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: