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 470

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
    Raffaele Sorra 470 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
    Raffaele Sorra 470 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
    RaviKashyap 55,410 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
    RaviKashyap 55,410 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans