Intermittent Orchestrator Outage With An Error Has Occurred Message On Webpage

How to resolve when intermittent Orchestrator outage occurs with an error has occurred message on webpage?

Suggested Workaround : Reset the IIS/ Restart the website/ Recycle the App Pool.

Steps to Reproduce : Restart the machine.

Error Description in event logs :

Application '/LM/W3SVC/2/ROOT' with physical root 'C:\Program Files (x86)\UiPath\Orchestrator\' failed to load coreclr.
Exception message: Managed server didn't initialize after 120000 ms.

Process Id: 3848.

File Version: 13.1.21048.13. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: cf2c5c9c6dca430b97aa96429b84d0da07eb77f1

The Open procedure for service "WmiApRpl" in DLL "C:\Windows\system32\wbem\wmiaprpl.dll" failed with error code The device is not ready.. Performance data for this service will not be available.

Resolution Steps: The above two errors suggests that the issue is with the Perflib dll load failure. The same is causing failure for .Net core runtime as well. Perform the below

  • Uninstall the available .Net core runtime and hosting bundle
  • Install the ASP.Net Core IIS Module hosting bundle with parameter OPT_NO_RUNTIME=1 as mentioned in the Prerequisites for Installation .
  • Restart the server .