Got an HTTP 404.17 error when setting up an asp.net project on IIS 8.0

I am trying to configure an existing asp.net application on IIS 8.0 on my Windows 8 machine and it gives 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. 

For a while I searched Google and tried to solve this problem with several solutions, such as manually registering asp.net. However, it still does not work. Most solutions are for IIS 7.5, and the problem is the same or not.

Any idea! really appreciate.

+6
source share
4 answers

As the blogger who Gearhart points to, the problem may be that .NET 3.5 is not installed for IIS. 3.5 refers to lower-level applications, including 2.0.

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

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

Scroll down to the partition in Windows 8. (I am using Server 2012, and the procedure for this worked for me.)

+7
source

I had this problem on Server 2012 R2. The corrected documentation worked for me here .

Essentially ...

The fix is ​​simple:

  • Run command prompt - Start - cmd.exe
  • cd C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727
  • aspnet_regiis -ir

You should see the output, for example:

 Start installing ASP.NET (2.0.50727). ................ Finished installing ASP.NET (2.0.50727). 

At this point, if you refresh your page, it will work correctly. NTN

+4
source

Thanks for the job.

I had the same error ... and I ran the command line

HTTP Error 404.17 - Not Found The requested content looks like a script and will not be served by a static file handler. Most likely causes:

 The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler. 

What you can try:

 If you want to serve this content as a static file, add an explicit MIME map. 

Error Details: StaticFileModule Module ExecuteRequestHandler Notification StaticFile Handler Error Code 0x80070032 Requested URL http: // localhost: 8080 / WebForms / index.aspx Physical Path C: \ inetpub \ wwwroot \ HRMS \ WebForms \ index.aspx Login Method User anonymous users Request trace directory C: \ inetpub \ logs \ FailedReqLogFiles

-2
source

All Articles