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
I'm getting errors while installing the Database Configuration Assistant.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
Can I use /var/opt/oracle/oratab to specify listener information?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.