我在SSIS中有一个包,当我尝试通过.bat文件运行时出现错误(当我从SSIS解决方案运行时,这个错误从来没有出现过)。DTexec:包执行返回DTSER_FAILURE(1)
错误:
Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of error reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Waning DTExec: The package execution returned DTSER_FAILURE (1).
读取所有的日志信息,我得到一个溢出错误的目标列。没关系,我知道那个错误,但事情是我需要这个过程成功。
这是因为我在容器发生故障时生成一条消息,以通知有关情况,但我需要该过程继续并完成“确定”,虽然存在错误。
您需要设置包或容器的最大错误计数。看到我对这个问题的答案:http://stackoverflow.com/questions/8972340/ssis-multiple-loops-propagate-not-working/8972791#8972791 –
我将属性MaximumErrorCount更改为0或10,并始终得到相同的错误。 – dreTa
为什么执行失败?解决根本原因。在通用发布之前有失败消息。这些是开始诊断错误所需的信息 – billinkc