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:
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