Results 1 to 2 of 2

Thread: exit activex script without giving an error?

  1. #1
    Join Date
    Sep 2005
    Posts
    2

    exit activex script without giving an error?

    I am using ActiveX Script tasks to branch out on the different tasks that I have within the DTS. When I want a particular branch of tasks not to be executed, I give a "Main = DTSStepScriptResult_DontExecuteTask"

    This seems to be working fine in terms of functionality, but there is an error that is displayed saying "Task reported failure on execution".

    How do I get rid of this? I need to exit the task, and still just get one message box at the end of it all that happily reads "Succesfully completed tasks"

    I saw one short reply to this question somewhere in this forum but I don't understand what he was saying.
    Can someome help?

    Thank you very much.
    DTS_STL.

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    You have to set the task status to success from the branch that is executed. That is put code in task1 to set the taskstatus of task2 to success and vice versa.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •