SqlExecute Task & .NET4.0

Jun 27, 2010 at 7:03 PM

Hi,

 

It would seem that the SqlExecute task does not work with version 4.0.0.0 The task fails with the following message: "InvalidOperationException: The ConnectionString property has not been initialized." The exact same script works perfectly with the  3.5.6.0 version of the code?

 

Thanks,

D.

Coordinator
Jun 28, 2010 at 8:11 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Jun 28, 2010 at 8:25 PM

Sorry, looks like a bug introduced by incorrectly fixing a CA2000 violation. I've checked in the fix and will review all other CA violations that I addressed with the 4.0 upgrade to make sure no others suffer from this issue.

Mike