IIS error 0x80070021: Orchestrator 500 Error

How to resolve the error 500 is displayed post installing Orchestrator and no errors are present in the EventViewer?

Troubleshooting Steps:

  1. Open site web.config and locate the following section:
<httpErrors errorMode="Custom">
<remove statusCode="401" />
<error statusCode="401" path="wwwroot\401.html" responseMode="File" />
<remove statusCode="403" />
<error statusCode="403" path="wwwroot\403.html" responseMode="File" />
<remove statusCode="404" subStatusCode="13" />
<error statusCode="404" subStatusCode="13" path="wwwroot\404.13.json" responseMode="File" />
<remove statusCode="500" />
<error statusCode="500" path="wwwroot\GenericError.html" responseMode="File" />
</httpErrors>
  1. Modify the first line errorMode=”Custom” to “Detailed“ (ie: <httpErrors errorMode="Detailed">)
  2. Reset and reload site
  3. One possible error might be as following:
image.png


Resolution:
  1. Navigate to C:\Windows\System32\inetsrv\config\applicationHost.config and edit it
  2. Search for setting : <location path="" overrideMode="Deny"> and modify it to Allow (ie: <location path="" overrideMode="Allow">)
  3. Reset IIS and reload site.