![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm new to DTS and I would like to know how to send an email notification, that is, execute an activex script if any of the tasks in the package fails. I found "Fail Package on first error" but how do I execute VB script on this? If this has already been answered can someone point me to that thread? Thanks |
#3
| |||
| |||
|
|
Allan Mitchellwrote O The easiest way would be to use the SendMail task and have an O failure contraint from each of your tasks to their own SendMail task Your text suggests Tasks failing but your subject line suggest package Have a look at our section her www.sqldts.com/default.aspx?10 "anotherfinemess" wrote I'm new to DTS and I would like to know how to send an emai notification, that is, execute an activex script if any of th task in the package fails I foun "Fail Package on first error but how do I execute VB script on this If this has already been answered can someone point me to tha thread Thank [/quote:c19133ed65 |
#4
| |||
| |||
|
|
Allan Mitchellwrote: OK The easiest way would be to use the SendMail task and have an On failure contraint from each of your tasks to their own SendMail task. Your text suggests Tasks failing but your subject line suggests package. Have a look at our section here www.sqldts.com/default.aspx?104 "anotherfinemess" wrote: I'm new to DTS and I would like to know how to send an email notification, that is, execute an activex script if any of the tasks in the package fails. I found "Fail Package on first error" but how do I execute VB script on this? If this has already been answered can someone point me to that thread? Thanks [/quote:c19133ed65] I want to send a mail if any one of the step fails in a package. I do not want to put an "on failure" for each and every step. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Thanks for the reply but I'm not using VB, I'm using SQL Server Agent job to schedule the DTS. |
![]() |
| Thread Tools | |
| Display Modes | |
| |