SSIS Excel源错误:[Excel源[1]]错误:SSIS错误代码DTS_E_OLEDBERROR。发生OLE DB错误。错误代码:0x80004005

时间:2016-02-01 17:02:25

标签: sql sql-server excel visual-studio ssis

我有一个非常简单的SSIS数据流,将两个Excel源集合在一起,执行小型数据转换,并加载到临时表中。

但是,当执行阶段开始时,我的两个Excel源会立即失败。

我只收到以下不明白错误:

[LA Report Source [627]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "LA Report Source" (627) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

[NOLA Report Source [640]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "NOLA Report Source" (640) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

这个软件包已经工作了几天,并且几天前突然开始提供此错误消息,没有对数据源进行实际更改。

此外,当我去预览Excel数据源时,我得到了这个奇怪的错误: Partial preview loads, then gives this error

有什么想法吗?使用Visual Studio 2008。

1 个答案:

答案 0 :(得分:0)

我想分享我提出的解决方案:

我对Excel Source中的SQL查询过于热心。我的select语句中有一个WHERE过滤器,它工作了一段时间,但数据中的异常必然会抛出一些东西--SSIS根本不喜欢它。

我已经删除了WHERE部分,只是离开了SELECT部分,而我已经使用条件性拆分处理了过滤器。问题解决了!

相关问题