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 :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Dynamics 365 "Failed to Generate Excel" error

(0) ShareShare
ReportReport
Posted on by 10

Hello, colleagues.

I get an error of import and export data in CRM.

When I try to save some view or a result of advanced find in Excel, I get the next message:

«Failed to Generate Excel. An error occurred when Dynamics 365 tried to generate the Excel file. If this problem persists, contact your system administrator».

It happens permanently about 1 time per week. When it appears, it affects all the 3 CRM instances on the shared server at once. After IIS reset it disappears, but later appears again.

When the error appears, we also cannot do out-of-the-box import from a file: the next message appears (something like, by memory): «Error. Repeat this action again. If this problem persists, address the MS Dynamics 365 Community or MS Dynamics 365 administrator…».

And, it is not that well-known error, when there are two columns with the same name in your view (checked)).

CRM version is Microsoft Dynamics 365 9.0 On-premise.

Could you please be so kind to let me know how to find the reason of the error or how to customize CRM server to get rid of it?Failed-to-Generate-Excel.jpg

I have the same question (0)
  • Suggested answer
    Ricardo Gimenez Profile Picture
    on at
    RE: Dynamics 365 "Failed to Generate Excel" error

    Hello, could you please collect a verbose trace and post here. You can use DiagTool or activate the trace through the registry.

    crmdiagtool2011.codeplex.com/

    docs.microsoft.com/.../monitor-and-troubleshoot-dynamics-365

    Thanks,

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 60

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 16 Super User 2025 Season 2

#2
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans