SQL Server Developer Center > SQL Server Forums > SQL Server Integration Services > SSIS - 2005 - Log and execute package in loop
Ask a questionAsk a question
 

AnswerSSIS - 2005 - Log and execute package in loop

  • Wednesday, November 04, 2009 6:38 PMHarris001 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello

    I have a package that extracts data from 10 databases that is same in structure and i do this in for each loop by changing the connection on every iteration, but if there is an error like request timeout error or anyother error the package stops but i would like to log the error in text file and go to next database and continue execution till the end of loop. I need to know how i can make the package continue to execute after logging the error.

    Harris

Answers

  • Wednesday, November 04, 2009 6:57 PMETL vs ELTL Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    as mention in nitesh's link, you need to set the MaximumErrorCount property of the package to 0
    Let us TRY this | Don’t forget to mark the post(s) that answered your question
    • Marked As Answer byHarris001 Wednesday, November 04, 2009 7:24 PM
    •  

All Replies