I was developing an ASP.NET MVC web app on Windows XP and Visual Studio 2008 (using the Visual Studio web server). I recently installed Windows 7 64 bit Ultimate edition, IIS 7.5 and migrated my app using appcmd
.
If I set the flag enable32BitAppOnWin64 == false
on my application pool my application works fine. As soon as I set it to true (since I want it to run in 64 bit) it throws this exception:
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 and delete all ISAPI filters but leave ASP.Net_2.0.50727-64
then this error goes away.
How do I resolve this?