ArizonaRedneck
Programmer
hello, I'm using DTS packages with sql server 2000. I want to execute the packages from a vb.net application. I can get it to work fine from my computer. When I copy the .exe and all of the .dlls in the bin folder to another machine on the same network it gives an error. Something about the dll not being registered. This is the code I'm using.
Please Help.
Code:
Dim dtsComplete As New DTS.Package()
dtsComplete.LoadFromSQLServer("CUBE4\WEBTRAILBLAZERS", "*Login*", "*Password*", _
DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, _
"", "", "", "COMPLETE", Nothing)
MsgBox("PACKAGE EXECUTION BEGINNING")
dtsComplete.Execute()
MsgBox("PACKAGE EXECUTION COMPLETED")