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
Excel - email from a spreadsheet
Minimizing Database Queries and CFOutput
EXE files are being blocked
Timing in objective-c for iphone - How do I wait until data returned from URL without freezing the User Interface?
Tracking DB2 database transactions delays
How to monitor ReadyBoost usage?
How do I revoke access to all objects of a database except for a specific view?
SQL Lookup table with multiple references based on update date field
Excel Conditional Cell Protection
Not a single group-group function