web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Export to Excel issue

(0) ShareShare
ReportReport
Posted on by 5

Up to November 2022, we can export to excel a months data from production. But from December we suddenly started having this error below

A call to Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorkbookWriter.
Dispose failed with this message: Could not find a part of the path 'xsqbfwzq.cts'.

But if we restore the same database in test environment we are able to export to excel

What could be the cause of this?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    Are you using Business Central on prem or Business Central online?

  • adebowale Profile Picture
    5 on at

    we are using Business Central on prem

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    Then you should have your developer debug this.

    It might be a permission error on the BC server, because the file you are exporting will first be temporarily placed on your BC server before it is downloaded to your client machine.

    You can also look at the event log on your BC server to get some hints.

  • adebowale Profile Picture
    5 on at

    The developer has debugged but not able to see any issue.

    we are able to run for a day data to excel in production, which means we have permission.

    We checked the log it said time out due slow receiving of data.

    the issue is still unresolved

    Regards,

    Adebowale

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    I don't know exactly how  you do your Excel export but there are some server settings you might want to look at:

    learn.microsoft.com/.../configure-server-instance

    Max Data Rows Allowed to Send to Excel

    SQL Command Timeout

    Chunk Size

    Operation Timeout

    Max Execution Timeout

    Max Rows

    You could try to adjust these setting to see if that helps.

    You might also want to redesign the process to find a more efficient way to export the data if you have a timeout issue.

  • adebowale Profile Picture
    5 on at

    Thanks Inge,

    We compared the settings of the above suggested with the test server, they are same.

    But the excel download of large data works on the test but not the production environment.

    Is there any SQL Server settings control the excel buffer?

    Regards,

    Saheed Adeosun

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Has there been an update of Office?

    Thank you.

  • Suggested answer
    adebowale Profile Picture
    5 on at

    Issue resolved after the server service was re started.

    Thank you all

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Thanks for Informing.

  • Community member Profile Picture
    2 on at
    Is there any solution to this issue beside restarting services? There is not much event log explaining on how this issue is happening and also it is happening randomly and frequently. My customer is using BC 16.3 on premise 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans