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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

"Unexpected Error" On Templates for data Import CRM 2015

(0) ShareShare
ReportReport
Posted on by 796

Hello guys,

I've migrated a CRM environment 2011 to 2015,  made some changes through solutions and I'm having the following error when  I trying to export an template of entity to import data:
error_5F00_export_5F00_excel.png
Enabling TraceLog I managed to identify the following problems:
Error code:
0x80040216
I know this can means that I have two fields with the same exibition labels name, but if it's this, I do not know what is the entity with this problem.

In this environment I also installed Plugin Profiler, but i don't believe it is causing this problem.

Also follows the traceLog:

[2016-07-15 19:15:31.679] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   13 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 4f24e09e-d3eb-411b-8545-e263fb4cfbfc | ExceptionConverter.ConvertMessageAndErrorCode  ilOffset = 0x23B
 at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCode)  ilOffset = 0x23B
 at ExceptionConverter.ToSingleFaultOther(Exception exception)  ilOffset = 0x2B
 at ExceptionConverter.ToSingleFaultUnTyped(Exception exception)  ilOffset = 0x3A
 at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x69
 at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x6D
 at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0
 at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x26
 at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
 at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
 at CreateTemplate.ConfigurePage()  ilOffset = 0xE4
 at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0xD
 at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
 at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
 at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
 at Page.ProcessRequest()  ilOffset = 0x14
 at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33
 at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
 at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
 at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
 at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
 at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
 at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
>System.MissingMethodException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #41E0A49B: System.MissingMethodException: Method not found: 'Boolean Microsoft.Crm.Sdk.Messages.InputArgumentCollection.ContainsKey(System.String)'.
>   at Microsoft.Crm.ObjectModel.QueryApiInformation.get_Item(String parameter)
>   at Microsoft.Crm.ObjectModel.RelationshipDecorator.SetAdditionalFilterInfo(QueryApiInformation parameters, EntityExpression expression)
>   at Microsoft.Crm.ObjectModel.RelationshipDecorator.Decorate(QueryApiInformation parameters, EntityExpression entityExpression)
>   at Microsoft.Crm.ObjectModel.DataRetriever.GetInstance(QueryApiInformation queryApiInformation, EntityExpression entityExpression, ExecutionContext context)
>   at Microsoft.Crm.ObjectModel.CrmTableAdapter.RetrieveData()
>   at Microsoft.Crm.ObjectModel.CrmTableAdapter.GenerateRows()
>   at Microsoft.Crm.ObjectModel.CrmTableAdapter.get_Rows()
>   at Microsoft.Xrm.Office.ExcelGenerator..ctor(ISpreadsheet spreadsheet)
>   at Microsoft.Crm.ObjectModel.ExcelService.ExportTemplateToExcel(String entityLocalizedDisplayName, String layoutXml, String fetchXml, ExecutionContext executionContext)

 

 

Thanks In Advance

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Felippe Profile Picture
    796 on at

    Hi folks,

    After days and days searching for any solutions, i face this log:


    >Multi-org sharable cache loading system and non-system metadata with build number 7.0.2.53 and language 1046
    -----------------------------

    >System.TypeLoadException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #0200529B: System.TypeLoadException: Could not load type 'Microsoft.Crm.Sdk.Messages.ExportDynamicToExcelType' from assembly 'Microsoft.Crm.Sdk.Proxy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

    On my Server Application environment i had registered another DLL version of Microsoft.Crm.Sdk.Proxy, who isn't the same version of the native DLL(who came at the installation of Dynamics CRM2015).

    So i have
    Microsoft.Crm.Sdk.Proxy Version 7.0.2.53 (Native) On <Dynamics CRM folder>\Server\bin
    and
    Microsoft.Crm.Sdk.Proxy Version 7.0.0.3050 (manually registered) On C:\Windows\Microsoft.NET\assembly\GAC_MISL\Microsoft.Crm.Sdk.Proxy\..

    When the message says "Could not load type 'Microsoft.Crm.Sdk.Messages.ExportDynamicToExcelType' from assembly 'Microsoft.Crm.Sdk.Proxy, Version=7.0.0.0" means, that CRM tries to use the GAC registered DLL to perform the function ExportTemplateToExcel.

    I've removed the dll from Microsoft.NET folder using gacutil and solved the problem.

    That's all folks!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans