HTTP Error 500.19 – Internal Server Error – 0x80070021 (IIS 8.5)

I started getting below error in a fresh box where I have got windows 8.1 and Visual Studio 2013,

HTTP Error 500.19 – Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

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”.

HTTP Error 500.19 - Internal Server Error 0x80070021

To resolve the above I just enabled the Application Development Features under Word Wide Service as shown below

HTTP Error 500.19 - Internal Server 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". 0x8007002 IIS Change

I hope this might help you.

Advertisements