Home  >  Article  >  php教程  >  IIS8.5 configuration error prompts that this configuration section cannot be used in this path. Solution

IIS8.5 configuration error prompts that this configuration section cannot be used in this path. Solution

高洛峰
高洛峰Original
2017-01-06 16:43:241953browse

I just installed IIS8.5 today, and my system is the win8.1 enterprise version. I built a simple page to prepare for debugging, but found this error:

Detailed error message module IIS Web Core

Notification BeginRequest

The handler has not yet been determined

Error code 0x80070021

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 set via a location tag containing overrideMode="Deny" or the legacy allowOverride="false".

I have never seen this problem before. The old method is to Google it according to the error message. It turns out that all the search results are from the same source. There is no way, they are all pasted and copied. I tried this method. Next, it does not take effect. Later, I went to stackoverflow to search and found a different solution. I tried it and it worked. It turns out that the reason is that asp.net was not installed when IIS was installed. This problem is very strange. I used the default settings, but asp.net was not automatically installed.

In the Control Panel————》Programs————>Enable or turn off windows functions————>Internet Infomation Service————>World Wide Web Service————>Application Development Function—— ————》In it, Asp.Net *.* must be selected

For more IIS8.5 configuration error prompts, this configuration section cannot be used in this path. For related articles, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn