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?