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

Connection Manager Error Expand / Collapse
Author
Message
Posted Monday, November 12, 2012 10:08 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:54 AM
Points: 18, Visits: 118
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.
Post #1383763
Posted Tuesday, November 13, 2012 1:37 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 6:51 AM
Points: 13,252, Visits: 10,135
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1383978
Posted Tuesday, November 13, 2012 2:20 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:54 AM
Points: 18, Visits: 118
Thanks for the help. Setting the property to false worked. I knew it would be simple.
Post #1383985
Posted Tuesday, November 13, 2012 2:22 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 6:51 AM
Points: 13,252, Visits: 10,135
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1383986
Posted Tuesday, November 13, 2012 9:24 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:54 AM
Points: 18, Visits: 118
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.
Post #1384155
Posted Tuesday, November 13, 2012 1:03 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 6:51 AM
Points: 13,252, Visits: 10,135
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1384261
Posted Wednesday, November 14, 2012 8:25 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:54 AM
Points: 18, Visits: 118
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?
Post #1384670
Posted Wednesday, November 14, 2012 2:17 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 6:51 AM
Points: 13,252, Visits: 10,135
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1384855
Posted Monday, November 19, 2012 4:01 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:54 AM
Points: 18, Visits: 118
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.
Post #1386280
Posted Monday, November 19, 2012 7:00 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 17, 2014 8:54 AM
Points: 18, Visits: 118
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.
Post #1386371
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse