【问题标题】:SSIS Package execution throw error DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER [duplicate]SSIS包执行抛出错误DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER [重复]
【发布时间】:2016-12-20 10:13:26
【问题描述】:

我们尝试测试从保存在服务器共享路径上的 Excel 文件到SQL Table 的简单导入。 我为Excel 源文件97-2003 创建了Excel Connection Manager,选中了First row has column names。 我使用选定的表创建了OLEDB Destination,并映射了列。

很好很好,但是当我们运行包时抛出以下错误:

Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  
The AcquireConnection method call to the connection manager "Excel Connection Manager" 
failed with error code 0xC0202009.  
There may be error messages posted before this with more information on why the AcquireConnection 
method call failed.

我们尝试了什么:

  • 检查了对文件的访问权限
  • 在包级别将 Delay Validation 设置为 True
  • 重新创建Excel Connection Manager
  • 部署包并在Integration Services Catalogs内执行

【问题讨论】:

标签: sql excel ssis connection-string


【解决方案1】:

excel 97 - 2003 没有 64 位驱动程序。解决方法是使用 32 位版本的执行实用程序运行包。

http://technet.microsoft.com/en-us/library/ms141766.aspx

Project Properties->Deugging Section中的设计模式,设置Run64bit RunTime为False

【讨论】:

    猜你喜欢
    • 2020-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-02
    • 2012-05-28
    • 1970-01-01
    • 2019-11-08
    • 1970-01-01
    相关资源
    最近更新 更多