Windows 2008 IIS7 installation asp.net encountered the following error: <!--[endif]-->
HTTP Error 500.19-internal Server error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Verbose error information module IIS WEB Core
Notify BeginRequest
Handler not determined
Error code 0x80070021
Configuration errors cannot be used with this configuration section in this path. This can occur if the section is locked at the parent level. The lock is set by default (overridemodedefault= "Deny"), or is explicitly set by a location tag that contains overridemode= "deny" or the old allowoverride= "false".
Configuration source
219:
220:
221:
Workaround:
<!--[endif]-->
Control Panel--> programs and features--> turn Windows features on or off--> role
Here, if you have not installed Web server (IIS), select Add.
If it is already installed, select Web Server (IIS)--> to add the role service.
Select "Application Development (installed)"--> "asp.net".
Other similar error one:
HTTP Error 500.19-internal Server error
Configuration error: This configuration section cannot be used in this path. This can occur if the section is locked at the parent level. The lock is set by default (overridemodedefault= "Deny"), or is explicitly set by a location tag that contains overridemode= "deny" or the old allowoverride= "false".
This error occurs because IIS 7 uses a more secure Web.config management mechanism, and locks the configuration entry to disallow changes by default. To unlock, you can run the command line%windir%system32inetsrvappcmd unlock config-section:system.webserver/handlers. The handlers is the name of the node in the error message that appears in the red Word.
If the modules is also locked, you can run%windir%system32inetsrvappcmd unlock config-section:system.webserver/modules
In addition, if the use of ASP.net friends, in the installation of IIS7 must remember to check asp.net, the default is not selected, there will be similar error message
Other similar error two:
HTTP Error 500.19-internal Server error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Verbose error information module IIS WEB Core
Notify BeginRequest
Handler not determined
Error code 0x80070005
Configuration error Unable to read configuration file due to insufficient permissions
The original folder, right-click to select its properties, open the Security tab, see "Group or User name", click the Edit button to add a new username "Everyone", and then change its permissions, and set the second permission "modify" to allow.