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

Shared .NET Hosting

# of Domains: 1
# of SQL Server Databases: 1
Disk Space: Unlimited
Bandwidth: Unlimited
Email: Unlimited
SQL Server 2008 R2
Monthly: $2.99
More Information About Unlimited Shared ASP.NET Hosting Plan

Reseller .NET Hosting

# of Domains: 10
# of SQL Server Databases: 10
Disk Space: Unlimited
Bandwidth: Unlimited
Email: Unlimited
SQL Server 2008 R2
Monthly: $7.99
More Information About Unlimited ASP.NET Hosting Plan

Windows Hyper-V Server

Dedicated Memory:1GB
Disk Space: 100GB
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $29.99
More Information About Unlimited Windows Hyper-V Server

Dedicated .NET Server

CPU: Intel Core i3-2100 CPU
RAM: 8GB RAM
Disk: 2x320GB SATA
RAID: RAID 1
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $89.00
More Information About Unlimited Dedicated ASP.NET Server