Excel加载项失败,出现0x8004063E [英] Excel add-in fails with 0x8004063E
问题描述
我有一个Excel插件,可以很好地工作. 最近,许多客户收到以下错误(在该问题的最后).
I have an Excel add in which used to work perfectly. Lately, many customers received the following error (in the end of this question).
环境详细信息:
- Windows 7/8 64位.
- Microsoft Office 2013 64位
- 插件是在.net 3.5下编译的
任何帮助将不胜感激.
HRESULT的异常:0x8004063E
Exception from HRESULT: 0x8004063E
********** 例外文本 ********** System.Runtime.InteropServices.COMException(0x8004063E):来自HRESULT的异常:0x8004063E 在System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo) 在System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode,IntPtr errorInfo) 在Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation,String manifestName,String documentName,Boolean showUIDuringDeployment,IntPtr hostServiceProvider,Boolean useFastPath,IntPtr&执行者) 在Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IDomainCreator.CreateCustomizationDomain(字符串解决方案位置,字符串清单名称,字符串documentName,布尔值showUIDuringDeployment,IntPtr hostServiceProvider,IntPtr&执行者)>
********** Exception Text ********** System.Runtime.InteropServices.COMException (0x8004063E): Exception from HRESULT: 0x8004063E at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, Boolean useFastPath, IntPtr& executor) at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IDomainCreator.CreateCustomizationDomain(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, IntPtr& executor)
推荐答案
我在Outlook加载项中遇到了同样的异常.
I was facing same exception for outlook add-in.
具有环境:
- Windows 7 64位.
Microsoft Outlook 2013 64位加载项已编译
在.net 4.5 VS 2013下
- Windows 7 64 bit.
Microsoft outlook 2013 64 bit Add in is compiled
under .net 4.5 VS 2013
.net 4.0下的已编译加载项解决了该问题.
Compiled add-in under .net 4.0 fixed the issue.
这篇关于Excel加载项失败,出现0x8004063E的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!