【问题标题】:SSIS Excel Source error: [Excel Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005SSIS Excel 源错误:[Excel 源 [1]] 错误:SSIS 错误代码 DTS_E_OLEDBERROR。发生 OLE DB 错误。错误代码:0x80004005
【发布时间】:2016-02-01 17:02:24
【问题描述】:

我有一个非常简单的 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 数据源时,我得到了这个奇怪的错误:

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

【问题讨论】:

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


    【解决方案1】:

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

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

    我已经删除了WHERE 部分,只留下了SELECT 部分,并且我已经使用条件拆分来处理过滤器。问题解决了!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多