HRESULT code 0x80070021 The requested page cannot be accessed because the related configuration data for the page is invalid. This problem can occur if the specified portion of the IIS configuration file is locked at a higher configuration level. Unlock the specified section, or don’t use it at the higher level.
Error: 0x80070021 Configuration error: This configuration section can not be used in this way. This happens when the section is locked at the parent level.
Error code 0x80070021. Configuration Error This configuration cannot be attempted on this path. This happens when the partition is locked by the fairy parent. Blocking is either done by default (overrideModeDefault=”Deny”) or set explicitly, or by using a location tag with overrideMode=”Deny” from allowOverride=”false” inheritance.
To fix this error, you need to locate this module in the server section. Open PowerShell. Run as administrator and hence this command. Once unlocked, restart the IIS server and try accessing the site again. You must be sure to unlock this setting directly using the IIS Manager UI.
How do I fix IIS 0x80070021?
Here are the steps to solve:
- Go to C:\Windows\System32\inetsrv\config\applicationHost.config and open it in Notepad.
- Edit the following key value here. Change it. from to “Allow”
What is the error code 0x80070021?
Error code 0x80070021. Configuration Error This configuration office cannot be used on this route. This happens when the parent level section is considered locked. Blocking occurs either by default (overrideModeDefault=”Deny”), also known as set explicitly by specifying with, or overrideMode=”Deny” from the allowOverride=”false” history.
What does error 0x80070021 mean in Windows 10?
Some Windows users often encounter error 0x80070021 when trying to copy a file from one specific location to another. It has been proven that other users have seen this error while trying to help you host a WCF service in an ASP.NET application.
What is error 0x80070021?
Error 0x80070021 may appear when trying to copy files from one location to another. In most cases, our own error 0x80070021 occurs when working with files in Outlook, especially when using Outlook Express. Outlook data is being used by another program.
How to fix outlook error 0x80070021 in safe mode?
A few motivated users who managed to get rid of error 0x80070021 by booting into safe mode. In safe mode, you can move, delete, or modify your Outlook data file without seeing the same error code. Just start pressing the Windows key + R to bring up a more open chat window.

I’m a writer for uscfr.com. In my opinion, technology should make our lives easier, not more complicated. That’s why I enjoy breaking down complex topics and explaining them in a way that everyone can understand. In my free time, I can be found tinkering with new devices or coding up new apps.