Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly. 32 bit assembly running on IIS 8.0

Tags:

c#

.net

iis

wcf

iis-8

I am attempting to deploy a WCF service that currently run in IIS 7 to IIS 8. To run a 32 bit DLL in IIS 7, I had to check 'Enable 32 bit applications' in the application pool. When I do this in IIS 8, it doesn't work.

The exact error message is

Could not load file or assembly 'Progress.ssl.DLL' or one of its dependencies. The specified module could not be found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Progress.ssl.DLL' or one of its dependencies. The specified module could not be found.

Is there another step to enabling 32 bit DLLs to run in IIS 8?

like image 834
Richard Butterwood Avatar asked Dec 25 '22 20:12

Richard Butterwood


2 Answers

Hey I was struggling with this for hours but here is the solution that helped me:

Go to IIS Manager:

  1. Select Application Pools
  2. Then select the pool you are using
  3. go to advanced settings (at right side)
  4. Change the flag of Enable 32-bit application false to true.

Hope that helps

like image 167
Enkosi X Avatar answered Dec 28 '22 10:12

Enkosi X


Check if application pool is configured for the correct .net framework and make sure your WCF app is assigned to this application pool. If these are correct and you enabled 32-bit libs for your application pool it should start working.

like image 36
Michal Vlk Avatar answered Dec 28 '22 09:12

Michal Vlk