question

lacorrigan avatar image
lacorrigan asked

SSIS Pkg fails in SQL Agent but not on local machine (not due to permissions)

The pkg runs fine on my local machine. It fails with the error message below when executed from SQL Agent. I can see if there are permissions issues but I don't think this is one but I need some guidance if you can. Thanks in advance. Message Executed as user: XOXIDEINC\sqlservice. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 11:20:37 AM Error: 2014-07-18 11:20:39.22 Code: 0xC0209302 Source: PIM-to-GooglePLA-AT Connection manager "Excel Connection Manager 2" Description: The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 32-bit driver is not installed, run the package in 64-bit mode. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". End Error Error: 2014-07-18 11:20:39.22 Code: 0xC001002B Source: PIM-to-GooglePLA-AT Connection manager "Excel Connection Manager 2" Description: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=219816 End Error Error: 2014-07-18 11:20:39.22 Code: 0xC020801C Source: Load Pim Google Data to main Staging Excel Source [2] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager 2" failed with error code 0xC0209302. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2014-07-18 11:20:39.22 Code: 0xC0047017 Source: Load Pim Google Data to main Staging SSIS.Pipeline Description: Excel Source failed validation and returned error code 0xC020801C. End Error Error: 2014-07-18 11:20:39.22 Code: 0xC004700C Source: Load Pim Google Data to main Staging SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2014-07-18 11:20:39.22 Code: 0xC0024107 Source: Load Pim Google Data to main Staging Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:20:37 AM Finished: 11:20:39 AM Elapsed: 1.888 seconds. The package execution failed. The step failed.
ssissql agent
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

KenJ avatar image
KenJ answered
If you log into the same machine where sql agent is running, can you still execute the package as yourself? If it's the driver, it may be more machine specific than login specific.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lacorrigan avatar image
lacorrigan answered
I get the same message if I check 64-bit or 32-bit in the package.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.