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 the solution was to click "revert from inherited" from the handler mappings section under the virtual application.
So far, none of these solutions have worked for me.
I have found a few other possible solutions (which did not work for me):
In my case, none of the above answers resolved the issue, and the reason was that the CGI module wasn't installed.
To resolve this I followed these instructions.
https://docs.microsoft.com/en-us/iis/configuration/system.webserver/cgi
I had this problem on IIS6 one time when somehow the ASP.NET ISAPI stuff was broke.
Running
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
to recreate the settings took care of it.