[查找 [142]] 错误: 对连接管理器“LocalHost.jxwfkjlweb”的 AcquireConnection 方法调用失败,错误代码为 0x80040154。
[连接管理器“LocalHost.jxwfkjlweb”] 错误: 没有注册类别
========================
环境: 64位server2003
64位sqlserver2005
原因: 64位的ssis少了很多可用的数据源
解决:
在 Integration Services 包的“项目属性”中,通过在“调试”页上设置 Run64BitRuntime 属性的值为 False 以选择 32 位执行
步骤:顶部菜单-项目-属性(或....属性)-调试-在“调试”页上设置 Run64BitRuntime 属性的值为 False
==========================
后记:
该问题困扰了好久好久,百度一直没有找到解决办法,今特记录下找到该方法的解决过程
复制 “AcquireConnection 方法调用失败,错误代码为 0x80040154。”错误信息到http://fanyi.youdao.com/translate 有道翻译
翻译结果为:AcquireConnection method calls failure, the error code 0x80040154.
然后复制上面语句到google查询(百度好久没找到结果,换google试试了)
查询结果发现正确的语法语句应该是
The AcquireConnection method call failed with error code 0x80040154.
于是把上面语句再google一边 ,发现 code 0xC0202009 的很多 ,于是就提取 AcquireConnection 和 error code 0x80040154 做为关键字查询
选择第二条查询结果
SSIS Excel Connection Manager Error : The Official Microsoft ASP ...
Mar 02, 2009 12:01 PM|LINK
This issue is occuring because you are having a 64 bit OS and Office Excel (including most of the office products) does not have 64bit provider and hence the error above on Excel connection.
You can solve this issue by setting Run64BitRunTime property as False
Go to properties page for the overall SSIS solution, simply set the Run64BitRunTime = False.
Thanks,
Anoop
英文难看懂,然后百度Run64BitRunTime ssis 接搜索到很多解决办法了