sql - SSIS 错误 : The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020

标签 sql sql-server ssis etl business-intelligence

我有 SSIS 进程的问题(实际上两个不同的进程会出现同样的问题)。所以,我们正在使用 SSIS 做一些 ETL 工作。我们有从 Visual Studio 执行没有错误的商业智能项目。但是,当它部署在服务器上并作为作业安排时,它会失败并出现以下错误:

INTRASTAT_Towar:Error: SSIS Error Code
DTS_E_PROCESSINPUTFAILED. The ProcessInput
method on component "Union All 3" (876) failed with error
code 0xC0047020 while processing input "Union All Input
2" (916). 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.

INTRASTAT_Towar:Error: SSIS Error Code
DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput
method on istat_dekl_wynik_poz SELECT returned error
code 0xC02020C4. 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.

INTRASTAT_Towar:Error: The attempt to add a row to the
Data Flow task buffer failed with error code 0xC0047020.**

其他返回的错误类似,有时不是0xC0047020,而是未指定的错误。错误只发生在这张表上,它在数据流任务(联合、多播、条件拆分)中有很多不同的东西。大多数其他数据流只有源、目标和转换,它们不会引起任何问题。有人建议我尝试操作数据流任务的 DefaultBufferMaxRows 和 DefaultBufferSize 属性值,但在进行了一些研究后,我不相信它会解决问题,因为它们目前处于默认值。有什么建议?

最佳答案

好吧,我设法用我的包裹解决了这个问题。我使用的是 2012 SSIS 版本,但我在 BIDS 的 32 位环境中执行了包。服务器实际上以 64 位执行,并且对于某些项目来说这是问题所在。步骤属性中的一个复选框使其在 32 位环境中执行,我解决了我们已经解决了数周的问题。

关于sql - SSIS 错误 : The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34947690/

相关文章:

python - 从 SQL Server 到 Postgres 的 '😕' 上的 SQLAlchemy UnicodeEncodeError

SSIS 脚本任务不会因 DTS.TaskResult 而失败

sql-server - 使用 biml 分配属性以执行包任务 ssis 对象

sql - 如何创建触发器从另一个表数据更新表

mysql复杂连接三个表的总计

sql-server - Sql 服务器表分区 - 我可以跨服务器分配表吗?

SQL Server 'In' 与 'less than'

ssis - 如何在不重置现有列的数据类型的情况下向 SSIS 中的平面文件连接器添加新列

sql - 来自内部联接的总和列

mysql - 如何向现有表添加外键?