Error during installation of excel add-in (Unable to install)

I get this error while trying to include the add-in.


I tried restarting the device and also ran the “Repair tool”. Office version 2019.

Hi @Ishwarya_Vageesh,

It seems that all the add-ins are disabled
For this issue, UiPath’s recommendation is:

  1. Open Microsoft Excel and select File > Options > Trust Center > Trust Center Settings > Add-ins .
  2. If Disable all Application Add-ins is selected, deselect this option.

Please refer to https://docs.uipath.com/installation-and-upgrade/docs/excel-add-in

Hope this helps.
Best regards,
Marius

Hello,

Seems that you kinda’ went through my first 2 suggestions ( just kidding I would never suggest restarting :smiley: ) so this leaves us with incomplete information that is necessary for debugging.

What we would love to obtain from you would be the following:

  • Logs – found in %localappdata%/UiPath/Logs. There we would be most interested in UiPath_ExcelAddIn.log

  • Studio version , since you already provided the Office version.

Also if possible could you run the Office repair tool one more time and save the console output ?

Regards,
Dragos.

Hi Marius,

Thanks for the reply. I checked the Excel settings. However, the Disable all Application Add-ins wasn’t selected.

Thanks!

Hi @dragos.suma, Thanks for your help.

Here’s the log file output

 UiPath.ExcelAddIn Error: 0 : 2021-01-07 19:43:35,Excel version = 16.0,System.Runtime.InteropServices.COMException (0x8001010A): The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))
   at Microsoft.Office.Core.IRibbonUI.InvalidateControl(String ControlID)
   at Microsoft.Office.Tools.Ribbon.RibbonComponentImpl.PerformLayout()
   at Microsoft.Office.Tools.Ribbon.RibbonPropertyStorage.SetDynamicValue[T](T& field, T value)
   at Microsoft.Office.Tools.Ribbon.RibbonControlImpl.set_Enabled(Boolean value)
   at UiPath.Integration.ExcelAddIn.Views.MainRibbonView.UpdateButtons(String message)
   at UiPath.Integration.ExcelAddIn.Views.MainRibbonView.OnEditModeChanged(Object sender, Boolean inEditMode)
UiPath.ExcelAddIn Error: 0 : 2021-01-07 23:35:00,Excel version = 16.0,System.Threading.ThreadAbortException: Thread was being aborted.
   at Microsoft.Office.Interop.Excel._Application.get_CommandBars()
   at UiPath.Integration.ExcelAddIn.Utils.ApplicationWrapper.CheckStatus(Object sender, ElapsedEventArgs e)
UiPath.ExcelAddIn Error: 0 : 2021-01-07 23:35:00,Excel version = 16.0,System.Threading.ThreadAbortException: Thread was being aborted.
   at Microsoft.Office.Core._CommandBars.GetEnabledMso(String idMso)
   at UiPath.Integration.ExcelAddIn.Utils.ApplicationWrapper.CheckStatus(Object sender, ElapsedEventArgs e)

And here’s the console output from the repair tool after running the repair plan

Checking interop registry entries...
>>>Generating execution plan for Excel Interop repair actions <<<

Deleting registry key: HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win64
Creating registry key: HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win32
Setting registry value for key: HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win32\ to C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
Deleting registry key: HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win64
Creating registry key: HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win32
Setting registry value for key: HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0\Win32\ to C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE

>>>Script generated. 6 action(s) exported.<<<
Saving the repair actions to C:\Users\IV\AppData\Local\Temp\UiPath_OfficeRepair_Excel_20210108192653484.reg


Executing reg EXPORT "HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0" "C:\Users\IV\AppData\Local\UiPath\Backups\UiPath_OfficeRepair_Excel_Backup_20210108192653520.reg"
Created backup for key HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0 in file C:\Users\IV\AppData\Local\UiPath\Backups\UiPath_OfficeRepair_Excel_Backup_20210108192653520.reg exitCode = 0
Executing reg EXPORT "HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0" "C:\Users\IV\AppData\Local\UiPath\Backups\UiPath_OfficeRepair_Excel_Backup_20210108192653759.reg"
Created backup for key HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{00020813-0000-0000-C000-000000000046}\1.9\0 in file C:\Users\IV\AppData\Local\UiPath\Backups\UiPath_OfficeRepair_Excel_Backup_20210108192653759.reg exitCode = 0
Executing regedit "C:\Users\IV\AppData\Local\Temp\UiPath_OfficeRepair_Excel_20210108192653484.reg"
Executing the repair actions from C:\Users\IV\AppData\Local\Temp\UiPath_OfficeRepair_Excel_20210108192653484.reg exitCode = 0

Do let me know if you need more information.

Regards,
Ishwarya

Just to make sure , you running which version of StudioX ?

image