Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Connection Manager Error


Connection Manager Error

Author
Message
ssmith 29602
ssmith 29602
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 166
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.
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16518 Visits: 13210
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.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
ssmith 29602
ssmith 29602
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 166
Thanks for the help. Setting the property to false worked. I knew it would be simple. :-)
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16518 Visits: 13210
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 :-)



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
ssmith 29602
ssmith 29602
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 166
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.
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16518 Visits: 13210
Does the user ELSTREE\JXYZCUSR have read access to the path S:\Private\AML Data Extract\AML Data Extract.xls?



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
ssmith 29602
ssmith 29602
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 166
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?
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16518 Visits: 13210
You need to use a proxy account in your SQL Agent jobstep.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
ssmith 29602
ssmith 29602
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 166
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.
ssmith 29602
ssmith 29602
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 166
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search