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 How-Tos

Express Windows Server

CPU: Intel Core 2 Duo E8400
CPU Speed: 3.00GHz
Cache: 6MB
RAM: 2GB RAM
Disk: 2x320GB SATA
RAID: RAID 1
Bandwidth: 1000GB
Window Server 2008 or 2003: Free
IP Addresses: 8
Monthly: $149.00

Detail...

Standard Windows Server

CPU: Quad-Core Xeon E5410
CPU Speed: 2.33GHz
Cache: 12MB
RAM: 2GB RAM
Disk: 2x146GB SCSI
RAID: RAID 1
Bandwidth: 1500GB
Window Server 2008 or 2003: Free
IP Addresses: 8
Monthly: $259.00

Detail...