A problem executing SQl 2K DTS code in vb.net



Hi ;

When I try to connect to DTS to execute a pkg like so:

opkg.LoadFromSQLServer("BNG0193265y661y\TRSQL", , ,
, , , ,"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

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 !,

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question