The following error occurs when ASP. NET is installed on iis7 in Windows 2008:
HTTPError500.19-Internal Server Error
The requested page cannot be accessed because the configuration data of the page is invalid.
Detailed error information module IIS Web Core
Notification beginrequest
The handler has not been determined
Error code 0x80070021
Configuration ErrorThis configuration section cannot be used in this path. This situation occurs if this section is locked at the parent level. The lock is set by default.(Overridemodedefault = "deny ")Or includeOverridemode = "deny"Or oldAllowOverride = "false"Is clearly set.
Configuration Source
219: <Add name = "scriptmodule" precondition = "managedhandler" type = "system. web. handlers. scriptmodule, system. web. extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/> </modules>
220:
221: <remove name = "webservicehandlerfactory-integrated"/>
Solution:
Control Panel --> Programs and functions --> enable or disable Windows functions --> roles
If "Web Server (IIS)" is not installed yet, select "add ".
If it is already installed, select "Web Server (IIS)" --> Add role service.
Select "Application Development (installed)" --> "ASP. NET ".
Other similar errors 1:
HTTP Error 500.19-Internal Server Error
Configuration error: you cannot use this configuration section in this path. This situation occurs if this section is locked at the parent level. The lock is set by default (overridemodedefault = "deny"), or is explicitly set by the position that contains overridemode = "deny" or the old AllowOverride = "false.
This error occurs because IIS 7 adopts a safer web. Config Management Mechanism. By default, the configuration items are locked and cannot be changed. To cancel the lock, run the command line % WINDIR % \ system32 \ inetsrv \ appcmd unlock config-Section: system. webserver/handlers. Handlers indicates the node name displayed in the red letter in the error message.
If modules is also locked, run % WINDIR % \ system32 \ inetsrv \ appcmd unlock config-Section: system. webserver/modules.
In addition, if you are a friend of Asp.net, remember to check Asp.net when installing iis7. This option is not selected by default, and a similar error message will appear.
Other similar errors 2:
HTTP 500.19-Internal Server Error
The requested page cannot be accessed because the configuration data of the page is invalid.
Detailed error information module IIS Web Core
Notification beginrequest
The handler has not been determined
Error code 0x80070005
Configuration error Unable to read the configuration file due to insufficient Permissions
In the original folder, right-click its attributes and open the "Security" tab. The "group or user name" is displayed. Click "edit" to add a new user name "everyone ", then, change its permissions and set "modify" to allow the second permission.
From: http://www.cnblogs.com/delphinet/archive/2010/03/25/1694960.html