Hi ;
When I try to connect to DTS to execute a pkg like so:
opkg.LoadFromSQLServer("BNG0193265y661y\TRSQL", , ,
DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_UsedTru stedConnection
, , , ,"transUser_import")
I get the following error:
[DBNETLIB]{COnnectionOpen(Invalid Instance()).]Invalid Connection.
I have verified the server name and the fact that I can use trusted
connection.
I also have a reference set to DTS.
Supposedly all this is all needed in your code is the above plus the
execute method.
Any insights would be greatly appreciated !,
--
Gordon