Hi all,
I am currently facing a problem structured like this:
Our Server can not send mails due to some configurations applied by our
firewall.
To work around that I created a StoredProcedure which is using CDO to
archive the same goal.
....so far, the SP works as expected and sends mails.
Now the tricky stuff. I want to call the procedure whenever a DTS fails.
Currently I implemented the SQL Task that calls the SP manually (on failure)
in the DTS.
As you all can imagine, a lot of red lines appeared in my DTS designer
Anyway... I now try to get a hand on the error that occures and pass it to
the SP as a parameter.
Currently I just created a Global Variable holding the DTS Package Name (I
type it in manually).
Is there a way to get the error (incl. descriptions) that makes the DTS to
fail and can
I read the name of the package itself without manually assigning it to a GV
passing all as parameter to the SP?
Any ideas are kindly appreciated,
thanks in advance
Andreas Bretl
Software Engineer
bretl (AT) brainlab (DOT) com