2011-06-09 36 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