I have tried creating Data Source records from System>Administrator> Virtual Entity Data Sources . I have previously consumed data through the Data Sources but from the past two days am not able to create a Data Source itself. This error first was noticed on a trial instance in India and later for a trial instance in North America.
The error details are as follows:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>06f66b2f-edd8-46ee-afcc-b3873b916dbc</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionSourceKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Xrm.DataProvider.JsonConverter.Plugins.JsonConverterCreatePlugin</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: An unexpected error occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.D365.ServicePlatform, Version=4.0.368.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Microsoft.Xrm.DataProvider.Logger.XrmLogger..ctor(ILoggerFactory loggerFactory)
at Microsoft.Xrm.DataProvider.JsonConverter.Plugins.LogContextFactory.Create(ILoggerFactory loggerFactory, ILoggerFactory servicePlatLoggerFactory, IDataProviderContext dataProviderContext, String sdkMessageName, String pluginName)
at Microsoft.Xrm.DataProvider.JsonConverter.Plugins.Bootstrapper.Bootstrap(IServiceProvider serviceProvider, String pluginName)
at Microsoft.Xrm.DataProvider.JsonConverter.Plugins.JsonConverterCreatePlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass1_0.<Execute>b__0()</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1d0f14d0-ce1e-e811-a980-000d3a192e9a</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiDepthKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiActivityIdKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">06f66b2f-edd8-46ee-afcc-b3873b916dbc</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>An unexpected error occurred.</Message>
<Timestamp>2018-03-13T10:38:50.7919131Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>
[Microsoft.Xrm.DataProvider.JsonConverter.Plugins: Microsoft.Xrm.DataProvider.JsonConverter.Plugins.JsonConverterCreatePlugin]
[1d0f14d0-ce1e-e811-a980-000d3a192e9a: External plug-in implementation]
</TraceText>
</OrganizationServiceFault>
Could anyone let me know any solutions as to how to fix this.?
PS: The Data Source is created on a completely uncustomised trial Dynamics instance.
*This post is locked for comments