Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I want to upload my webapi to iis but i am getting the following error:

enter image description here

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:

enter image description here

how to solve this problem?

like image 415
MD TAHMID HOSSAIN Avatar asked Sep 13 '14 08:09

MD TAHMID HOSSAIN


2 Answers

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

enter image description here

like image 101
codebased Avatar answered Sep 19 '22 11:09

codebased


You need to check these things. if your site is hosted on Windows Server 2008, 2012/R2 and 2016.

enter image description here

like image 27
imran khan Avatar answered Sep 20 '22 11:09

imran khan