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?

1 Like

Hi, i’m got the same error on the daily process which suddenly happen today.
Does anyone found the root cause or solution yet?

The error message as below:

17:07:17.3675 Error {“message”:“Start Process: The system cannot find the file specified”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2021-02-03T17:07:17.3675858+07:00”,
“fingerprint”:“c5d7a056-f187-488f-afef-b64d05a82931”,“windowsIdentity”:“TRUSCO-PC03\TRUSCO03”,“machineName”:“TRUSCO-PC03”,“processName”:
“InventoryReport”,“processVersion”:“1.0.0”,“jobId”:“4c5647b6-a6ed-4460-9033-300877de7426”,“robotName”:“TRUSCO03”,“machineId”:0,“fileName”:“TRUSCO_Send_Email”}

17:07:17.3675 Warn {“message”:“[InventoryReport_Main / Loop Send Email to Customer] : Got System Error Exception !!!
System.ComponentModel.Win32Exception (0x80004005):
The system cannot find the file specified\r\n
at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)\r\n
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)\r\n
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n
— End of stack trace from previous location where exception was thrown —\r\n
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)\r\n
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)\r\n
at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)\r\n
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)\r\n
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”,
“level”:“Warning”,“logType”:“User”,“timeStamp”:“2021-02-03T17:07:17.3675858+07:00”,“fingerprint”:“6c22748b-1eeb-4553-a955-8f2329315633”,
“windowsIdentity”:“TRUSCO-PC03\TRUSCO03”,“machineName”:“TRUSCO-PC03”,“processName”:“InventoryReport”,“processVersion”:“1.0.0”,
“jobId”:“4c5647b6-a6ed-4460-9033-300877de7426”,“robotName”:“TRUSCO03”,“machineId”:0,“fileName”:“InventoryReport_Main”}

This issue was resolved after restart the machine. :smiley: But still no clue of the root cause and prevention. :expressionless: