Skip to main content

Error: EPE Rest Server API Returns Error Code 0x80070021

Symptom

When sending an API command to the EPE REST server, the response is: Error Code 0x80070021.

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:\Program Files\Netwrix\Netwrix Threat Prevention\EpeRestSite\web.config
Config Source:
28: </modules>
29: <handlers>
30: <remove name="ExtensionlessUrlHandler-Integrated-4.0" />

Cause

The installed ASP.NET version is not high enough or is not installed. See the EPE REST Site Requirements for the minimum required versions: https://docs.netwrix.com/docs/threatprevention/7_5

Resolution

  1. Install the ASP.NET version that matches the requirements documentation or a higher version on the EPE REST server.
  2. Restart IIS using the following command from the Windows command prompt:
iisreset restart