I wonder if there are any recommended troubleshooting steps when the Ribbon/COM addin fails to register or start?
I wonder if there are any recommended troubleshooting steps when the Ribbon/COM addin fails to register or start?
--
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+unsubscribe@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.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
Hi,I wonder if there are any recommended troubleshooting steps when the Ribbon/COM addin fails to register or start?you could try the following:
- Make sure your ribbon class is marked as public with [ComVisible] attribute.
- Open Excel - Options - Add-ins - Disabled items - Enable your add-in if it is there.
- Open Excel - Trust Center - Trust Center Settings - Add-ins - Disable 'Require Applications Add-ins to be signed by Trusted Publisher'.
- Install the latest Windows Updates.
Best regards,Sergey
On Fri, Dec 2, 2016 at 8:32 AM, Andrei F <fandre...@gmail.com> wrote:
I wonder if there are any recommended troubleshooting steps when the Ribbon/COM addin fails to register or start?
--
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 exc...@googlegroups.com.
ExcelDna.Integration Verbose: 4 : Getting Application object
ExcelDna.Integration Verbose: 4 : Got Application object: System.__ComObject
ExcelDna.Integration Error: 4 : The Ribbon/COM add-in helper required by add-in could not be registered.
This is an unexpected error.
ExcelDna.Integration Information: 4 : LoadComAddIn exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
--- 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 ExcelDna.Integration.ExcelComAddInHelper.LoadComAddIn(ExcelComAddIn addIn) with /K in CommandLine
ExcelDna.Integration Verbose: 1 : Exit Integration.DnaLibraryAutoOpen
Hi Andrei,
I’m still very confused about this topic.
You can certainly make a pull request on GitHub so that I can have a look, and that would be a better place for discussion.
But it’s not a change I’m likely to accept without understanding why it fixes the problem – at least having some understanding of why leaving the registration after the COM add-in is loaded makes a difference.
I really would rather be in a position where the problem and the fix you propose are reproducible.
-Govert
Hi Andrei,
-Govert
<li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-l
To post to this group, send email to exc...@googlegroups.com.