Sunday, November 7, 2010

Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" failed

After installing Visual Studio 2010 on my 64 bit windows 7 machine IIS failed open any webpages with the following error:

"Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" failed"

The following resolved it:

cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
aspnet_regiis -r

Yes ... I forced to run 32bit. I also tried:

cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
aspnet_regiis -r

and it too worked. But I have a reason to run in 32Bit because I use SQLite :)