I have a script task to send an email on some data statistics sourcing the date from a view and it was all working fine until last week however suddenly without any modifications to the code, the script task suddenly now crashes with the error ' DTS script task encountered an exception with the user code' just before the statement client.Send(mail) in the code (C#) and I'm not able to figure out what may be causing this issue. Can someone please help me . Thanks
I have created a new script task copying the code however it still fails with the same error. Im using VS 2015.