HTTP Error 500.19 - Internal Server Error Error Code 0x80070021


I've installed an IIS server on windows 8 and plublished my first site, this is the error I get. Any help would be appreciated.

Detailed Error Information:

Module IIS Web Core

Notification BeginRequest

Handler Not yet determined

Error Code 0x80070021

Config Error
   This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".  

Config File \?\C:\inetpub\wwwroot\ContractorScoping\web.config

Requested URL http://localhost:80/ContractorScoping

Physical Path C:\inetpub\wwwroot\ContractorScoping

Logon Method Not yet determined

Logon User Not yet determined

Config Source:
   68:     <validation validateIntegratedModeConfiguration="false" />
   69:     <modules>
   70:       <remove name="ApplicationInsightsWebTracking" />

Line 69 is the one highlighted in red

asked on Stack Overflow Oct 1, 2018 by Lee

2 Answers


Schoolboy error, forgot to install on the server

answered on Stack Overflow Oct 2, 2018 by Lee

This error comes due to missing IIS Packages. I solved the error with doing these steps:

  1. Click "Start button"
  2. in the search box, enter "Turn windows features on or off"
  3. in the features window, Click: "Internet Information Services"
  4. Click: "World Wide Web Services"
  5. Click: "Application Development Features"
  6. Check (enable) the features. I checked all but CGI.
answered on Stack Overflow Apr 11, 2019 by Berdin Ege Turgut

User contributions licensed under CC BY-SA 3.0