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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Excel Buffer | Could not find a part of the path

(0) ShareShare
ReportReport
Posted on by 1,144

Dear All,

An Enduser is facing the below error message during execution of Export To Excel Report in NAV 2016.

Microsoft Dynamics NAV
---------------------------

A call to Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorkbookWriter.Create failed with this message: Could not find a part of the path
'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\Server\MicrosoftDynamicsNavServer$DynamicsNAV90\
users\default\Woods\TEMP\__TEMP__589ed7d71b1c4d29b30f4815e1a78ac2.tmp.xlsx'.
---------------------------
OK
---------------------------

How to solve it ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Andrey Baludin Profile Picture
    3,941 on at
    RE: Excel Buffer | Could not find a part of the path

    1. Check that your dotnet variables has RunOnClient property = yes

    2. Check that your user has an access to Microsoft Dynamics NAV folder

  • subrata.bauri Profile Picture
    1,144 on at
    RE: Excel Buffer | Could not find a part of the path

    I'm not using dotnet variables, using Excel Buffer.

    NavUserPassword Credential is used in the NAV Instance. RemoteUser are not to able execute the report.

  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Excel Buffer | Could not find a part of the path

    Is it a custom export or the standard one? It seems that NAV is searching for a temporary file at Server side.NAV code is executed at Server side, so if you create a temporary file on the client you’ve to upload to the server.

  • subrata.bauri Profile Picture
    1,144 on at
    RE: Excel Buffer | Could not find a part of the path

    Facing the same problem while executing base Report called "Trial Balance", Report ID : 6.

  • subrata.bauri Profile Picture
    1,144 on at
    RE: Excel Buffer | Could not find a part of the path

    @Andrey Baludin

    Thanks for your reply.

    All dot net variables have RunOnClient property = yes in Excel Buffer Table.

    But when Users are trying to execute the export to excel report built on Excel Buffer, the generated excel file is trying to find the path in the NAV Server instead of Local Temp path.

  • Suggested answer
    Zaid Tariq Profile Picture
    2,274 on at
    RE: Excel Buffer | Could not find a part of the path

    Hi,

    The reason could be, you are referring to the temp path at server. Use the client temp path instead.

  • subrata.bauri Profile Picture
    1,144 on at
    RE: Excel Buffer | Could not find a part of the path

    Hi Zaid,

    I'm not referring anything anywhere in the reports which are built on Excel Buffer table. Few clients are able to execute & few does not.

  • subrata.bauri Profile Picture
    1,144 on at
    RE: Excel Buffer | Could not find a part of the path

    The problem has been solved.

    The problem was in the Excel Buffer Table.

    Now Every Users are able to execute as per last information received from the client Site.

    Thanks to everybody for their Time.

  • MuniKam Profile Picture
    5 on at
    RE: Excel Buffer | Could not find a part of the path

    What was the issue in the Excel Buffer table and how did you resolve it?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#3
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans