Excel连接管理器的SSIS包问题

时间:2015-07-10 18:49:12

标签: sql excel ssis

在我的本地计算机中,SQL作业运行完美。在SQL作业中,有一个SSIS包,它可以获取Excel数据并加载到Staging表中。我的系统中有 Microsoft Excel 2010

现在问题出在Development Server上。 与网络文件夹中运行的相同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

1 个答案:

答案 0 :(得分:1)

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