![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a VB.NET application that needs to execute a DTS package. This package includes an 'Execute Package Task' as one of its steps. I cannot get the 'Execute Package Task' step to run. My package runs fine if I take out this package. Both packages run fine if run separately. The packages run fine if I move the functionality from the included package into the main package. The error the log reports is that the user has canceled the execution of the sub package. My code is very simple: (serverName and dtsPackageName are variable passed to this function) Dim p As New DTS.Package2Class p.LoadFromSQLServer(serverName, , , DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrus tedConnection, , , , dtsPackageName) p.Execute() Thanks for any help, Don |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I have a VB.NET application that needs to execute a DTS package. This package includes an 'Execute Package Task' as one of its steps. I cannot get the 'Execute Package Task' step to run. My package runs fine if I take out this package. Both packages run fine if run separately. The packages run fine if I move the functionality from the included package into the main package. The error the log reports is that the user has canceled the execution of the sub package. My code is very simple: (serverName and dtsPackageName are variable passed to this function) Dim p As New DTS.Package2Class p.LoadFromSQLServer(serverName, , , DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrus tedConnection, , , , dtsPackageName) p.Execute() Thanks for any help, Don |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |