AcquireConnection 方法调用失败,错误代码为 0x80040154 : 没有注

[查找 [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 ...

 

 

 

 

 

 

 

 

 

 

 

 

 

The AcquireConnection method call to the connection manager "Excel
Connection Manager" failed with error code 0xC0202009. ... Source: "Microsoft
OLE DB Service Components" Hresult: 0x80040154 Description: "Class ...
forums.asp.net/t/1391496.aspx/1 - 网页快照 - 类似结果
点进去,在如下处发现了答案  Run64BitRunTime

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  接搜索到很多解决办法了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值