Why is my site trying to download the 32-bit version of aspnet_filter.dll, even if the enable32BitAppOnWin64 parameter is set to False?

I developed the ASP.NET MVC web application on Windows XP and Visual Studio 2008 (using the Visual Studio web server). I recently installed Windows 7, the 64-bit version of Ultimate, IIS 7.5, and ported my application using appcmd.

If I set a flag enable32BitAppOnWin64 == falsein my application pool, my application works fine. As soon as I set it to true (since I want it to run on the 64-bit version), it throws this exception:

Screen Snapshot Error

HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v2.0.50727\\aspnet_filter.dll" failed

If I go over and remove all ISAPI filters, but leave ASP.Net_2.0.50727-64this error will disappear.

How to resolve this?

+5
4

, :

"C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll"

, . .. /Framework/v 2.0.50272 :

aspent_regiis -r

, IIS .

... .:)

+3

, 64- ISAPI.

32- DLL 64- , - . enable32BitAppOnWin64.

true .

+2

It seems that Handler Mapping preConditionsfor your site is a bit messed up. In the IIS MMC, go to the site and open the handler mapping function. In the Actions panel on the right, click the Restore Parent link.

0
source

It just happened with the deployment of the project. Changing the application pool for the website did the trick. Answer found on Rick Straggle web blog

0
source

All Articles