Friday, August 20, 2010

ORA-12162 TNS:net service name is incorrectly specified

This error comes when you don't specify your ORACLE_SID environment variable.
So, you need to do following:

In Unix/Linux

ORACLE_SID=your_dbname
export ORACLE_SID

In Windows (in command line)

set ORACLE_SID=your_dbname

No comments:

Post a Comment