如何解决HTTP错误404.8?

时间:2012-12-27 18:23:21

标签: xml flash webserver

我们最近移动了服务器,现在一次工作的闪存不起作用,因为它无法识别xml文件。这是错误的详细信息:

Server Error in Application

Internet Information Services 7.5 Error Summary HTTP Error 404.8 - Not Found The request filtering module is configured to deny a path in the URL that contains a hiddenSegment section. Detailed Error Information ModuleRequestFilteringModule NotificationBeginRequest HandlerStaticFile Error Code0x00000000 Requested URLhttp://obscured.xml Physical PathD:\home\obscured.xml Logon MethodNot yet determined Logon UserNot yet determined 

2 个答案:

答案 0 :(得分:22)

问题是由IIS保护您请求的文件引起的。

IIS默认设置过滤器以拒绝对具有某些名称(如app_databin等)的文件的请求,以保护Web应用程序。这是通过IIS中的隐藏段控件完成的。您的应用似乎受此影响。

理想情况下,您应该更改要请求的文件的名称。

但是,如果您不能这样做,请参阅article here了解如何删除它的步骤。

答案 1 :(得分:2)

就我而言,我的应用程序有一个名为bin的业务对象。你能猜出发生了什么吗?我的BinController的网址是http://localhost:6537/bin/index

显然,RequestFiltering有一个拒绝访问bin文件夹的条目,因此请求在进入MVC路由引擎之前就被阻止了。

我只是将我的控制器重命名为BinsController,http://localhost:6537/bins/index工作正常。