dbTalk Databases Forums  

SSIS Error when running SQL Job but no error when running Package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS Error when running SQL Job but no error when running Package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
C
 
Posts: n/a

Default SSIS Error when running SQL Job but no error when running Package - 02-23-2009 , 09:30 AM






Hi,

I have an SSIS Package imported into Integration Services Maintenance Plans
folder.

When I run the SSIS Package from Integration Services it works fine.

When I schedule a SQL Job which calls the SSIS Package it fails with error
"Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER . The
AcquireConnection method call to the connection manager "TestConnection"
failed with error code 0xC0202009"

Anyone know why I get an error only when I run it as a SQL Job?

Reply With Quote
  #2  
Old   
C
 
Posts: n/a

Default RE: SSIS Error when running SQL Job but no error when running Package - 02-23-2009 , 11:15 AM






My SSIS Package runs fine as a SQL Server Job on a different server.

The only difference is that the server it does not work where I get problem
in below post is that this server is using SQL Server Instances.

"C" wrote:

Quote:
Hi,

I have an SSIS Package imported into Integration Services Maintenance Plans
folder.

When I run the SSIS Package from Integration Services it works fine.

When I schedule a SQL Job which calls the SSIS Package it fails with error
"Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER . The
AcquireConnection method call to the connection manager "TestConnection"
failed with error code 0xC0202009"

Anyone know why I get an error only when I run it as a SQL Job?

Reply With Quote
  #3  
Old   
hfdev
 
Posts: n/a

Default RE: SSIS Error when running SQL Job but no error when running Pack - 02-26-2009 , 01:09 PM



C, check to see if the SQL Agent job on the server where the package runs
successfully is configured to run as a domain account that has permissions on
the SQL db that your package is trying to connect to.

Maybe the SQL Agent is configured to run as local system on the server where
it is failing.

HTH,

--
Josh Blair (hfdev)
HydraForce, Inc.


"C" wrote:

Quote:
My SSIS Package runs fine as a SQL Server Job on a different server.

The only difference is that the server it does not work where I get problem
in below post is that this server is using SQL Server Instances.

"C" wrote:

Hi,

I have an SSIS Package imported into Integration Services Maintenance Plans
folder.

When I run the SSIS Package from Integration Services it works fine.

When I schedule a SQL Job which calls the SSIS Package it fails with error
"Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER . The
AcquireConnection method call to the connection manager "TestConnection"
failed with error code 0xC0202009"

Anyone know why I get an error only when I run it as a SQL Job?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.