0

When I install a AddInExpress addin and open Excel I get this error:

Exception Source:      
Exception Type:        System.Runtime.InteropServices.COMException
Exception Message:     Unable to create specified ActiveX control.
Exception Target Site: ForwardCallToInvokeMember

---- Stack Trace ----
   System.RuntimeType.ForwardCallToInvokeMember(memberName As String, flags As BindingFlags, target As Object, aWrapperTypes As Int32[], msgData As MessageData&)
       mscorlib.dll: N 0202 (0xCA) IL 
   AddinExpress.MSO.ICTPFactory.CreateCTP(CTPAxID As String, CTPTitle As String, CTPParentWindow As Object)
       mscorlib.dll: N 00000 (0x0) JIT 
   AddinExpress.MSO.ADXAddinModule.AddCustomTaskPanes(parent As Object, outlookFolderName As String)
       mscorlib.dll: N 0000 (0x0) IL

Searching the web there is only one other article: http://www.add-in-express.com/forum/read.php?FID=5&TID=2355 and that isn't applicable because I have a higher version.

Does anyone know how to overcome this error?

4

2 回答 2

0

回答我自己的问题以帮助将来的其他人。

我不得不更改任务窗格的名称:

在此处输入图像描述

于 2013-05-09T04:34:50.873 回答
0

当我的应用程序命名空间的最后一项是“Word”时,我遇到了这个问题。我的完全控制名称是“TermLynx.Word.UserControl”。在重构我的项目以使用“TermLynx.WordAddin”而不是“TermLynx.Word”后,问题就消失了。

于 2019-04-10T17:13:10.100 回答