我在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