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