Error "HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process)" Thrown When Trying To Access Test Suite

Error fix for "HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process)" thrown when trying to access Test Suite.

Issue Description:
When trying to access Test Suite, the error message "HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process)" appears:


From the Windows Event Viewer, the below error is logged (sometimes it may be necessary to do IISRESET to be able to see this error):

image.png


Root Cause:
ASP.Net core is not installed properly.

Resolution:

  1. Download and install ASP.NET Core Runtime Hosting Bundle from here: https://dotnet.microsoft.com/en-us/download/dotnet. Please check the version Test Suite - Software requirements and prerequisites (uipath.com) required.
  2. Make sure to add to the machine's system environment variable if it doesn't exist.
  • "C:\Program Files\dotnet" and
  • "C:\Program Files (x86)\dotnet"