This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11409|Reply: 0

[Web] HTTP Error 500.19 - Internal Server Error

[Copy link]
Posted on 2/13/2015 12:12:07 PM | | |

IIS7 installation ASP.NET under Windows 2008 encounters the following error:
HTTP Error 500.19 - Internal Server Error

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



Detailed error information module IIS Web Core

Notify BeginRequest

Treatment procedures have not yet been determined

Error code 0x80070021

Misconfiguration This configuration section cannot be used in this path. This occurs if the section is locked at the parent level. Locking is set by default (overrideModeDefault="Deny") or explicitly by a location tag that contains overrideMode="Deny" or the old allowOverride="false".

Configure the source

219: <add name="scrip remove tModule" preCondition="managedHandler" type="System.Web.Handlers.scrip remove tModule, System.Web.Extensions, Version=3.5.0.0, culture=neutral, PublicKeyToken=31BF3856AD364E35"/></modules>

220:         <handlers>

221:                <remove name="WebServiceHandlerFactory-Integrated"/>




Workaround:



Control Panel - > Programs and Features - > Turn Windows Features on or Off - > Role

Here, select Add if you don't already have Web Server (IIS) installed.

If already installed, select "Web Server (IIS)" > add the role service.

Select "Application Development (Installed)" - > "ASP.NET".


Other similar error 1:

HTTP Error 500.19 - Internal Server Error
Configuration error: This configuration section cannot be used in this path. This occurs if the section is locked at the parent level. Locking is set by default (overrideModeDefault="Deny"), or explicitly 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 that locks configuration items by default and does not allow changes. To unlock the lock, run the command line %windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers. The handlers are the node names shown in red in the error message.

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

In addition, if you use Asp.net, you must remember to check the Asp.net when installing IIS7, and if you don't check it by default, similar error messages will appear




Previous:Microsoft officially announces the start of the Win10 for Phone update!!!
Next:Notes on PHP upload maximum limits
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com