如何解决HTTP错误404.8?

Rob*_*bin 18 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 
Run Code Online (Sandbox Code Playgroud)

Kam*_*ami 26

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

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

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

但是,如果您不能这样做,请参阅此处文章,了解有关如何删除它的步骤.


Dan*_*son 5

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

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

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