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

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

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


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

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/5.0.
  2. Make sure to addto the machine's system environment variable,
  • "C:\Program Files\dotnet" and
  • "C:\Program Files (x86)\dotnet"