Skip to main content
Community site session details

Community site session details

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

File Not Found Error When Generating Report in Dynamics 365 Business Central

(1) ShareShare
ReportReport
Posted on by 16

Hello everyone,

I am encountering a persistent issue while trying to generate reports in Dynamics 365 Business Central. Whenever I attempt to generate a report, I receive the following error message:

File C:\ProgramData\Microsoft\Microsoft Dynamics NAV\230\Server\MicrosoftDynamicsNavServer$BC230\users\default\00000000-0000-0000-0000-000000000001\TEMP\__TEMP__0500c551f6b940efbb7fd93bbcbbc5c2.tmp was not found.

The error message from the Event Viewer indicates that Dynamics 365 Business Central (NAV) is unable to find a specific temporary file, resulting in a System.IO.FileNotFoundException. This suggests an issue with how Dynamics 365 is handling file creation for the report.

After navigating to the specified folder, I noticed that the file __TEMP__0500c551f6b940efbb7fd93bbcbbc5c2.tmp is indeed missing. Here are some additional details and steps I’ve already taken:

Permissions: Verified that the Network Service account has full control over the C:\ProgramData\Microsoft\Microsoft Dynamics NAV\230\Server\MicrosoftDynamicsNavServer$BC230\users\default\folder and its subdirectories.

Folder Structure: Ensured that the entire folder structure exists as specified in the error message.

Event Viewer Logs: The logs show a System.IO.FileNotFoundException related to the missing temporary file.

CustomSettings.config: I have not set up a TempFilePath in the CustomSettings.config file because it wasn't originally configured.

Manual File Creation: I attempted to manually create a temporary file with the specified name, but it seems like a new name is generated every time I try to preview the report. Therefore, manually creating the file is not a viable solution.

Moreover, I am facing an issue with uninstalling extensions through the Extension Management. The error message I receive is:


To uninstall extensions I have published, I have found the following workaround, which involves using the BC Administration Shell with the command:

Uninstall-NAVApp -ServerInstance X -Name Y -DoNotSaveData

Given these two scenarios, both of which are expected to work but produce errors, I suspect there may be something wrong with the installation on my PC. I didn't install Dynamics 365 Business Central myself, so I am not entirely sure how the installation was done or how I might try to fix it.

Thank you for your assistance!

Best Regards,

Nikol

  • Gerardo Rentería García Profile Picture
    20,947 Most Valuable Professional on at
    File Not Found Error When Generating Report in Dynamics 365 Business Central
  • YUN ZHU Profile Picture
    85,978 Super User 2025 Season 1 on at
    File Not Found Error When Generating Report in Dynamics 365 Business Central
    Hi, sorry I'm not sure, you can try repair installation.
    Or uninstall BC and reinstall it.
     
    If you still have problems, you can submit a SR to the Microsoft support team and they will assist in investigating.
     
    Thanks.
    ZHU

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans