OracleClient works in VB.NET but not in ASP.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have OracleClient (the Oracle Data Provider) working just fine in VB.NET 1.1 pages, but when I transfer that code to a ASP.NET solution on the same machine, I can get the references resolve just fine, but execution yield
ORA-12154: TNS:could not resolve service name
Same code, same machine. Can anyone advise me on this?
 
Hi sjeck,


Make sure that local aspnet windows account has enough NTFS privileges on
oracle folder and subfolders.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

sjeck said:
I have OracleClient (the Oracle Data Provider) working just fine in VB.NET
1.1 pages, but when I transfer that code to a ASP.NET solution on the same
machine, I can get the references resolve just fine, but execution yields
 
Thank you, Miha. I thought I had already done what you advised, but
the problem was caused by a network-served TNSNAMES.ora file.
Thanks again.
--- sjeck

Miha Markic said:
Hi sjeck,


Make sure that local aspnet windows account has enough NTFS privileges on
oracle folder and subfolders.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

sjeck said:
I have OracleClient (the Oracle Data Provider) working just fine in VB.NET
1.1 pages, but when I transfer that code to a ASP.NET solution on the same
machine, I can get the references resolve just fine, but execution yields
ORA-12154: TNS:could not resolve service name
Same code, same machine. Can anyone advise me on this?
 
Back
Top