jjzjj

c# - 获取 "The WebResource.axd handler must be registered in the configuration to process this request."错误

coder 2024-05-19 原文

我在 IIS7 上运行我的 ASP.NET 应用程序时遇到此错误。我已经尝试按照它说的去做,但没有帮助。

The WebResource.axd handler must be registered in the configuration to process this request.

> <!-- Web.Config Configuration File -->
> 
> <configuration>    
>     <system.web>
>        <httpHandlers>
>            <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
>        </httpHandlers>    
>     </system.web> 
> </configuration>

我正在使用一点 AJAX,我认为这是导致问题的原因。有人遇到过这个吗?

最佳答案

我想通了,所以出于搜索原因我将其张贴在这里。这是 ASP.NET 中的一个错误,它与安装 ColdFusion 有关。 Microsoft 尚未发布修复程序。

有两种方法可以解决这个问题。

  1. 将 IIS7 中的 AppPool 更改为“Classic .NET AppPool”。我不确定此设置有任何影响。

  2. 从 system32\inetsrv\config 中的 applicationHost.config 文件中删除对 ColdFusion 的所有引用。

关于c# - 获取 "The WebResource.axd handler must be registered in the configuration to process this request."错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2654514/

有关c# - 获取 "The WebResource.axd handler must be registered in the configuration to process this request."错误的更多相关文章

随机推荐