所请求URL的文件扩展名没有配置为在Web服务器上处理请求的处理程序。

Mis*_*tyK 2 c# asp.net iis

我已经在IIS的应用程序中配置了重写规则。但是,当我尝试进入应将我重定向到ASP.NET Core Web API操作的页面时,出现错误:

The file extension for the requested URL does not have a handler configured to process the request on the Web server
Run Code Online (Sandbox Code Playgroud)

注意:更改静态文件处理程序映射无济于事。

Mis*_*tyK 5

我将回答我的问题:错误似乎不是很容易描述。解决此问题的方法是在IIS管理器中安装Application Request Routing Cache启用代理Application Request Routing Cache -> Server Proxy Settings -> Enable Proxy