Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Excel Buffer | Could not find a part of the path

Posted on by 1,112

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

  • MuniKam Profile Picture
    MuniKam 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?

  • subrata.bauri Profile Picture
    subrata.bauri 1,112 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.

  • subrata.bauri Profile Picture
    subrata.bauri 1,112 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.

  • Suggested answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 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
    subrata.bauri 1,112 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.

  • subrata.bauri Profile Picture
    subrata.bauri 1,112 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.

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 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
    subrata.bauri 1,112 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.

  • Suggested answer
    Andrey Baludin Profile Picture
    Andrey Baludin 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

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans