question

David 2 1 avatar image
David 2 1 asked

SSIS Trying to Import Excel Spreadsheet Fails With Error

Hi, I created a Data Flow Task, added an Excel Source into the task and configured to point to the Excel spreadsheet source. Added an OLE Destination and joined the source to the destination. Upon trying the execute the task it fails with the following error: Error: 0xC020801C at Data Flow Task, Excel Source [2]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager 2" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed. Has anyone seen this error before or have an ideas why it maybe failing? TIA
ssissql server 2012excelimport-data
4 comments
10 |1200

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

JohnM avatar image JohnM commented ·
Do you have the Excel file open somewhere?
0 Likes 0 ·
David 2 1 avatar image David 2 1 commented ·
Thanks. Managed to resolve it below.
0 Likes 0 ·
JohnM avatar image JohnM commented ·
Perfect. Please go ahead and mark your answer as the accepted one so that others know that you found the solution. Thanks!
0 Likes 0 ·
David 2 1 avatar image David 2 1 commented ·
I've got the project to execute correctly from Visual Studio 2010 however after successfully building and deploying the project to the SSISDB catalog I cannot execute it from there. "Error:The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine." Any ideas? TIA
0 Likes 0 ·
David 2 1 avatar image
David 2 1 answered
Project >> Properties >> Configuration Properties >> Debugging and changed Run64BitRuntime to False resolved my issue.
10 |1200

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

arajmsbi avatar image
arajmsbi answered
This issue is occuring because you are having a 64 bit OS and Office Excel (including most of the office products) does not have 64bit provider and hence the error above on Excel connection. You can solve this issue by setting Run64BitRunTime property as False Go to properties page for the overall SSIS solution, simply set the Run64BitRunTime = False.
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.