HTTP Error 500.19 - Internal Server Error Error Code 0x80070021

依然范特西╮ 提交于 2021-02-11 13:27:01

问题


I've installed an IIS server on windows 8 and plublished my first site, this is the error I get. Any help would be appreciated.

Detailed Error Information:

Module IIS Web Core

Notification BeginRequest

Handler Not yet determined

Error Code 0x80070021

Config Error
   This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".  

Config File \?\C:\inetpub\wwwroot\ContractorScoping\web.config

Requested URL http://localhost:80/ContractorScoping

Physical Path C:\inetpub\wwwroot\ContractorScoping

Logon Method Not yet determined

Logon User Not yet determined

Config Source:
   68:     <validation validateIntegratedModeConfiguration="false" />
   69:     <modules>
   70:       <remove name="ApplicationInsightsWebTracking" />

Line 69 is the one highlighted in red


回答1:


Schoolboy error, forgot to install asp.net on the server




回答2:


This error comes due to missing IIS Packages. I solved the error with doing these steps:

  1. Click "Start button"
  2. in the search box, enter "Turn windows features on or off"
  3. in the features window, Click: "Internet Information Services"
  4. Click: "World Wide Web Services"
  5. Click: "Application Development Features"
  6. Check (enable) the features. I checked all but CGI.


来源:https://stackoverflow.com/questions/52586060/http-error-500-19-internal-server-error-error-code-0x80070021

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!