![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using the assembly Interop.DTS in VB.Net for executing DTS-packages stored local on a database-server. First I set some global variables, no issues here, but when I want to set a datasource it says that the connection cannot be found, though the name of the connection is certainly present in the DTS-package. Any change that some security-settings can make this difference, and if so, which security settings? Part of the code I use: pkg = New DTS.Package2Class pkg.GlobalVariables.AddGlobalVariable("name", "value") pkg.Connections.Item("ConnectionName").DataSource = something |
![]() |
| Thread Tools | |
| Display Modes | |
| |