Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Package Execution via Job Gives DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER Error

$
0
0

Hi, 

I have an SSIS Package, that does a simple job of Connecting to an SSAS Cube DB Server and firing a MDX (SELECT * FROM $system.DISCOVER_SESSIONS) over it to get the active user session information at that time.

This package is using an OLE DB Connection Manager to connect to the SSAS Server, the Provider Settings are set to Native OLE DB\Microsoft OLE DB Provider for Analysis Services 10.0

The results of the MDX query are simply dumped into a SQL Server Database Table.

Whenever i try to manually execute the Job it ran successfully and as expected, but the moment i had that deployed on the production server, it started to error out giving me the following error:

"Executed as user: ABC\XYZProdSQLSvc. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.3798.0 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  6:15:00 AM  Error: 2013-11-28 06:15:23.95     Code: 0xC0202009     Source: UserSessionScan_Package Connection manager "ABC-XYZ-OQ01.Database"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Analysis Services 2008."  Hresult: 0x80004005  Description:

"The following system error occurred:  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. .".  End Error  Error: 2013-11-28 06:15:23.96     Code: 0xC020801C     Source: Fetch Connection Information from CUBE DB OLE DB Source [1]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "ABC-XYZ-OQ01.Database" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.  End Error  Error: 2013-11-28 06:15:23.96     Code: 0xC0047017     Source: Fetch Connection Information from CUBE DB SSIS.Pipeline     Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.  End Error  Error: 2013-11-28 06:15:23.96     Code: 0xC004700C     Source: Fetch Connection Information from CUBE DB SSIS.Pipeline     Description: One or more component failed validation.  End Error Error: 2013-11-28 06:15:23.97     Code: 0xC0024107     Source: Fetch Connection Information from CUBE DB      Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  6:15:00 AM  Finished: 6:15:23 AM  Elapsed:  23.073 seconds.  The package execution failed.  The step failed."

I checked the service account that is trying to execute the SQL Agent job and that was not able to connect to the SSAS server and had the server restarted. The issue was temporarily resolved and the job ran successfully for 10-12 runs.

It has now again started to fail with the same error as reported above, and i would need a permanent solution for the issue!

Any idea on how to resolve this issue?

Thanks

Best Regards

Suvrat


Viewing all articles
Browse latest Browse all 24688


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>