This error occurs when installing a site locally with IIS on a windows 10 or a windows 8.1. It is not excluded that it can also occur on server operating systems.
Module :IIS Web Core
Handler: Not yet determined
Configuration error: This configuration section can not be used in this way. This happens when the section is locked at the parent level. Locking is either by default (overrideModeDefault = “Deny”), or installed directly by the tag location with overrideMode = “Deny” or inherited property allowOverride = “false”.
The configuration file
Logon Method: Not yet determined
Users who have logged on: yet to be determined
You also need to install .NET and the IIS development tools