IIS Publishing Error logging

Source: Internet
Author: User

HTTP Error 500.19-internal Server Error

The requested page cannot be accessed because the associated configuration data for the page is invalid.

Verbose error message module IIS WEB Core

Notify BeginRequest

Handler not yet determined

Error code 0x80070021

Configuration Error This configuration section cannot be used in this path. This behavior occurs if the section is locked at the parent level. The lock is set by default (overridemodedefault= "Deny"), or by including overridemode= "Deny" or the old allowoverride= "false" the location tag is explicitly set.  

Configuration source

219: <add name= "Scriptmodule" precondition= "Managedhandler" type= "System.Web.Handlers.ScriptModule, Syst Em. Web.extensions, version=3.5.0.0, Culture=neutral, publickeytoken=31bf3856ad364e35 "/></modules>

:

221: <remove name= "webservicehandlerfactory-integrated"/>

Workaround:

Control Panel--programs and features--turn Windows features on or off--role

Here, if you have not yet installed Web server (IIS), select Add.

If it is already installed, select Web Server (IIS) and add the role service.

Select "Application Development (installed)" and "ASP."

Other similar error one:

HTTP Error 500.19-internal Server error
Configuration error: This configuration section cannot be used in this path. This behavior occurs 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 employs a more secure Web. config management mechanism, which by default locks the configuration items from being allowed to change. To unlock you can run 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 is displayed in red characters.

If modules is also locked, you can run%windir%\system32\inetsrv\appcmd unlock config-section:system.webserver/modules

Also, if you are using an ASP. NET friend, when installing IIS7, please check the ASP. NET, the default is not selected, there will be similar error message

Other similar error two:

It's also possible that the site was posted on the C-drive.

HTTP Error 500.19-internal Server error
The requested page cannot be accessed because the associated configuration data for the page is invalid.

Verbose error message module IIS WEB Core
Notify BeginRequest
Handler not yet 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 user name "Everyone", then change its permissions, set the second permission "modify" to allow it.

IIS Publishing Error logging

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.