Will MessageBox.Show cause the timeout issue on server side?
I have a scheduled SSIS package with a script task in SQL Server Agent on our server. I did set the timeout for the SQL connection, and for some of the codes inside the Try block, it will throw the error, and there is MessageBox.Show inside the Catch block. If I leave the codes as they are, it will fail the job, but if I comment out those MessageBox.Show and leave the Catch block blank just for testing purpose, the job ran successfully. Anybody knows that the MessageBox.Show will affect the timeout for connection on server side or what exactly cause this different result after disable showing