Okay, so I've got a pretty simple dtsx package that I've created manually, which consists of one sql task, so when I run it manually in Data Tools, it executes just fine.
Now, when I load the very same package from disk, and try to execute it, the result code returns 'Failure'.
Can anyone elaborate?
Here is the code for loading and executing the package:
Dim app As Application = New Application() Dim pckg As Package = app.LoadPackage("C:\Users\zafir\Desktop\Package1.dtsx", Nothing) Dim pckgResult As DTSExecResult = pckg.Execute() Console.WriteLine(pckgResult.ToString())