得到HTTP错误404.17在设置asp.net项目到IIS 8.0 [英] Got HTTP Error 404.17 while setting up asp.net project onto IIS 8.0

查看:216
本文介绍了得到HTTP错误404.17在设置asp.net项目到IIS 8.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图建立一个现有的asp.net应用程序到IIS 8.0在我的Windows 8的机器,它给我以下错误消息。

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.

我GOOGLE了一会儿,并试图解决这个问题有几个解决方案,如手动注册asp.net。然而,它仍不能工作。 大部分的解决方案都是为IIS 7.5,问题是相同的或没有。

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.

任何想法! 真的AP preciate。

Any idea! really appreciate.

推荐答案

随着博客的吉尔哈特指指出,该问题可能是.NET 3.5是没有安装IIS。 3.5处理低级别的应用程序,包括2.0。

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:

步骤1:安装IIS和AS​​P.NET模块| <一href="http://technet.microsoft.com/en-us/library/hh831475.aspx">http://technet.microsoft.com/en-us/library/hh831475.aspx

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

向下滚动到在Windows 8的部分(我使用的服务器2012和为我工作的程序。)

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

这篇关于得到HTTP错误404.17在设置asp.net项目到IIS 8.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆