2011-06-09 73 views
0

我有一個主包和一個子包。當我執行我的主要pacakge涉及到數據流任務加載表,但隨後的數據流任務變爲紅色,我看到以下錯誤消息:警告:在Foreach循環容器0x80019002


Warning: 0x80019002 at Load Import Table: The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. 
Task failed: Load Import Table 
Warning: 0x80019002 at Sequence Container: The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. 
Task failed: Execute Package Task 
Warning: 0x80019002 at Foreach Loop Container: The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. 
Warning: 0x80019002 at FacetsXref_Main: The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. 
SSIS package "FacetsXref_Main.dtsx" finished: Failure. 
The program '[2948] FacetsXref_Main.dtsx: DTS' has exited with code 0 (0x0). 

正如你可以看到它不明確顯示錯誤是什麼。在數據流任務中,我從Excel工作表加載sql表,還有一些其他任務,數據轉換,派生列,統計日誌記錄組件(提供ETL進程的統計信息記錄)和OLEDB目標。

有誰知道什麼是錯的?

我使用SQL Server 2005的

感謝

回答

0

嘗試在for-each循環容器的屬性窗口中改變MaximumErrorCount。將其設置爲1000