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
Why isn't my external css background image displayed?
Who has had personal experience with usinng a Mutex?
chess java little help
C# Updating WPF with from Thread
FreePBX: How to change the system recording for the outbound route password prompt
summing by date range
Extracting First and Last Name in Excel
What's wrong with the below query?
Logo / Branding Critique
How to block traffic from an ip on a Cisco ASA 5520