iis7/iis7.5 HTTP Error 500.19 configuration error Unable to read configuration file resolution due to insufficient permissions _win server

Source: Internet
Author: User

Win7 Web development problems-Unable to access the requested page because of insufficient permissions to read the configuration file

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%\system32\inetsrv\appcmd 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%\system32\inetsrv\appcmd 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

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.

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.