IIS 10.0 error 2280 while executing 32 bit

32-bitdlliisvisual studiowindows 10

While trying to make a local deploy of a rest-api that requires to be executed on 32bit, the server stops the application pool under witch it runs.

The events viewer:

error while loading "C:\WINDOWS\system32\inetsrv\aspnetcore.dll."
code 2280.

Any solution?

Visual Studio does debug perfectly but local IIS does not…

Best Answer

If any application requires to be run under 32 bit in IIS, you need to go to the advanced settings under the application pool and changed Enable 32-Bit Applications from False to True