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
How do I summarise totals per category?
Virtual Server and Hardware Needed
Please help me refine this concept (eventually into a process diagram)
Creating a printer with IP port automatically
pass array to function
Pass String[] between classes?
Oddity in Excel 2007
Problem with the choice command under ms-dos 8.0
Access .NET Library from Excel VBA
Cannot connet to internet via wireless but can connect via hardwire