Hi. I'm having trouble loading a DTS package from ASP.net. Here is the C# code:
DTS.Package2Class oDTS = new DTS.Package2Class();
object pVarPersistStgOfHost = null;
oDTS.LoadFromSQLServer("MYSERVER", "username", "password",DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default,null,null,null, "LoadBudget", ref pVarPersistStgOfHost);
This is the error I get:
The specified DTS Package ('Name = 'LoadBudget'; ID.VersionID = {[not specified]}.{[not specified]}') does not exist.
I've tried specifying the Package ID and Version ID, but I still get the error.
Can anyone help with this?
Thanks.
DTS.Package2Class oDTS = new DTS.Package2Class();
object pVarPersistStgOfHost = null;
oDTS.LoadFromSQLServer("MYSERVER", "username", "password",DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default,null,null,null, "LoadBudget", ref pVarPersistStgOfHost);
This is the error I get:
The specified DTS Package ('Name = 'LoadBudget'; ID.VersionID = {[not specified]}.{[not specified]}') does not exist.
I've tried specifying the Package ID and Version ID, but I still get the error.
Can anyone help with this?
Thanks.