64-bit win2008 IIS does not open 32-bit support causes the DLL to fail to load

  

Deploy a WEB project, there is no problem in the local, local server, but after deploying to the remote server, it is prompted that a DLL can not be loaded:

Server Error in '/' Application.


First of all, the DLL that the system claims to be unable to load really exists


Secondly, there is no problem from the local machine and the local server. It seems that the most likely cause is that the environment of the remote server is faulty. However, the remote server is loaded with .NET 4.5.2, and running other WEB projects is fine. The application pool corresponding to the WEB project is also 4.0, which excludes the reason for choosing 2.0.


Later, the developer of the WEB project opened 32-bit support on the IIS application pool, and the problem was solved. It turns out that the remote server is 64-bit WIN SERVER 2008.


The way to enable 32-bit support is:

Select the application pool corresponding to the WEB project, right click, advanced settings, Enable 32-bit Application = True.

Copyright © Windows knowledge All Rights Reserved