![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there, having some issues with the above scenario... 64bit sql 2005 std edition. A control package is running in 64bit mode to execute a large number of packages in the correct order (this is parameterised through a config table so we can turn them on and off and change the order.) As we have a number of packages using 32bit jet theres also a config value to execute these with the 32bit dtexec instead. I have a proxy account setup with the required rights onto the network and associated sql servers. I can - Execute the control package from the command line on the server as my proxy account user with the 64bit dtexec and it runs fine calling both 64bit & 32bit packages with no errors. I cannot run the same package from a sql agent job as whe nthe control package calls the 32bit dtexec it comes back with the following error - SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER . The AcquireConnection method call to the connection manager "AgencyNumbersDatabase" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. However if I schedule the offending 32bit package on its own from SQL Agent it runs just fine. Now to make matters more interesting if I change the proxy account to be in the local admininstrators group on the server everything works. THis is the bit I really dont understand, I cant see what extra rights it should need running from sql agent as opposed to running from a command line. Any idess appreciated, Thanks, Mike. |
#3
| |||
| |||
|
|
Hi there, having some issues with the above scenario... 64bit sql 2005 std edition. A control package is running in 64bit mode to execute a large number of packages in the correct order (this is parameterised through a config table so we can turn them on and off and change the order.) As we have a number of packages using 32bit jet theres also a config value to execute these with the 32bit dtexec instead. I have a proxy account setup with the required rights onto the network and associated sql servers. I can - Execute the control package from the command line on the server as my proxy account user with the 64bit dtexec and it runs fine calling both 64bit & 32bit packages with no errors. I cannot run the same package from a sql agent job as whe nthe control package calls the 32bit dtexec it comes back with the following error - SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER . The AcquireConnection method call to the connection manager "AgencyNumbersDatabase" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. However if I schedule the offending 32bit package on its own from SQL Agent it runs just fine. Now to make matters more interesting if I change the proxy account to be in the local admininstrators group on the server everything works. THis is the bit I really dont understand, I cant see what extra rights it should need running from sql agent as opposed to running from a command line. Any idess appreciated, Thanks, Mike. |
![]() |
| Thread Tools | |
| Display Modes | |
| |