I want to host an ASP.NET 4.0 web application in IIS 6 on Windows 2003 R2 SP2 x64.
Is this even possible? I have the following under C:\WINDOWS\microsoft.net\Framework
- 1.0.3705
- 1.1.4322
- 2.0.50727
- 3.0
- 3.5
- 4.0.30319
and in C:\WINDOWS\microsoft.net\Framework64
the same except 1.0 and 1.1.
IIS 6 runs in 32 bit mode but there is no ASP.NET tab in the properties screen of the website. So I can't switch frameworks and don't know what frameworks runs in what application pool.
EDIT have tried what GregD suggested. That gave me back the tab in IIS so that I could set the proper framework for the website, but it gave me the following in the eventlog when I tried to start the application pool:
Could not load all ISAPI filters for site/service. Therefore startup aborted.
After a quick googling, I found this: http://nishantrana.wordpress.com/2008/09/09/service-unavailable-could-not-load-all-isapi-filters-for-siteservice-therefore-startup-aborted/
Which kind of puts me in a circle. Enabling and removing the 64 bit setting in the metabase.xml file.
Because aspnet_regiis -i told me that it couldn't work because IIS was in a 64-bit setting.