Error, when i register an xll

41 views
Skip to first unread message

Dung Phan Dang

unread,
Jan 23, 2019, 3:34:40 AM1/23/19
to exce...@googlegroups.com
Hi Govert, please help me fix the error with notification
"
ComAddIn [Error] The Ribbon/COM add-in helper required by add-in GxdTool Add-In could not be registered. This is an unexpected error. Error details: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) --- End of inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) at ExcelDna.Integration.ExcelComAddInHelper.LoadComAddIn(ExcelComAddIn addIn) : TargetInvocationException - Exception has been thrown by the target of an invocation. "
Thanks!

Govert van Drimmelen

unread,
Jan 23, 2019, 3:43:34 AM1/23/19
to exce...@googlegroups.com
Check under File -> Options -> Add-ins -> Manage: Disabled Items.

The ribbon add-in gets disabled if the callback code leaks I handled exceptions, or you stop Excel during debugging in a ribbon callback.

-Govert

--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at https://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.

Dung Phan Dang

unread,
Jan 23, 2019, 3:58:00 AM1/23/19
to exce...@googlegroups.com
I registered xll in comaddins. When the error occurred, I tried to remove to re-register but failed. I had to change the path to the xll file. Is there a way for me not to do that.
Thanks!

Dung Phan Dang

unread,
Jan 23, 2019, 4:01:55 AM1/23/19
to exce...@googlegroups.com
I registered xll in comaddins
When the error occurred, I tried to remove to re-register but failed. I had to change the path to the xll file. Is there a way for me not to do that  . 
Thanks for your help.

On Wed, Jan 23, 2019 at 3:43 PM Govert van Drimmelen <gov...@icon.co.za> wrote:
Reply all
Reply to author
Forward
0 new messages