How to solve "HTTP Error 500.19 - Internal Server Error" "<remove name="ExtensionlessUrlHandler-Integrated-4.0" />"

asp.net-mvc, asp.net-web-api, asp.net-web-api2

Solution

There are two things to check that you have appropriate installed .Net. And also the following configurations are checked.

Problem

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" /> ``` 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> ``` I am using windows 8.1. I have installed all features of IIS. My application pool is: how to solve this problem?

Original source