|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:46 AM
Points: 16,
Visits: 62
|
|
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.
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 6:54 AM
Points: 9,364,
Visits: 6,462
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:46 AM
Points: 16,
Visits: 62
|
|
Thanks for the help. Setting the property to false worked. I knew it would be simple.
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 6:54 AM
Points: 9,364,
Visits: 6,462
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:46 AM
Points: 16,
Visits: 62
|
|
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.
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 6:54 AM
Points: 9,364,
Visits: 6,462
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:46 AM
Points: 16,
Visits: 62
|
|
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?
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 6:54 AM
Points: 9,364,
Visits: 6,462
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:46 AM
Points: 16,
Visits: 62
|
|
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.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:46 AM
Points: 16,
Visits: 62
|
|
| 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.
|
|
|
|