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

33,340

Solution 1

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

enter image description here

Solution 2

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

enter image description here

Share:
33,340
MD TAHMID HOSSAIN
Author by

MD TAHMID HOSSAIN

NullPointException

Updated on July 09, 2022

Comments

  • MD TAHMID HOSSAIN
    MD TAHMID HOSSAIN almost 2 years

    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?

  • user2692032
    user2692032 over 8 years
    But why we require Application development features in production. Aren't they meant only for development?
  • codebased
    codebased over 8 years
    @user2692032 feel free to adapt based on your requirement. You don't need CGi for production obviously
  • Artur Mustafin
    Artur Mustafin over 6 years
    Only ASP.NET is required to be added, to fix the issue, actually