[查找 [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 ...
Connection Manager" failed with error code 0xC0202009. ... Source: "Microsoft
OLE DB Service Components" Hresult: 0x80040154 Description: "Class ...
Re: SSIS Excel Connection Manager Error
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 接搜索到很多解决办法了
解决SSIS在64位环境下的AcquireConnection方法调用失败问题

本文详细描述了如何解决在64位操作系统环境下使用SSIS(SQL Server Integration Services)时遇到的AcquireConnection方法调用失败问题。通过设置运行时属性为False来选择32位执行,从而解决了错误代码0x80040154导致的无法连接数据源的问题。
716

被折叠的 条评论
为什么被折叠?



