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

浪子不回头ぞ 提交于 2019-12-05 04:27:26

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.)

I had this issue on Server 2012 R2. For me the fix documented here worked.

In essence...

The fix is simple:

  • Launch Command Prompt - Start - cmd.exe
  • cd C:\Windows\Microsoft.NET\Framework64\v2.0.50727
  • aspnet_regiis -ir

You should see output like:

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

At this point if you refresh your page it should work properly. HTH

Thanks it work.

I had the same error...and i run command prompt

HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the 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.

Things you can try:

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

Detailed Error Information: Module StaticFileModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x80070032 Requested URL http://localhost:8080/WebForms/index.aspx Physical Path C:\inetpub\wwwroot\HRMS\WebForms\index.aspx Logon Method Anonymous Logon User Anonymous Request Tracing Directory C:\inetpub\logs\FailedReqLogFiles

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!