asp.net-mvc 如何解决“HTTP 错误 500.19 - 内部服务器错误”“<remove name="ExtensionlessUrlHandler-Integrated-4.0" />”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25821187/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to solve "HTTP Error 500.19 - Internal Server Error" "<remove name="ExtensionlessUrlHandler-Integrated-4.0" />"
提问by MD TAHMID HOSSAIN
I want to upload my webapi to iis but i am getting the following error:
我想将我的 webapi 上传到 iis,但出现以下错误:


Config Source:
24: </modules>
25: <handlers>
26: <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
Here is my webconfig file:
这是我的 webconfig 文件:
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
I am using windows 8.1. I have installed all features of IIS.
我正在使用 Windows 8.1。我已经安装了 IIS 的所有功能。
My application pool is:
我的应用程序池是:


how to solve this problem?
如何解决这个问题呢?
回答by codebased
There are two things to check that you have appropriate installed .Net. And also the following configurations are checked.
有两件事要检查您是否安装了适当的 .Net。并且还检查了以下配置。



