Ask the Expert

"TNS:Could not resolve Service name" error

I've installed Oracle9i in Windows XP, and when I try to connect through SQL*Plus it gives me an error: "TNS:Could not resolve Service name." I connected using scott and tiger. I even tried through svrmgrl in the command prompt. There it gives me the error as "Message 4505 not found; No message file for product=RDBMS, Facility=MGR. ORA-12560:TNS:Protocol Adapter Error." Please help.

    Requires Free Membership to View

This message indicates that the ORACLE_HOME environment variable is either set incorrectly in the registry or in the environment (Control Panel -> System -> Environment).

You could try removing the ORACLE_HOME environment variable from Control Panel -> System -> Environment. Alternatively, ensure that ORACLE_HOME is set to the correct destination in the registry (in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME<x> where <x> is the unique identifier of the ORACLE_HOME).

This was first published in January 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: