I\'ve setup a new .net 2.0 website on IIS 7 under Win Server 2k8 and when browsing to a page it gives me a 404.17 error, claiming that the file (default.aspx in this case) a
For me, my problem came because of a setting in my project's web.config file (and also the solution, once I understood the problem).
In my web.config file, we had these two lines in the system.webServer > handlers area:
Notice the alternative handler has the attribute 'preCondition="integratedMode"'. So, I had to change my AppPool to use Integrated instead of Classic for my pipeline mode setting (which is the opposite of what the solutions above told me to do).