Excel Addin error -- Interface not registered

Hi
I am receiving the following error while trying to use “Type Into” activity to read from an Excel file. Can you please assist on how to work through this error?

20.4.0-beta.718

Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}.

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}. —> UiPath.Excel.ExcelException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}. —> System.Runtime.InteropServices.COMException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}.
at Microsoft.Office.Interop.Excel._Application.get_COMAddIns()
at UiPath.Excel.DesignTimeExcelWrapper.<>c__DisplayClass10_0.b__0()
at UiPath.Excel.ExcelContextHelper.Execute[T](Func1 func, ExcelContext context, Object[] contextParams) --- End of inner exception stack trace --- at UiPath.Excel.ExcelContextHelper.Execute[T](Func1 func, ExcelContext context, Object contextParams)
at UiPath.Excel.DesignTimeExcelWrapper.GetAddInObject(String addInName, Nullable1 maxWaitTimeMilliseconds) at UiPath.Excel.Activities.Design.Business.AddInCommunication.ExcelAddInWrapper.Create(IDesignTimeExcelWrapper workbookApplication, IJsonSerializer serializer) at UiPath.Excel.Activities.Design.Services.ExcelExpressionTool.Create(IDesignTimeExcelWrapper workbookApplication, Type targetType, IJsonSerializer jsonSerializer, IExcelAddInExpressionBuilder expressionBuilder, IExcelExpressionTranslator expressionTranslator, Func3 _addInFactory)
— End of inner exception stack trace —
at UiPath.Excel.Activities.Design.Services.ExcelExpressionTool.Create(IDesignTimeExcelWrapper workbookApplication, Type targetType, IJsonSerializer jsonSerializer, IExcelAddInExpressionBuilder expressionBuilder, IExcelExpressionTranslator expressionTranslator, Func3 _addInFactory) at UiPath.Excel.Activities.Design.Services.ExcelAutoCompleteService.OpenExpressionTool(Type autocompleteType, Dictionary2 context, Type targetType)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.AssistantMenuFactory.<>c__DisplayClass7_0.b__0(), HResult -2146233088
01:06:55.3663 => [ERROR] [UiPath.Studio.exe] [40] UiPath.Excel.Activities.Design.Services.ExcelExpressionToolException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}. —> UiPath.Excel.ExcelException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}. —> System.Runtime.InteropServices.COMException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}.
at Microsoft.Office.Interop.Excel._Application.get_COMAddIns()
at UiPath.Excel.DesignTimeExcelWrapper.<>c__DisplayClass10_0.b__0()
at UiPath.Excel.ExcelContextHelper.Execute[T](Func1 func, ExcelContext context, Object[] contextParams) --- End of inner exception stack trace --- at UiPath.Excel.ExcelContextHelper.Execute[T](Func1 func, ExcelContext context, Object contextParams)
at UiPath.Excel.DesignTimeExcelWrapper.GetAddInObject(String addInName, Nullable1 maxWaitTimeMilliseconds) at UiPath.Excel.Activities.Design.Business.AddInCommunication.ExcelAddInWrapper.Create(IDesignTimeExcelWrapper workbookApplication, IJsonSerializer serializer) at UiPath.Excel.Activities.Design.Services.ExcelExpressionTool.Create(IDesignTimeExcelWrapper workbookApplication, Type targetType, IJsonSerializer jsonSerializer, IExcelAddInExpressionBuilder expressionBuilder, IExcelExpressionTranslator expressionTranslator, Func3 _addInFactory)
— End of inner exception stack trace —
at UiPath.Excel.Activities.Design.Services.ExcelExpressionTool.Create(IDesignTimeExcelWrapper workbookApplication, Type targetType, IJsonSerializer jsonSerializer, IExcelAddInExpressionBuilder expressionBuilder, IExcelExpressionTranslator expressionTranslator, Func3 _addInFactory) at UiPath.Excel.Activities.Design.Services.ExcelAutoCompleteService.OpenExpressionTool(Type autocompleteType, Dictionary2 context, Type targetType)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.AssistantMenuFactory.<>c__DisplayClass7_0.b__0(), HResult -2146233088
01:14:52.6019 => [ERROR] [UiPath.Studio.exe] [11] UiPath.Excel.Activities.Design.Services.ExcelExpressionToolException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}. —> UiPath.Excel.ExcelException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}. —> System.Runtime.InteropServices.COMException: Interface not registered

Failed to find proxy registration for IID: {000C0339-0000-0000-C000-000000000046}.
at Microsoft.Office.Interop.Excel._Application.get_COMAddIns()
at UiPath.Excel.DesignTimeExcelWrapper.<>c__DisplayClass10_0.b__0()
at UiPath.Excel.ExcelContextHelper.Execute[T](Func1 func, ExcelContext context, Object[] contextParams) --- End of inner exception stack trace --- at UiPath.Excel.ExcelContextHelper.Execute[T](Func1 func, ExcelContext context, Object contextParams)
at UiPath.Excel.DesignTimeExcelWrapper.GetAddInObject(String addInName, Nullable1 maxWaitTimeMilliseconds) at UiPath.Excel.Activities.Design.Business.AddInCommunication.ExcelAddInWrapper.Create(IDesignTimeExcelWrapper workbookApplication, IJsonSerializer serializer) at UiPath.Excel.Activities.Design.Services.ExcelExpressionTool.Create(IDesignTimeExcelWrapper workbookApplication, Type targetType, IJsonSerializer jsonSerializer, IExcelAddInExpressionBuilder expressionBuilder, IExcelExpressionTranslator expressionTranslator, Func3 _addInFactory)
— End of inner exception stack trace —
at UiPath.Excel.Activities.Design.Services.ExcelExpressionTool.Create(IDesignTimeExcelWrapper workbookApplication, Type targetType, IJsonSerializer jsonSerializer, IExcelAddInExpressionBuilder expressionBuilder, IExcelExpressionTranslator expressionTranslator, Func3 _addInFactory) at UiPath.Excel.Activities.Design.Services.ExcelAutoCompleteService.OpenExpressionTool(Type autocompleteType, Dictionary2 context, Type targetType)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.AssistantMenuFactory.<>c__DisplayClass7_0.b__0(), HResult -2146233088

Thanks
Vipul

Hello,

Might I ask you 2 things :

  1. Can you please upgrade to the latest version of the product ( we published a new versions last night )
  2. What Office version are you using ?

Also very helpful in the debugging process are also the logs. They are found in %localappdata%/UiPath/Logs and we kinda need all of them :slight_smile:

Regards,
Dragos.

Hi Dragos
Please find attached log files. I upgraded to the new version, but still receiving the same error.

Microsoft office details

Thanks
Vipul

Logs 06-May-20.zip (7.12 KB)

Hello,

Your error is kinda strange :slight_smile: So before I suggest that you need to reinstall office :smiley: I would suggest that you try the steps described in this attached document UiPath Excel Addin Installation Troubleshooting v4.docx (388.6 KB) and report back with your findings :slight_smile:
Regards,
Dragos.

1 Like

Use the following steps to determine if a COM add-in is causing the problem:
Click File > Options > Add-ins.
Select COM Add-ins, and click Go.
Clear all the check boxes in the list, and click OK.
Close and restart Excel in normal mode (not in safe mode).

Greeting,
Rachel Gomez