Home » Infrastructure » Windows » TNS: protocol adapter error (Oracle, 10g Express Edition, Windows Server 2003)
TNS: protocol adapter error [message #378189] |
Mon, 29 December 2008 05:14  |
clourenco
Messages: 4 Registered: December 2008
|
Junior Member |
|
|
Greetings.
I'm currently working on a project that makes use of Oracle 10g Express Edition version, it is installed in a virtual machine running Windows Server 2003 and out of the domain we work on.
The application we are developing is a asp.net application and when we try to launch it, it gives us the error:
System.Data.OracleClient.OracleException: ORA-12560: TNS:protocol adapter error.
We are able to execute tnsping, we are able to connect via sqldeveloper and toad, even with a .udl file we are able to successfully establish a connection.
We are not using tnsnames.ora to make the connection, we have it all specified in the web.config file, like this:
<add name="SiteOracle" connectionString="User Id=eap;Password=EAP123;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.50.8.38)(PORT=1521))(CONNECT_DATA=(SID=XE)));"/>
We've already doubled checked everything, and apparently cannot find a reason why this is happening.
So we are asking for your help to identify the problem and possibly fix it.
Thank you.
Kind regards.
C�sar Louren�o
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun May 04 06:20:13 CDT 2025
|