An IIS8.5 configuration error indicates that the resolution of this configuration section cannot be used in this path

  • 2020-05-12 06:29:28
  • OfStack

I just installed IIS8.5 today, and my system is win8.1 enterprise version. Built a simple page to debug, only to find this error:

Detailed error information module IIS Web Core

Inform BeginRequest

The handler has not been determined

Error code 0x80070021

A configuration error cannot use this configuration section in this path. This occurs if the section is locked at the parent level. The lock is set by default (overrideModeDefault="Deny") or explicitly by a location marker containing overrideMode="Deny" or the older allowOverride="false".

This problem has not been seen before, the old method, according to the error prompt google1, the results found that all the search results are from 1 source, no way, are paste and copy, I tried this method, did not take effect. Later, I went to stackoverflow to look for one, and found a different scheme. I tried one time and found it feasible. The original reason turned out to be that IIS was not installed with asp.net, which was a very weird problem. I used the default setting, but asp.net was not installed automatically.

Select Asp.Net *.* in the control panel -- applications -- enable or disable windows -- Internet Infomation Service -- web services -- application development --


Related articles: