Can't load Oracle dll
725666May 20 2010 — edited May 20 2010I am running ASP on Windows Server 2008 on a 64 bit machine. I am using the beta ODP, which said this system was supported. I have checked the GAC and it is in there. I have checked IIS and ASP is configured to run on framework 4. The website runs fine within Visual Studio in its debugger. However, when I deploy it, I get the following error. How to fix?
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Oracle.DataAccess, Version=2.112.1.1, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 15: <compilation debug="true" targetFramework="4.0">
Line 16: <assemblies>
Line 17: <add assembly="Oracle.DataAccess, Version=2.112.1.1, Culture=neutral, PublicKeyToken=89B483F429C47342"/>
Line 18: </assemblies>
Line 19: </compilation>
Source File: E:\Inetpub\wwwroot\web.config Line: 17
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess, Version=2.112.1.1, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\DefaultAppPool
LOG: DisplayName = Oracle.DataAccess, Version=2.112.1.1, Culture=neutral, PublicKeyToken=89b483f429c47342
(Fully-specified)
LOG: Appbase = file:///E:/Inetpub/wwwroot/
LOG: Initial PrivatePath = E:\Inetpub\wwwroot\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: E:\Inetpub\wwwroot\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Oracle.DataAccess, Version=2.112.1.1, Culture=neutral, PublicKeyToken=89b483f429c47342
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a2cc4162/951dc92c/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a2cc4162/951dc92c/Oracle.DataAccess/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///E:/Inetpub/wwwroot/bin/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///E:/Inetpub/wwwroot/bin/Oracle.DataAccess/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a2cc4162/951dc92c/Oracle.DataAccess.EXE.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a2cc4162/951dc92c/Oracle.DataAccess/Oracle.DataAccess.EXE.
LOG: Attempting download of new URL file:///E:/Inetpub/wwwroot/bin/Oracle.DataAccess.EXE.
LOG: Attempting download of new URL file:///E:/Inetpub/wwwroot/bin/Oracle.DataAccess/Oracle.DataAccess.EXE.