问题
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:
- Click "Start button"
- in the search box, enter "Turn windows features on or off"
- in the features window, Click: "Internet Information Services"
- Click: "World Wide Web Services"
- Click: "Application Development Features"
- Check (enable) the features. I checked all but CGI.
来源:https://stackoverflow.com/questions/52586060/http-error-500-19-internal-server-error-error-code-0x80070021