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.
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:
I started my Command Prompt in the site path and executed ‘dotnet .\Authoring.Host.dll’.
The command gave the below error message:
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.
Please drop a comment below if you have any queries.