Excel Addin / Installation Failed. Please check the execution logs

Dears,

I am starting with StudioX going for initial set-ups recommended in the training provided by my company. I am stuck just after installing StudioX when I am trying : Tools => Excel Add-in with the message : “Installation Failed. Please check the execution logs”.

Going for details I can read the bellow details.

Thank you for your help.

Error: UiPath.Studio.Shell.SetupExtensions.SetupException: Installation failed. Please check the execution logs
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.GetDriverResponse(String receivedData)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.d__8.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.d__7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ViewModels.ToolsPageViewModel.d__34.MoveNext(), HResult -2146233088

Could you please attach the logs from C:\Users%Username%\AppData\Local\UiPath\Logs?

1 Like

11:33:51.9364 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
11:33:51.9579 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:52.1390 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
11:33:52.1390 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling update online operation.
11:33:52.1710 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving LicenseInfo.
11:33:52.1710 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:52.1829 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved LicenseInfo value RegistrationState: ActiveLicense, ActivationId: UIP-9630e244cd, LicenseCode: 0631-8262-09--, LicenseModel: USER, Version: V2019, StartDate: 1590883200, EndDate: 1622505599, GracePeriod: 0, Email: , CheckInterval: 0, NextCheckDate: 1591619318, BundleCode: STD, SubscriptionCode: COM.
11:33:52.1829 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
11:33:52.1829 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:52.1829 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
11:33:52.1829 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving license content.
11:33:52.1829 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:52.2169 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved license content UiPath.Licensing.Library.Core.Models.LicensePayload.
11:33:53.9622 => [ERROR] [UiPath.Studio.exe] [1] System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at UiPath.Studio.Shared.Services.ResourceIconsService.GetBrushFromKey(String key)
11:33:55.4763 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:55.4763 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling online update license request with current state :ActiveLicense
11:33:55.4793 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:55.4793 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:55.5083 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling activate online operation to https://activate.uipath.com with license code 0631-8262-09--, email , licensingModelData Key = userId, Value = SESA405693Key = machineId, Value = WTCZ0222086L.
11:33:57.9869 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:57.9949 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
11:33:57.9949 => [WARN] [UiPath.Studio.exe] [1] Warn: Handled update online.
11:34:47.5730 => [ERROR] [UiPath.Studio.exe] [1] Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: C. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.GetDriverResponse(String receivedData), HResult -2146233088
11:34:47.5730 => [ERROR] [UiPath.Studio.exe] [1] CylancePROTECT Script Control has blocked access to this PowerShell script.

11:34:47.5760 => [ERROR] [UiPath.Studio.exe] [1] Error: UiPath.Studio.Shell.SetupExtensions.SetupException: Installation failed. Please check the execution logs
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.GetDriverResponse(String receivedData)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.d__8.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.d__7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ViewModels.ToolsPageViewModel.d__34.MoveNext(), HResult -2146233088
15:23:04.5266 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
15:23:04.5470 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:04.6863 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
15:23:04.6863 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling update online operation.
15:23:04.7072 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving LicenseInfo.
15:23:04.7072 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:04.7072 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved LicenseInfo value RegistrationState: ActiveLicense, ActivationId: UIP-9630e244cd, LicenseCode: 0631-8262-09--, LicenseModel: USER, Version: V2019, StartDate: 1590883200, EndDate: 1622505599, GracePeriod: 0, Email: , CheckInterval: 0, NextCheckDate: 1591781636, BundleCode: STD, SubscriptionCode: COM.
15:23:04.7072 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
15:23:04.7172 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:04.7172 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
15:23:04.7172 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving license content.
15:23:04.7172 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:04.7441 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved license content UiPath.Licensing.Library.Core.Models.LicensePayload.
15:23:06.4472 => [ERROR] [UiPath.Studio.exe] [1] System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at UiPath.Studio.Shared.Services.ResourceIconsService.GetBrushFromKey(String key)
15:23:08.0567 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:08.0617 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling online update license request with current state :ActiveLicense
15:23:08.0617 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:08.0617 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:08.0617 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling activate online operation to https://activate.uipath.com with license code 0631-8262-09--, email , licensingModelData Key = userId, Value = SESA405693Key = machineId, Value = WTCZ0222086L.
15:23:10.9993 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:10.9993 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\SESA405693\AppData\Roaming\UiPath\LicenseInternal
15:23:11.0153 => [WARN] [UiPath.Studio.exe] [1] Warn: Handled update online.
15:23:20.6143 => [ERROR] [UiPath.Studio.exe] [1] Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: C. Path ‘’, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.GetDriverResponse(String receivedData), HResult -2146233088
15:23:20.6143 => [ERROR] [UiPath.Studio.exe] [1] CylancePROTECT Script Control has blocked access to this PowerShell script.

15:23:20.6143 => [ERROR] [UiPath.Studio.exe] [1] Error: UiPath.Studio.Shell.SetupExtensions.SetupException: Installation failed. Please check the execution logs
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.GetDriverResponse(String receivedData)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.d__8.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.SetupExtensions.SetupExtensionsService.d__7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ViewModels.ToolsPageViewModel.d__34.MoveNext(), HResult -2146233088
15:25:57.0628 => [WARN] [UiPath.Studio.exe] [1] : System.IO.FileNotFoundException: C:\Users\SESA405693\AppData\Local\UiPath\app-20.4.1\AgentDesktop\AgentDesktop.exe
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Squirrel.UpdateManager.ApplyReleasesImpl.RemoveShortcutsForExecutable(String exeName, ShortcutLocation locations)
at UiPath.Studio.Shell.Update.UpdateStartUpService.<>c__DisplayClass40_1.b__0()
at UiPath.Studio.Shell.Update.UpdateStartUpService.Safe(Action action, String errorMessage)
15:25:57.4557 => [WARN] [UiPath.Studio.exe] [1] : System.IO.FileNotFoundException: C:\Users\SESA405693\AppData\Local\UiPath\app-20.4.1\AgentDesktop\AgentDesktop.exe
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Squirrel.UpdateManager.ApplyReleasesImpl.GetShortcutsForExecutable(String exeName, ShortcutLocation locations, String programArguments)
at UiPath.Studio.Shell.Update.UpdateStartUpService.<>c__DisplayClass51_0.b__0()
at UiPath.Studio.Shell.Update.UpdateStartUpService.Safe(Action action, String errorMessage)

Hi Flavius, I was not able to upload a file as a new guy here.
Thank you

The problem is that CylancePROTECT blocks access to powershell script. You can try to temporary disable the Cylance or add the powershell script in ignore list( if possible).