November 12, 2012 at 10:08 am
Hi all,
I've created a very simple SSIS package where I'm trying to convert an excel spreadsheet into a flat file. I've picked up an Excel Source and a Flat File Destination, configured them both to look at the correct files and linked them properly.
It's not showing any errors but when i try to run it I get the following:
[Excel Source [1262]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC00F9304. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
I thought this would be easy and I've not been doing this long so any help would be greatly appreciated.
Many thanks
Stuart.
November 13, 2012 at 1:37 am
This is crucial:
There may be error messages posted before this with more information
So you could take a look at the output window and post everything you find there here in the forum.
My first guess: BIDS is still configured to run in 64-bit mode, while the Jet/ACE OLE DB provider is only installed for 32-bit. Right-click on the project, go to properties and set the Run64BitRuntime to False.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 13, 2012 at 2:20 am
Thanks for the help. Setting the property to false worked. I knew it would be simple. 🙂
November 13, 2012 at 2:22 am
ssmith 29602 (11/13/2012)
Thanks for the help. Setting the property to false worked. I knew it would be simple. 🙂
Great! Glad this was solved so quickly 🙂
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 13, 2012 at 9:24 am
Going on from this, I'm trying to use this SSIS package in a SQL Server Agent job. I create a new job, add a step using the SSIS package and tick the 'Use 32 bit runtime' box.
When I try to run the job it fails with the following error message:
Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted
11/13/2012 16:23:29,AML Data Extract,Error,0,SRVALFASQL,AML Data Extract,(Job outcome),,The job failed. The Job was invoked by User ELSTREE\ssmith. The last step to run was step 1 (AML Data).,00:00:01,0,0,,,,0
11/13/2012 16:23:29,AML Data Extract,Error,1,SRVALFASQL,AML Data Extract,AML Data,,Executed as user: ELSTREE\JXYZCUSR. Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 4:23:29 PM Error: 2012-11-13 16:23:30.45 Code: 0xC0202009 Source: Package Connection manager "Excel Connection Manager" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "'S:\Private\AML Data Extract\AML Data Extract.xls' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.". End Error Error: 2012-11-13 16:23:30.45 Code: 0xC020801C Source: AML Conversion - Excel to TXT Excel Source [1] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" 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: 2012-11-13 16:23:30.45 Code: 0xC0047017 Source: AML Conversion - Excel to TXT SSIS.Pipeline Description: component "Excel Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2012-11-13 16:23:30.45 Code: 0xC004700C Source: AML Conversion - Excel to TXT SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2012-11-13 16:23:30.45 Code: 0xC0024107 Source: AML Conversion - Excel to TXT Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:23:29 PM Finished: 4:23:30 PM Elapsed: 0.89 seconds. The package execution failed. The step failed.,00:00:01,0,0,,,,0
Can anyone help with this?
Thanks
Stuart.
November 13, 2012 at 1:03 pm
Does the user ELSTREE\JXYZCUSR have read access to the path S:\Private\AML Data Extract\AML Data Extract.xls?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 14, 2012 at 8:25 am
JXYZCUSR has read access but not write access.
I see that the job was invoked by me (ELSTREE/ssmith) but executed by JXYZCUSR. How do I change JXYZCUSR to ssmith?
November 14, 2012 at 2:17 pm
You need to use a proxy account in your SQL Agent jobstep.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 19, 2012 at 4:01 am
I have managed to create a proxy account and assign myself to it but I'm still getting error messages every time I run it. The message now reads:
11/19/2012 10:21:31,AML Data Extract,Error,0,SRVALFASQL,AML Data Extract,(Job outcome),,The job failed. The Job was invoked by User ELSTREE\ssmith. The last step to run was step 1 (Extract).,00:00:01,0,0,,,,0
11/19/2012 10:21:31,AML Data Extract,Error,1,SRVALFASQL,AML Data Extract,Extract,,Executed as user: ELSTREE\ssmith. Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 10:21:31 AM Error: 2012-11-19 10:21:32.22 Code: 0xC0202009 Source: Package Connection manager "Excel Connection Manager" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "'S:\Public\AML_Data_Extract\AML_Data_Extract.xls' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.". End Error Error: 2012-11-19 10:21:32.22 Code: 0xC020801C Source: AML Conversion - Excel to TXT Excel Source 1 [415] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" 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: 2012-11-19 10:21:32.22 Code: 0xC0047017 Source: AML Conversion - Excel to TXT SSIS.Pipeline Description: component "Excel Source 1" (415) failed validation and returned error code 0xC020801C. End Error Error: 2012-11-19 10:21:32.22 Code: 0xC004700C Source: AML Conversion - Excel to TXT SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2012-11-19 10:21:32.22 Code: 0xC0024107 Source: AML Conversion - Excel to TXT Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:21:31 AM Finished: 10:21:32 AM Elapsed: 0.936 seconds. The package execution failed. The step failed.,00:00:01,0,0,,,,0
I am new to all this and really appreciate any help you can give.
Thanks.
November 19, 2012 at 7:00 am
I found out the proble. I was using a mapped drive in my connection string and not the full connection string. Once changed the report worked fine.
February 29, 2016 at 2:28 pm
Thank you!!!
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply