sql-server - SSIS 包手动运行但不是从 SQL 作业运行

标签 sql-server ssis sql-job

当 SSIS 包(部署在文件系统中)从 SQL 作业执行时,我收到一系列错误,但如果手动执行,相同的包工作正常。

第一个错误:

Directing the row to the error output failed with error code 0x80070057.

第二个错误:

SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (86) failed with error code 0xC0209022 while processing input "OLE DB Destination Input" (99). 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.

然后:

Setting the end of rowset for the buffer failed with error code 0xC0047020

然后:

SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on returned error code 0xC0209017. 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.

不知道可能是什么问题。

同一个包在几天前运行良好。

提前致谢。

最佳答案

我遇到了类似的问题并完成了以下问题。

在 SQL SERVER CONNECTION PROPERTY 中,尝试将“NO COUNT”选项设置为“OFF”,看看是否可以解决您的问题?

enter image description here

关于sql-server - SSIS 包手动运行但不是从 SQL 作业运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56705431/

相关文章:

c# - Linq2sql/ GridView : Pagination not working?

sql - T-SQL 中的旧式 JOIN 语法是什么意思?

sql-server - 执行 SSIS 的 SQL 作业 - 无法完成游标操作,因为声明游标后表架构发生了更改

sql-server - 执行 T-SQL 作业步骤期间的 XML 解析 :unexpected end of input,

mysql - 数据库自动歌曲规划器不应选择同一首歌曲

java - 无法通过 Apache Tomcat 连接到 MSSQL DB

ssis - 有什么方法可以从 SSIS 包生成 BIML 吗?

.net - 如何使用 GetBytes(string) 检查是否存在将转换为 "?"的字符

batch-file - 在 PSFTP 中使用 'for' 命令查找并下载 SFTP 服务器上的最新文件

sql-server - 计划的作业失败错误: [SQLSTATE 42000] (Error 7344)