Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

what is a limit of rows while exporting data using data management?

Posted on by 2,015

Hi Techies,

I am investigating an issue while exporting data using one of the custom entities developed. If I use export in excel then export is failing after 1.3 million of records saying "Spreadsheet is full" whereas data is exporting fine using CSV.

Error details -

Package execution failed details:: definitionGroup: Test, errorCode: DMF043, errorDescription: <?xml version="1.0"?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>ExcelFileExport [86]</SubComponent><Description>SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Spreadsheet is full.". </Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>ExcelFileExport [86]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "ExcelFileExport.Inputs[Excel Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "ExcelFileExport.Inputs[Excel Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure. </Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ExcelFileExport" (86) failed with error code 0xC0209029 while processing input "Excel Destination Input" (97). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure. </Description></Error><Error><ErrorCode>-1071636284</ErrorCode><SubComponent>Oledb Export [1]</SubComponent><Description>The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020. </Description></Error><Error><ErrorCode>-1073450952</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Oledb Export returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. </Description></Error></Errors>

What can be the possible solution if we need data in excel only. Or am I using some odd excel version. Does anyone faced this before?

Any response is appreciated.

Thanks,

Sangram

*This post is locked for comments

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,269 Super User 2024 Season 2 on at
    RE: what is a limit of rows while exporting data using data management?

    Hi Sangram,

    It is, like Ludwig metioned, a limitation of Excel. See also: support.office.microsoft.com/.../excel-specifications-and-limits-ca36e2dc-1f09-4620-b726-67c00b05040f

    Other files might have an issue with the file storage size.

    Eventually, you can split the export in multiple Excel sheets, but then you have to specify the purpose for the export in an Excel sheet.

  • Verified answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: what is a limit of rows while exporting data using data management?

    Hello Sangram,

    I do not think that there is a solution to this issue because Excel has only 1048576 lines. If you try to export more to a single excel sheet, I would expect the export to fail.

    Why is it that you need to export that large number of data to excel?

    If you need to analyze your data, why don't you use a different tool, such as a cube or PowerBI?

    Best regards,

    Ludwig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans