Getting “The WebResource.axd handler must be registered in the configuration to process this request.” error

后端 未结 6 1608
醉话见心
醉话见心 2021-02-04 06:03

I\'m getting this error while running my ASP.NET app on IIS7. I\'ve tried doing what it says to do but it doesn\'t help.

The WebResource.axd handler must

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 06:23

    ColdFusion installs a global wildcard handler mapping which apparently overrides many of the standard .NET handlers. The solutions mentioned work just fine, but if you can't switch to Classic Mode and don't want to screw with your ColdFusion installation, you can remove the inherited handler mapping at the individual site level.

    To do this, go to the site in question in IIS, double-click on "Handler Mappings" under the "IIS" section, and find the handler named something like "AboMapperCustom-XXXXXX" with "*" for the Path. Select the entry and click "Remove" in the sidebar. This will only remove the mapping for your application, so it won't break any existing CF sites on the server.

提交回复
热议问题