By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
C:>set ORACLE_SID=ORADEV01 C:>echo %ORACLE_SID%
The echo command should return the SID that you specified in the previous set command. Ensure there are no spaces on either side of the equal sign when you set ORACLE_SID.
If you are providing a service name, ensure that the listener has been started. It is also a good idea to check the sqlnet.log file. This may also give you some indication of what the problem is.
Finally, this error can occur if you created a database with a SID that contains a non-alphanumeric character, e.g., underscore. You will not be prevented from creating a SID with a non-alphanumeric character and the service will start successfully; however, you may see this error when trying to connect to the database.
Dig Deeper on Oracle database installation, upgrades and patches
Related Q&A from Maria Anderson
Can I use /var/opt/oracle/oratab to specify listener information?continue reading
We would like to migrate our database from Oracle 8.1.7 to Oracle 10g. We would like to know the impact for our application developed using Delphi ...continue reading
I have been trying to install Oracle 8.1.7 on SUSE Linux 9.0 and got the error: "Error in invoking target install of makefile /opt/oracle/...../*.mk."continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.