Insights Installer Fails With "An Unexpected Error Has Occurred."

How to resolve when the Insights Installer fails with "An unexpected error has occurred." ?

The error typically occurs when the Insights installer is loading and before the install menu is displayed. The installer should not fail like this. With product version 20.10, the installer may fail at load time if the .Net requirements are not met.


Resolution:

  1. Check the logs at %localappdata%\Temp - Name convention is: UiPathInsightsInstaller_<date stamp>.log

    • Check to see if there is a failure like: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. --- at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

    • The above can happen when the .Net framework does not meet the requirements. Try updating to 4.7.2+

    • Read more on the Finding .Net Framework Version

  2. There is also usually a log located at %temp%. Name convention is: InsightsInstallerExecuter.log

    • Check it if the previous log is not helpful.

  3. Make sure that all system requirements are met. Read the recommended Insights Hardware and Software requirements .

  4. If the mentioned system requirements are met and still the Insights installer fails,then open a ticket with UiPath and provide the logs mentioned in the previous steps for deeper investigation.