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? Mar 31, 2017 at 1:27

3 Answers 3


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 Mar 30, 2017 at 20:44
  • Can you post more information about the SSIS package such as scripts and tasks? Mar 31, 2017 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.



Something I've done many times over is to forget to compile the script executable and then compile the project before testing. After going back and doing that, the results are as expected. It plagues me to this day.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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