Hi,
I hosted the application on II7 and I right clicked on the site and performed Manage Application ---> Browse , I got the error below:
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:\inetpub\wwwroot\ULite\web.config |
---|
<div id="details-right">
Requested URL | http://localhost:80/ULite |
---|
Physical Path | C:\inetpub\wwwroot\ULite |
---|
Logon Method | Not yet determined |
---|
Logon User | Not yet determined |
---|
<div class="clear"></div> <div class="clear"></div> <div class="clear">
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:\inetpub\wwwroot\ULite\web.config |
---|
<div id="details-right">
Requested URL | http://localhost:80/ULite |
---|
Physical Path | C:\inetpub\wwwroot\ULite |
---|
Logon Method | Not yet determined |
---|
Logon User | Not 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