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

Announcements

No record found.

News and Announcements icon
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

  • Suggested answer
    Ricardo Gimenez Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 42

#2
11manish Profile Picture

11manish 29 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 19

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans