Microsoft
Software
Hardware
Network
Question : Having trouble connecting to Oracle database Error : TNS protocol error 12560
Hello everyone,
I am having trouble getting our application to communicate with the oracle database. The application and database are on 2 separate machines. I can connect to the database using SQL navigator and can run queries on the tables with no issue.
When i try to connect to SQL plus in a DOS prompt using the command SQLPLUS username/password i receive the error TNS Protocol error 12560.
When i specify which SID i want to connect to using the same command SQLPLUS username/password@SID it will connect fine.
There are 2 oracle instances setup on that server.
I have checked both the tnsnames.ora and sqlnet.ora and they seem to be configured correctly but at this point i am not certain. Any assistance will be greatly appreciated.
Technician
Answer : Having trouble connecting to Oracle database Error : TNS protocol error 12560
It needs to be set the to value in the tnsnames.ora file that you want to be the default connection.
Random Solutions
.* count
Star Trek Online R&D points??
Find command Solairs
Acess 2003 - unsafe expression message ?
What is the alternative for DIR when using VBA to call Sharepoint?
WTSGetActiveConsoleSession
Id and Windows 2000
Self uodating / Self deleting application
FireFox - open w/no previous tabs?
help with web server and database please
Java FTPSClient Connection timeout