• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1342
  • Last Modified:

Win Server 2k8, Oracle ODP.NET - Unable to load dll: OraOps10.dll: Access Denied

Hi Experts,

I have a production Windows Server 2k8 with Oracle Client 10g r1. I'm using ODP.NET to connect my ASP.NET application to my Oracle database. I copied the Oracle.DataAccess.dll into my app's bin folder and was able to connect in my development environment (Win Server 2k3). When I transfer the files over to production, I get the following error:

Unable to load dll: OraOps10.dll: Access Denied

Any suggestions?
0
rmartes
Asked:
rmartes
1 Solution
 
slightwv (䄆 Netminder) Commented:
Did you not read the last post I made in your last question?

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_27865170.html#a38399742

"One final thing as you move forward:  When you go to deploy the app you must have the exact same ODP.Net version on the host machine that was used to compile the app."

So, did you install the exact same version of ODP.Net on the production server or use the 5 file copy work-around I mentioned in the other question?
0
 
rmartesAuthor Commented:
Thank you buddy, didn't see that. It works.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now