Upgrading to x64 results in HTTP 500

Posted by Dour High Arch on Server Fault See other posts from Server Fault or by Dour High Arch
Published on 2011-01-28T22:39:34Z Indexed on 2011/01/28 23:28 UTC
Read the original article Hit count: 258

Filed under:
|
|

I upgraded my development machine to 64-bit Win7, and now when I try to connect to a local ASP.Net project I get:

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

There are several puzzling things about this; the ASP.Net project was a .Net 2.0 ASMX so it was using C:\Windows\Microsoft.NET\Framework\v2.0.50727. If it updated to x64 without asking me, should it not use C:\Windows\Microsoft.NET\Framework64\v2.0.50727\? Where is C:\Windows\Microsoft.NET\Framework\v4.0.30319\ coming from?

I opened IIS Manager and the selected .Net Framework version for my machine is 2.0.50727. Framework version for my default application pool is the same.

I am developing in VS2008, which does not even have an option for targeting .Net 4.0.

© Server Fault or respective owner

Related posts about Windows

Related posts about iis