All Articles

HTTP 502.5 Error while running Sitecore Horizon

Error Description

I faced a strange issue after successfully installing Sitecore Horizon on my local machine.

The error was a HTTP 502.5 - Process Failure error, when I opened Sitecore Horizon on the browser.

HTTP 502.5 Error - Sitecore Horizon

I tried restarting the site a few times. But, that did not resolve the error.

I took up a look on the Event Viewer. The error logged was as shown below.

Application 'MACHINE/WEBROOT/APPHOST/SC93SC.DEV.LOCALAUTHORINGHOSTCLIENT' with physical root 'C:\inetpub\wwwroot\sc93sc.dev.localauthoringhostclient' failed to start process with commandline 'dotnet .\Authoring.Host.dll', ErrorCode = '0x80004005 : e0434352.

Screenshot of the error for reference:

Event Log for the Sitecore Horizon Error

I started my Command Prompt in the site path and executed ‘dotnet .\Authoring.Host.dll’.

The command gave the below error message:

Sitecore Horizon - Command Line Error

The error mentioned that the license file was missing. I looked up the DLL Sitecore.Framework.Runtime.dll and searched for the path where Horizon was searching for the license file.

The path was horizon-authoring-site-root\sitecoreruntime\license.xml.

In my case, it was C:\inetpub\wwwroot\sc93sc.dev.localauthoringhostclient\sitecoreruntime\license.xml.

I copied my license file to this root, and restarted my horizon site instance.

After this, Horizon started to work fine without any error.

Solution for the error

  1. Copy the license.xml file to the folder in the path: horizon-authoring-site-root\sitecoreruntime.
  2. Restart the site.

Please drop a comment below if you have any queries.

Happy Sitecoring!!

Published Feb 11, 2020

Sitecore MVP Technology 2024-23. Web Developer with rich experience in Sitecore and ASP.NET MVC.