Got HTTP Error 404.17 while setting up asp.net project onto IIS 8.0

Atrh picture Atrh · Mar 13, 2013 · Viewed 30.5k times · Source

I am trying to set up an existing asp.net application onto IIS 8.0 on my windows 8 machine and it giving me the following error message.

HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.

I googled for a while and trying to solve this problem with several solutions such as registering asp.net manually. However,it is still not working. Most of the solutions are for IIS 7.5 and the problem is the same or not.

Any idea! really appreciate.

Answer

Mark Berry picture Mark Berry · Nov 27, 2013

As the blogger that Gearhart refers to points out, the problem may be that .NET 3.5 is not installed for IIS. 3.5 handles the down-level apps including 2.0.

The procedure in the blog looks simple and may work fine. However the "official" procedure from Microsoft looks different:

Step 1: Install IIS and ASP.NET Modules
http://technet.microsoft.com/en-us/library/hh831475.aspx

Scroll down to the section on Windows 8. (I'm using Server 2012 and the procedure for that worked for me.)