Thursday, 25 July 2013

HTTP Error 500.19 - Internal Server Error

In this article, I am going to explain about HTTP Error 500.19 - Internal Server 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".
Detailed Error Information:
Moduale              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 Source:
     <validation validateIntegratedModeConfiguration="false" />
      <handlers accessPolicy="Read, Script">
       <remove name="ChartImageHandler" />

Steps to Resolve or Fix HTTP Error 500.19 - Internal Server Error

ASP.Net applications come pre-wired with a handlers section in the web.config. By default, this is set to readonly in feature delegation of IIS Server. Take a look in IIS Manager

1. Go to IIS Manager and click Server Name. In right side pane, select No Grouping in Group By option

HTTP Error 500.19 - Internal Server Error


2. Then double-click the setting Feature Delegation.

HTTP Error 500.19 - Internal Server Error


3. Then search and select the setting Handler Mappings which is supposed to set as readonly.

HTTP Error 500.19 - Internal Server Error


4. Right-click and change the value to read/write and now  HTTP Error 500.19 - Internal Server Error will be resolved. You can Restart the IIS Server and access your web page,

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



Thanks,
Morgan
Software Developer

No comments:

Post a Comment