Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Table 370 Excel Buffer Error

Posted on by 2,641

Hi,

I am using NAV 2013 R2 build 35800.

I got below error in Table 370 Excel Buffer in function CloseBook() at line:

XlWrkBkWriter.ValidateDocument;

See below error:

Microsoft Dynamics NAV

---------------------------

A call to Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorkbookWriter.ValidateDocument failed with this message: The spreadsheet is corrupted. The following error occurred: The attribute 'r' has invalid value '4194304'. The MaxInclusive constraint failed. The value must be less than or equal to 1048576..

---------------------------

OK

---------------------------

*This post is locked for comments

  • Jatin Patel Profile Picture
    Jatin Patel 2,641 on at
    RE: Table 370 Excel Buffer Error

    Yes I can run same operation with other filter. But for specific filter I am getting error.

  • Verified answer
    Daniele Rebussi Profile Picture
    Daniele Rebussi 2,480 on at
    RE: Table 370 Excel Buffer Error

    So I think it's due to some non-valid values are going to be exported in the Excel file, are you able to try the same operation with another set of data or writing just some of the cells in the workbook?

  • Jatin Patel Profile Picture
    Jatin Patel 2,641 on at
    RE: Table 370 Excel Buffer Error

    I am creating new file. I am running report which is exporting data to excel.

  • Suggested answer
    Daniele Rebussi Profile Picture
    Daniele Rebussi 2,480 on at
    RE: Table 370 Excel Buffer Error

    Are you creating a new file or opening an existing one and updating it? If it's the second case, try to create a new document, copy the content of the broken file into this and work with the new one.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans