Hiii, i created SSIS Solution for insert data into MS CRM Online from SQL SERVER Database. This SSIS solution running well and able to create a new data in MS CRM Online. Now i tried to run this SSIS from C# Win Form Application.
Here the code i tried:
Microsoft.SqlServer.Dts.Runtime.Application myApplication = new Microsoft.SqlServer.Dts.Runtime.Application();
label1.Text = "loading package from file system.";
Package myPackage = myApplication
.LoadPackage(@"D:\Master Project\SSIS FOR MS DYNAMICS CRM\Package.dtsx", null);
label1.Text = "Executing Packages";
DTSExecResult myresult = myPackage.Execute();
label1.Text = "Package Result: " + myresult.ToString();
But this is the result i get:
Can you tell me what wrong with my code ?
