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|
|Handler||Not yet determined|
|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”.|
To resolve the above I just enabled the Application Development Features under Word Wide Service as shown below
I hope this might help you.