The System Cannot Find The File Specified - Excel Plugin

I have a team member who is unable to activate the Excel plugin using StudioX.

Whenever they try it, an error message appears “The System Cannot Find The File Specified”.

Others using the same setup file do not have this issue.

The workaround under the below topic did not work;

Can anybody assist?

Please make sure there is no excel process hanging in the task manager when you try to install.

Also it could help us if you provide us with the logs :slight_smile:

location should be %localappdata%\UiPath\Logs and %localappdata%\Temp for the excel addin log (UiPathOfficeAddin.log)

Regards,
Dragos

Hi,

I am getting the same error.
When I try to find the log file “UiPathOfficeAddin.log”, I do not see it.

Thanks

Hello,

I have to ask the following did you install the excel plugin ? If so the log for the installation is ExcelAddIn_Install.log.
The error with file not found it kinda makes me think of a situation where some antivirus solutions flag the power-shell script that handles the install as a malicious code and deletes it or places it in quarantine .

So could you please check if you still have the following file: OfficeAddInSetup.ps1 in this path C:\Users<your username>\AppData\Local\UiPath\app-20.4.0-\UiPath this in case one is using the 20.4 community release that is available for download on our site.

Regards,
Dragos.

@dragos.suma
I could not install excel add-in, the above mentioned error appears.

When I navigate to C:\Users\AppData\Local\UiPath, I see there are 2 folders “app-20.4.0-beta0250” and “app-20.4.0-beta1731”. Both these folders contain “OfficeAddInSetup.ps1”.

Thanks

Can you check if you have the ExcelAddIn_Install.log in the logs folder (%localappdata%/UiPath/Logs) and if so can you share it with us :slight_smile:

Regards,
Dragos.

@dragos.suma,

I do not have that log file you mentioned.

Thanks

That is most strange. So you can not install the plugin and you can not find the logs. :thinking: Quick idea … uninstall studio and reinstall it using admin rights. Also you you are not particularity fond of the files found in the logs folder you can delete them also so that the installation can produce a fresh new set of unaltered logs.

Then please share them :slight_smile:

Regards,
Dragos.

Hi Dragos,
Hope you are doing good.
I am also facing the same issue of "“The System Cannot Find The File Specified” while trying to activate Excel Plugin.Attaching screenshot and and pasting logs as am not not upload the logs since am a new user.

Please please help me with this :slight_smile:

image

19:08:00.4046 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
19:08:00.4535 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:00.7128 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
19:08:00.7178 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling update online operation.
19:08:00.7537 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving LicenseInfo.
19:08:00.7537 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:00.8219 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved LicenseInfo value RegistrationState: ActiveLicense, ActivationId: UIP-93c2740fee, LicenseCode: 5222-7643-11--, LicenseModel: USER, Version: V2019, StartDate: 1590364800, EndDate: 1621987199, GracePeriod: 0, Email: , CheckInterval: 0, NextCheckDate: 1591390798, BundleCode: STD, SubscriptionCode: COM.
19:08:00.8240 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState.
19:08:00.8240 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:00.8240 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense.
19:08:00.8449 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving license content.
19:08:00.8449 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:00.9107 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved license content UiPath.Licensing.Library.Core.Models.LicensePayload.
19:08:05.3373 => [ERROR] [UiPath.Studio.exe] [1] System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at UiPath.Studio.Shared.Services.ResourceIconsService.GetBrushFromKey(String key) 19:08:09.8384 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:09.8444 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling online update license request with current state :ActiveLicense 19:08:09.8444 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:09.8444 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:09.8614 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling activate online operation to https://activate.uipath.com with license code 5222-7643-11-****-****, email , licensingModelData Key = userId, Value = adminKey = machineId, Value = DESKTOP-CKT41HQ. 19:08:16.7701 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:16.7840 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:16.7940 => [WARN] [UiPath.Studio.exe] [1] Warn: Handled update online. 19:08:42.5087 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState. 19:08:42.5367 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:42.6873 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense. 19:08:42.6873 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling update online operation. 19:08:42.7264 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving LicenseInfo. 19:08:42.7264 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:42.7411 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved LicenseInfo value RegistrationState: ActiveLicense, ActivationId: UIP-93c2740fee, LicenseCode: 5222-7643-11-****-****, LicenseModel: USER, Version: V2019, StartDate: 1590364800, EndDate: 1621987199, GracePeriod: 0, Email: , CheckInterval: 0, NextCheckDate: 1591537090, BundleCode: STD, SubscriptionCode: COM. 19:08:42.7411 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving RegistrationState. 19:08:42.7411 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:42.7471 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved RegistrationState value ActiveLicense. 19:08:42.7471 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieving license content. 19:08:42.7471 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal 19:08:42.7750 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved license content UiPath.Licensing.Library.Core.Models.LicensePayload. 19:08:45.3946 => [ERROR] [UiPath.Studio.exe] [1] System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2.FindEntry(TKey key)
at UiPath.Studio.Shared.Services.ResourceIconsService.GetBrushFromKey(String key)
19:08:46.6403 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:46.6403 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling online update license request with current state :ActiveLicense
19:08:46.6403 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:46.6523 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:46.6523 => [WARN] [UiPath.Studio.exe] [1] Warn: Handling activate online operation to https://activate.uipath.com with license code 5222-7643-11--, email , licensingModelData Key = userId, Value = adminKey = machineId, Value = DESKTOP-CKT41HQ.
19:08:48.1106 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:48.1245 => [WARN] [UiPath.Studio.exe] [1] Warn: Current license folder path: C:\Users\admin\AppData\Roaming\UiPath\LicenseInternal
19:08:48.1385 => [WARN] [UiPath.Studio.exe] [1] Warn: Handled update online.
19:09:01.5334 => [ERROR] [UiPath.Studio.exe] [1] Error: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
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 -2147467259

while installing the excel add in I am getting the same error.Here is the log

20.4.1-beta.22

The system cannot find the file specified

Error: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
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 -2147467259

Can someone suggest the solutin.

Have anyone found a solution yet?