I have a SSIS package task that is displaying messageboxes even those that code in the task is commented out when I run it. How do I stop that?

  • Is this just a matter of opening up the Script Task code and choosing Build then closing and saving the change? Maybe the code change hasn't been compiled or something? – GregGalloway Mar 31 '17 at 1:27

You will need to disable interactive mode in the package. The answer to this question on Stack Overflow should point you in the right direction and the documentation for this property on Tech Net can be found here.

Alternatively, try right-clicking on the solution, Properties -> Configuration Properties -> Debugging -> Interactive Mode. Set this to false.

  • InteractiveMode is set to False – Kyle Johnson Mar 30 '17 at 20:44
  • Can you post more information about the SSIS package such as scripts and tasks? – Mr.Brownstone Mar 31 '17 at 2:05

This was very strange. I had a MessageBox line commented out in my script task but it was still executing. Once I took that out, it stopped displaying the MessageBox.

Done ask me why it was executing a commented out line of code.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.