Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Connecting to Excel Macro Connection via Windows 7 Task Scheduler Expand / Collapse
Author
Message
Posted Monday, April 15, 2013 9:39 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, June 5, 2014 9:46 AM
Points: 79, Visits: 128
Hello,

I am currently running an SSIS package that connects to an Excel Macro enabled file and loads these records to a table. I had to download a driver (Microsoft Office 12.0 Access Database Engine Excel 12.0) as the provider for the excel connection manager in order to access the file with Bids 2008. When I run this manually, the entire process runs perfectly every time. I decided to automate this so I set it up to run via Windows Task Scheduler 7 and it keeps failing on the Excel Macro connection. It says it can't acquire the connection. The error log shows
"SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Macro Connection" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed. "

Which is strange because it works fine when I run the package manually. The windows task scheduler is set to run with my credentials as well so it shouldn't be an access/permissions issue. Any ideas why this won't run with the task scheduler?

Thanks,

Frank
Post #1442372
Posted Wednesday, April 17, 2013 6:52 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, June 5, 2014 9:46 AM
Points: 79, Visits: 128
Anyone?
Post #1443235
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse