问题描述
我们已经从Win 7 32位64位升级了我们的电脑。在那之后我们的一些基于32位的工具无法正常使用microsoft.office.excel.interop.dll。 (从excel获取数据)
We have upgraded our PCs from Win 7 32 bit 64bit. After that some of our tools which are 32 bit based not working which are using microsoft.office.excel.interop.dll. ( fetch data from excel)
Windows版本:Window 7 Enterprise
Windows Version : Window 7 Enterprise
Office版本:Office 2013  ;
Office Version : Office 2013
Visual Studio版本2012
Visual Studio version 2012
但它适用于Windows 8 / Office 2013 / Visual Studio 2012环境
But it is working in Windows 8 / Office 2013 / Visual Studio 2012 environment
错误
&"无法转换类型为'Microsoft.Office的COM对象.Interop.Excel.ApplicationClass'到接口类型'Microsoft.Office.Interop.Excel._Application'。此操作失败,因为对于具有
IID"{000208D5-0000-0000-C000-000000000046}"的接口的COM组件的QueryInterface调用由于以下错误而失败:加载类型库/ DLL时出错。 (来自HRESULT的异常:0x80029C4A(TYPE_E_CANTLOADLIBRARY))。
"
如何解决?
任何 已知inssue ?
Any known inssue ?
推荐答案
欢迎来到MSDN论坛。
Welcome to the MSDN forum.
请参阅您的描述,您的问题与excel开发有关。由于我们的论坛是讨论VS IDE,我将帮助您将此主题移至相应的论坛以获得更好的支持,感谢您的理解。
Refer to your description, your issue is about the excel development. Since our forum is to discuss the VS IDE, I will help you move this thread to the appropriate forum for a better support, thank you for your understanding.
致以最诚挚的问候,
Sara
这篇关于Office 2013-加载类型库/ DLL时出错。 (来自HRESULT的异常:0x80029C4A(TYPE_E_CANTLOADLIBRARY))。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!