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

  1. An Overview of Feature Delegation in IIS 7.0
  2. Delegated Administration


Navigator

Other Knowledgebase Articles

Basic Windows Hosting

# of Domains: 4
# of SQL Server Databases: 4
Disk Space: 50GB
Bandwidth: Unmetered
SQL Server 2014
Monthly: $4.99
More Information About Free Shared Windows Hosting Plan

Express Hyper-V Hosting

Dedicated Memory:2GB
Disk Space: 100GB
Bandwidth: Unmetered
Windows 2012/2008: Free
Monthly: $11.99
More Information About Express Windows Hyper-V Server

Dedicated Windows Server

CPU: Quad-Core X3440 CPU
RAM: 16GB RAM
Disk: 2x120GB SSD + 300GB SATA
RAID: RAID 1
Bandwidth: Unmetered
Windows 2012/2008: Free
Monthly: $79.00
More Information About Dedicated Windows Server with SSD
SQL Server Hosting | ASP.NET Hosting | DotNetNuke Hosting | Windows Hyper-V Hosting | Dedicated SQL Server Hosting