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

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?
 
M

Miha Markic [MVP C#]

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
 
S

sjeck

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top