SSIS包执行抛出错误DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

我们尝试将保存在服务器上的共享path上的简单的从Excel文件导入到SQL Table 。 我为Excel源文件97-2003创build了Excel Connection ManagerFirst row has column names检查了First row has column names 。 我用选定的表格创build了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. 

在这里输入图像说明

我们尝试了什么:

  • 检查了对文件的访问
  • 在Package Level上设置Delay Validation为True
  • 重新创buildExcel Connection Manager
  • Integration Services Catalogs部署Package并执行

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

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

对于Project Properties-> Degugging Section中的devise模式,将Run64 Bit RunTime设置为False