EzExcutables.cs LN: 813
Error on set the Connection when you create a ExecuteSqlTask :
(host.InnerObject as ExecuteSQLTask).Connection = value.Name;
i fixed it also with this code :
host.Properties["Connection"].SetValue(host, value.Name);
Comments: ** Comment from web user: agilmore **
Error on set the Connection when you create a ExecuteSqlTask :
(host.InnerObject as ExecuteSQLTask).Connection = value.Name;
i fixed it also with this code :
host.Properties["Connection"].SetValue(host, value.Name);
Comments: ** Comment from web user: agilmore **
Hi
This problem can also be solved by adding the configuration mentioned in this post - http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/a85ec120-eec6-438d-aef4-55f82d14a869
The issue is a problem with the cast in this line of code (host.InnerObject as ExecuteSQLTask).Connection = value.Name; and incompatibility with .NET 4.0.
Thanks - Adam Gilmore - Dimodelo.com