【问题标题】:SSIS Package Issue with Excel Connection ManagerExcel 连接管理器的 SSIS 包问题
【发布时间】:2015-07-10 18:49:12
【问题描述】:

在我的本地机器上,SQL 作业运行良好。在 SQL 作业中,有一个 SSIS 包,它抓取 Excel 数据并加载到暂存表中。我的系统中有 Microsoft Excel 2010

现在问题出在开发服务器上。 具有相同 SSIS 包的相同作业在网络文件夹中运行时出现问题。开发服务器包含一个 Excel 2013

我没有足够的声誉来显示错误消息的屏幕截图。这是错误的说法。

Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. 
Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  
Hresult: 0x80004005  Description: "External table is not in the expected format.".  
End Error  Error: 2015-07-10 14:16:05.52     
Code: 0xC020801C     
Source: Data Flow Task Excel Source [2]     
Description: 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. 

Error: 2015-07-10 14:16:05.52     
Code: 0xC0047017     
Source: Data Flow Task SSIS.Pipeline     
Description: Excel Source failed validation and returned error code 0xC020801C.  

Error: 2015-07-10 14:16:05.52     
Code: 0xC004700C     
Source: Data Flow Task SSIS.Pipeline     
Description: One or more component failed validation

【问题讨论】:

标签: sql excel ssis


【解决方案1】:

还有两件事 1) 确保您的 excel 文件未打开 2) ssis 不能在 64 位模式下使用 excel,将您的部署设置更改为使用 32 位运行时(如果您使用的是 sql 作业,请检查设置)

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-05-07
  • 2014-07-16
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多