Showing posts with label Horizon. Show all posts
Showing posts with label Horizon. Show all posts

Thursday, 13 January 2022

How to fix HTTP Error 502.5 Sitecore Horizon Issue ?

 

You may face the below issue while setting up Horizon on your machine.


And to resolve this issue, it is must verify is .net core 3.1 and 2.1 are on your machine. Please use the below command to verify
dotnet --info (PowerShell as admin)

If not then please install from below

https://dotnet.microsoft.com/en-us/download/dotnet/2.1
https://dotnet.microsoft.com/en-us/download/dotnet/3.1
Once installed, run horizon instance again. 



The above same issue you may also face with Sitecore Identity server and solution will be same.

Wednesday, 12 January 2022

How to uninstall Horizon from existing Sitecore instance ?

There may be a scenario, where we would need to uninstall the horizon instance. For that, we would require the same tool can be downloaded from https://dev.sitecore.net/Downloads/Sitecore_Horizon.aspx


We have chosen for our instance as 


please download and unzip, if not have. And now open InstallHorizon.ps1 script file.

Please add the below variables in the same file 



[string]$InstanceName = $horizonInstanceName,

[string]$PhysicalPath = $horizonPhysicalPath,



now please comment InstallHorizonHost method calling and add below as per screenshot




Import-Module "$PSScriptRoot\InstallerModules.psm1" -Force

Uninstall-HorizonHost `

  -InstanceName $InstanceName `

  -PhysicalPath $PhysicalPath



Once done, run the PowerShell script. Horizon instance will be uninstalled.