Home » RDBMS Server » Networking and Gateways » ORA-12154 (SQL+ works, web page doesn't)
ORA-12154 (SQL+ works, web page doesn't) [message #158753] |
Tue, 14 February 2006 04:17  |
mattisimo
Messages: 4 Registered: February 2006
|
Junior Member |
|
|
Hi,
I am new to Oracle and am trying to connect to an Oracle 9i database from an ASP.Net web page. I have installed the Oracle client and am using TOAD for db admin type stuff. I can verify that the tnsnames.ora file is valid because I can successfully connect to and query the database using TOAD and SQL+. However, when I try to connect to the database using the Microsoft .Net Oracle data objects I get the ORA-12154 error.
System.Data.OracleClient.OracleException: ORA-12154: TNS:could not resolve service name.
Any suggestions as to why this may be and how I can resolve it?
Thanks for taking the time to read this.
Matt
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Apr 17 01:55:25 CDT 2025
|