【问题标题】:what is Unspecified error in ssis什么是 ssis 中的未指定错误
【发布时间】:2013-08-25 14:48:57
【问题描述】:

ssis 包由 OLED 源和 OLEDB 目标组成。从 sql 2000 服务器源数据库中提取数据并将其加载到相同的数据库目标数据库表中。加载 400 万行时,在 300 万行后出错。 使用 ssis 加载这么多记录需要 4 个小时... 请看下面的错误

[Ae_Data [737]] 错误:SSIS 错误代码 DTS_E_OLEDBERROR。发生 OLE DB 错误。错误代码:0x80004005。 OLE DB 记录可用。来源:“Microsoft SQL Server Native Client 10.0”Hresult:0x80004005 描述:“未指定的错误”。

[Ae_Data [737]] 错误:SSIS 错误代码 DTS_E_INDUCEDTRANSFORMFAILUREONERROR。 “输入“OLE DB 目标输入”(750)”失败,因为发生错误代码 0xC020907B,并且“输入“OLE DB 目标输入”(750)”上的错误行处置指定错误失败。指定组件的指定对象发生错误。在此之前可能会发布错误消息,其中包含有关失败的更多信息。

【问题讨论】:

标签: sql-server oledb ssis


【解决方案1】:

尝试将其更改为 ADO.NET 目标

【讨论】:

  • 你的意思是,如果 ado.net 被使用,那么这将是一个连接池,这不会发生?
  • 您正在描述的数据量可能会占用过多的OLEDB并且操作超时。如果可以的话,将源适配器和目标适配器都更改为 ADO Net 应该可以解决问题。
【解决方案2】:

我今天遇到了类似的问题,没有一个互联网帖子对我有用。我遇到的错误与您的错误相似。我发帖以防其他人有同样的问题

Error: 0xC0202009 at Get fresh data, OLE DB Destination [2]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Unspecified error".
Error: 0xC0209029 at Get fresh data, OLE DB Destination [2]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
Error: 0xC0047022 at Get fresh data, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (2) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (15). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

从一个表到另一个表的 OLE DB 传输时会发生这种情况。问题出在目的地的表索引上

试图深入研究出现问题的特定记录,并确定哪些字段出现问题。我设法通过一些试验和错误来做到这一点。通过修改源 sql 查询以选择不同的字段,直到我发现哪些字段给我带来了插入问题。

然后删除该特定目的地上的所有关联索引,然后它就起作用了

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-08-29
    • 2016-01-15
    • 1970-01-01
    • 1970-01-01
    • 2019-07-28
    • 1970-01-01
    • 2019-07-10
    • 1970-01-01
    相关资源
    最近更新 更多