Richard Butterwood
Richard Butterwood

Reputation: 745

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

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?

Upvotes: 4

Views: 8073

Answers (3)

Enkosi X
Enkosi X

Reputation: 403

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

Upvotes: 9

Richard Butterwood
Richard Butterwood

Reputation: 745

I just found out the offending 32 bit DLLS were built with .NET 2.0. Server 2012 is running .NET 4.5.

Upvotes: 0

Michal Vlk
Michal Vlk

Reputation: 39

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.

Upvotes: 1

Related Questions