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

Posted on 2012-09-14
Last Modified: 2012-09-14
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?
Question by:rmartes
    LVL 76

    Accepted Solution

    Did you not read the last post I made in your last question?

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

    Author Comment

    Thank you buddy, didn't see that. It works.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    Via a live example, show how to take different types of Oracle backups using RMAN.
    This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now