Sending Email on SSIS Package Error Output

  • I have created the package outlined in Lesson 5 of the ssis tutorial. I am routing failed rows to a text file, so in effect there are no failed tasks. However, I would like to send an email when any rows fail. Event handlers don't seem to do the trick. Any help would be greatly appreciated.

    Terry

     

  • This was removed by the editor as SPAM

  • Place a rowcount transform between the error output and the destination adapter. Place a sendmail task in the workflow after the Dataflow task. Place an expression on the precedence constraint that checks if the rowcount variable is greater than zero. If it is, the sendmail task will execute, if not, no mail.

    K

  • Thank you Kirk. That worked out well. I really appreciate the help.

    Terry

  • Terry, if possible Can you please send that Example on Error Handling which you were talking about.

    Regards,

    Mahesh

    mahesh.vsp@gmail.com

  • can you please share me the document or examples for sending an SSIS error logs through email

    email: 222.rajkumar@gmail.com

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply