vRanger GUI crashes with following windows popup error message:
“Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
No such host is known.”
This usually happens when browsing vRanger>Tools>Options>Licensing>Host or creating/editing a backup job.
The reason for this is that there is a disconnected host/Virtual Center in the Inventory of vRanger
This disconnected host needs to be removed manually from vRanger database:
sqlcmd -S localhost\vRangerPro -d vRangerPro -Q "select left(address, 40), IsDeleted from InventorySourceConnection"
3. Execute this command 1 time for each host that needs to be removed from " My Inventory"
sqlcmd -S localhost\vRangerPro -d vRangerPro -Q "update InventorySourceConnection set IsDeleted='True' where address='Hostname' "
4. Restart vRangerPro service
This disconnected VC or host needs to be removed manually from vRanger database: