We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: Error Code 0x80070021

    Dec 01, 2014 06:35 PM|muhammadm|LINK

    thank you for reply

    Now I got stuck on this error

    HTTP Error 500.19 - Internal Server Error

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

    <div class="content-container">

    Detailed Error Information:

    <div id="details-left">
    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:\Websites\Website\web.config
    </div> <div id="details-right">
    Requested URL    http://localhost:80/
    Physical Path    C:\Websites\Website
    Logon Method    Not yet determined
    Logon User    Not yet determined
    <div class="clear"></div> </div>
    </div> <div class="config_source content-container">

    Config Source:

      193:     <validation validateIntegratedModeConfiguration="false" />
      194:     <modules>
      195:       <remove name="ScriptModule" />
    </div> <div class="content-container"></div>