如何解决"HTTP错误500.19-内部服务器错误"? “<删除名称=" ExtensionlessUrlHandler-Integrated-4.0";/>"
问题描述:
我想将我的webapi上传到iis,但是出现以下错误:
I want to upload my webapi to iis but i am getting the following error:
Config Source:
24: </modules>
25: <handlers>
26: <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
这是我的webconfig文件:
Here is my webconfig file:
<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>
我正在使用Windows 8.1.我已经安装了IIS的所有功能.
I am using windows 8.1. I have installed all features of IIS.
我的应用程序池是:
如何解决这个问题?
答
有两件事可以检查您是否已适当安装.Net.还要检查以下配置.
There are two things to check that you have appropriate installed .Net. And also the following configurations are checked.