HTTP Error 500.19 and error code : 0x80070021 while configuring IIS server
<p>I am trying to configure IIS server but I get this error. </p>

<blockquote>
  <p>HTTP Error 500.19 - Internal Server Error</p>
  
  <p>The requested page cannot be accessed because the related
  configuration data for the page is invalid.</p>
</blockquote>

<p><strong>Detailed Error Information:</strong></p>

<p><strong>Module</strong> IIS Web Core</p>

<p><strong>Notification</strong> BeginRequest</p>

<p><strong>Handler</strong> Not yet determined</p>

<p><strong>Error Code</strong> 0x80070021</p>

<p><strong>Config Error</strong> 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". </p>

<p><strong>Config File</strong> \?\C:\inetpub\wwwroot\LinedataHandyPartner\web.config</p>

<blockquote>
  <p>Config Source:</p>
</blockquote>

<pre><code>   52:     &lt;/handlers&gt;
   53:     &lt;modules runAllManagedModulesForAllRequests="true"&gt;
   54:       &lt;remove name="UrlRoutingModule-4.0" /&gt;
</code></pre>