I'm trying to call an SSIS package through C# code. The package worked before I put a package password on, but now I'm trying to supply the password I'm getting an error that the password is wrong or not supplied.
Package package = app.LoadPackage("mypackage.dtsx, null);
package.PackagePassword = "mypass";
DTSExecResult result = package.Execute();
Can anyone point out where I'm going wrong?