Cause analysis and resolution of HTTP error 500.19

Source: Internet
Author: User
Tags error code iis

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.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.