Thursday 9 February 2017

HTTP Error 500.19 - Internal Server Error

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

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:\Program Files (x86)\MyProject\home\web.config
Requested URL
Physical Path
   C:\Program Files (x86)\MyProject\
Logon Method
   Not yet determined
Logon User
   Not yet determined

Config Source:

    3:   <system.webServer>
    4:     <handlers accessPolicy="Read, Script" />
    5:     <directoryBrowse enabled="false" />

More Information:


Solution:

·         Open Control Panel
·         Click on "Turn windows features on or off"
·         Check "Internet Information Services"
·         Check "World Wide Web Services"
·         Check "Application Development Features"
·         Enable all items under this