HTTP Error 500.19 - Internal Server Error: The requested page cannot be accessed because the related configuration data for the page is invalid.
Problem
After deploy your site on IIS7, you may get the following information:
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0×80070021
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:\wwwroot\yoursite.com\web.config
Solution
Open
IIS Manager, select root node( the hosting server), in the middle panel double click
Feature Delegation. In right panel select
Custom Site Delegation..., In upper part of middle panel, click the drop down list and select your site. In
Action panel click
Reset All Delegation.
Other Resources
- An Overview of Feature Delegation in IIS 7.0
- Delegated Administration
Navigator
Other Knowledgebase Articles
Basic Windows Hosting
# of Domains:
4
# of SQL Server Databases:
4
Disk Space:
50GB
Bandwidth:
Unmetered
SQL Server 2016
Monthly:
$4.99
Express Hyper-V Hosting
Dedicated Memory:
2GB
Disk Space:
120GB
Bandwidth:
Unmetered
Windows 2016/2012:
Free
Monthly:
$11.99
Dedicated Windows Server
CPU:
Quad-Core X3440 CPU
RAM:
16GB RAM
Disk:
2x120GB SSD + 300GB SATA
RAID:
RAID 1
Bandwidth:
Unmetered
Windows 2016/2012:
Free
Monthly:
$79.00