Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error exporting to Excel

(0) ShareShare
ReportReport
Posted on by 472

Hello

We are facing a problem exporting to excel.

pastedimage1562857348880v1.png

Dynamics CRM 2013 SP1 (6.1.5.111)

Tried on different OS, different environments (Production, Acceptance, Development), different Browsers, different permissions. I created a new empty organization and got the same error.

We uninstalled the latest Windows Updates from June.

The only change was a Deployment of 2 updated plugins we developped for our customer. Our next step is to go back to the previous versions of this plugins....

Do you have any other ideas? Below you will find the Trace-Logs:


MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Message: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source File: Not available
Line Number: Not available
Request URL: localhost/.../print_data.aspx
Stack Trace Info: [MissingMethodException: Method not found: 'Void Microsoft.Crm.Application.Platform.ServiceCommands.ExportDynamicToExcelCommand..ctor(Microsoft.Xrm.Sdk.EntityReference, System.String, System.String, System.String, Microsoft.Crm.Sdk.Messages.ExportDynamicToExcelType, Boolean, System.String, Microsoft.Crm.Sdk.Messages.InputArgumentCollection, Microsoft.Crm.IOrganizationContext)'.]
   at Microsoft.Crm.Controls.ExportToExcelPage.ConfigureForXlsxExport(String exportType)
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #674CB22B: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Crm.Application.Platform.ServiceCommands.ExportDynamicToExcelCommand..ctor(Microsoft.Xrm.Sdk.EntityReference, System.String, System.String, System.String, Microsoft.Crm.Sdk.Messages.ExportDynamicToExcelType, Boolean, System.String, Microsoft.Crm.Sdk.Messages.InputArgumentCollection, Microsoft.Crm.IOrganizationContext)'.
   at Microsoft.Crm.Controls.ExportToExcelPage.ConfigureForXlsxExport(String exportType)
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

*This post is locked for comments

  • Suggested answer
    Raffaele Sorra Profile Picture
    472 on at
    RE: Error exporting to Excel

    We identified a few files (CRM Components) that were overwritten at the last deployment. They have to be restored and then it should work again.

  • Raffaele Sorra Profile Picture
    472 on at
    RE: Error exporting to Excel

    We are not sure, if it has to do with the deployment. Because the error occures also, when I create a complete new and empty organization without customizing.

    But perhabs through the registration of the plug-ins, there are some dll's etc. overwritten?

    I disabled all plugins, but the error still comes up.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Error exporting to Excel

    Hi,

    There is no reference to custom plugin in the stack trace. If you are certain that this has started happening after the update to the plugins, you can disable the plugins and verify if it works.

    You can also verify if this is happening for other entity or just this one..If only this entity then check  if all view or just this one. Some time the problem can be just the corrupted view

    Hope this helps.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Error exporting to Excel

    Hi,

    There is no reference to custom plugin in the stack trace. If you are certain that this has started happening after the update to the plugins, you can disable the plugins and verify if it works.

    You can also verify if this is happening for other entity or just this one..If only this entity then check  if all view or just this one. Some time the problem can be just the corrupted view

    Hope this helps.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans