cheshire auto
![]()
When we checked the application pool in IIS, it was configured correctly for the 2.0 Framework, so what exactly is the problem here?
The problem is that Visual Studio 2005 came out prior to IIS 7. Therefore, it doesn't deal well with the way that the handler mappings work in IIS 7. As it turns out, the .aspx file extension is mapped to both the ASPNET-ISAPI-1.1-PageHandlerFactory (for 1.1) and to the PageHandlerFactory-ISAPI-2.0. When Visual Studio 2005 hits the site to check for ASP.NET, it is fooled into thinking that the site is configured for ASP.NET 1.1 by the mapping for the ASPNET-ISAPI-1.1-PageHandlerFactory.
To correct this problem, you can either click Yes to the dialog shown above (and you'll have to do that each time you open the project) or you can change the order of the handlers mapped to your application.
To change the order of the handlers, follow these steps:
![]()
![]()
![]()
You should now be able to open the project without any issues.
By the way, this issue does not occur in Visual Studio 2008.
Jim