Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

HTTP Error 500.19 - Internal Server Error :: The requested page cannot be accessed because the related configuration data for the page is invalid.

$
0
0

Hi,

I hosted the application on II7 and I right clicked on the site and performed Manage Application ---> Browse , I got the error below:

ModuleIIS Web Core
NotificationBeginRequest
HandlerNot yet determined
Error Code0x80070021
Config ErrorThis 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:\inetpub\wwwroot\ULite\web.config
<div id="details-right">
Requested URLhttp://localhost:80/ULite
Physical PathC:\inetpub\wwwroot\ULite
Logon MethodNot yet determined
Logon UserNot yet determined
<div class="clear"></div> <div class="clear"></div> <div class="clear">
ModuleIIS Web Core
NotificationBeginRequest
HandlerNot yet determined
Error Code0x80070021
Config ErrorThis 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:\inetpub\wwwroot\ULite\web.config
<div id="details-right">
Requested URLhttp://localhost:80/ULite
Physical PathC:\inetpub\wwwroot\ULite
Logon MethodNot yet determined
Logon UserNot yet determined
<div class="clear"></div> </div> <div class="config_source content-container"></div> </div> </div>

I tried all the options given in the below link:

http://ask.webatall.com/iis/18671_http-error-500-19-and-error-code-0x80070021.html

1. I ran the ASP.Net Registration Tool.

2. I also performed :

<section name="handlers" overrideModeDefault="Deny" />  change this value from "Deny" to "Allow"

b)

<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
    change this value from "Deny" to "Allow"

3. I unlocked the section , locked in parent level using

%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/handlers -commitpath:apphost

But I am still getting the same error when I browse the site.

Regards,

Vijetha


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>