本文介绍了如何解决"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.

这篇关于如何解决"HTTP错误500.19-内部服务器错误"? “&lt;删除名称=" ExtensionlessUrlHandler-Integrated-4.0";/&gt;&quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 01:57