Could not load file or assembly "Oracle.Web, Version = 2.112.1.0 ... The system cannot find the specified file. (It is already loaded in my GAC)

I am trying to run my web application that references Oracle.Web, which is already loaded into my GAC:

enter image description here

When I launch my web application, I get an error message:

enter image description here

Oracle.Web DLL 32-bit.

EDIT . Here's a printout of the assembly binding failure log for Oracle.Web. Basically, it does not boot from the GAC:

* Record in the Binder assembly (6/19/2013 @ 10: 20: 49 AM) *

The operation failed. Binding Result: hr = 0x80070002. The system cannot find the specified file.

Assembly manager downloaded from: C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ mscorwks.dll Runs in the executable file c: \ windows \ system32 \ inetsrv \ w3wp.exe

--- The following is a detailed error log.

=== Information about pre-binding status === LOG: User = IIS APPPOOL \ DefaultAppPool LOG: DisplayName = Oracle.Web, Version = 2.112.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 (Fully specified) LOG: Appbase = file: /// C: / blah / HR / ForHR / HRWS / LOG: initial PrivatePath = C: \ blah \ HR \ ForHR \ HRWS \ bin LOG: Dynamic framework = C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Temporary ASP.NET Files \ HRws \ c1e0f910 LOG: Cache Base = C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Temporary ASP.NET Files \ HRws \ c1e0f910 LOG: AppName = 1f90b2c5 Build Invocation: (Not known). === LOG: This binding begins with the default load context. LOG: Using the application configuration file: C: \ blah \ HR \ ForHR \ HRWS \ web.config LOG: using the host Configuration file: C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Aspnet.config LOG: Using the file machine configuration from C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Config \ machine.config. LOG: Post-policy link: Oracle.Web, Version = 2.112.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 LOG: GAC Lookup was unsuccessful. LOG: attempt to load a new URL File: /// C: /Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET/HRws/c1e0f910/1f90b2c5/Oracle.Web.DLL files. MAGAZINE: Attempting to load a new URL File: /// C: /Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET/HRws/c1e0f910/1f90b2c5/Oracle.Web/Oracle.Web.DLL files. LOG: attempt to load a new URL File: /// C: /blah/HR/ForHR/HRWS/bin/Oracle.Web.DLL. LOG: attempt to load a new URL File: /// C: /blah/HR/ForHR/HRWS/bin/Oracle.Web/Oracle.Web.DLL. LOG: attempt to load a new URL File: /// C: /Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET/HRws/c1e0f910/1f90b2c5/Oracle.Web.EXE files. MAGAZINE: Attempting to load a new URL File: /// C: /Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET/HRws/c1e0f910/1f90b2c5/Oracle.Web/Oracle.Web.EXE files. LOG: trying to load a new URL File: /// C: /blah/HR/ForHR/HRWS/bin/Oracle.Web.EXE. LOG: attempt to load a new URL File: /// C: /blah/HR/ForHR/HRWS/bin/Oracle.Web/Oracle.Web.EXE. LOG: all trial URLs were tried and failed.

QUESTION : Does anyone have any ideas as to why I had this problem?

+4
source share
2 answers

I'm not quite sure why this did not work, but I just installed the 32-bit and 64-bit versions of ODAC 11.2 Release 5, which took care of registering all the necessary assemblies in the GAC, among several other tasks I am sure. After installation, I launched the application and it worked fine. Thanks to everyone who contributed to this.

+1
source

You need to enable it for the 32-bit application in your website’s application pool from IIS.

open IIS> application pool> Enable 32-bit application = true

+4
source

Source: https://habr.com/ru/post/1487068/


All Articles