Hi all,
we have found another bug in Update Rollup 6.
Situation:
After migrating to CRM 4.0 from CRM 2011, CRM 4.0 Plugins are no longer executable and that both out of the application and within the Plugin registration tool.
>Crm Exception: Message: Unable to load the plugin type: ORBIS.EmailToCallPlugin.EmailToCallPlugin, ErrorCode: -2147204720, InnerException: System.IO.FileLoadException: Could not load file or assembly ‘Microsoft.Crm.Sdk, Version=4.0.0.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)
File name: ‘Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′
at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Crm.Extensibility.PluginTypeFactory.LoadType(String qualifiedTypeName, Assembly assembly)
and:
Detail: <OrganizationServiceFault xmlns=”http://schemas.microsoft.com/xrm/2011/Contracts” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance“>
<ErrorCode>-2147204720</ErrorCode>
<ErrorDetails xmlns:a=”http://schemas.datacontract.org/2004/07/System.Collections.Generic“>
<KeyValuePairOfstringanyType>
<a:key>CallStack</a:key>
<a:value i:type=”b:string” xmlns:b=”http://www.w3.org/2001/XMLSchema“> at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Delete(String entityName, Guid id, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)</a:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Unable to load the plugin type: ORBIS.CallQueuePlugin.CallQueuePlugin</Message>
<Timestamp>2012-03-06T08:38:32.1875784Z</Timestamp>
<InnerFault>
<ErrorCode>-2147204720</ErrorCode>
<ErrorDetails xmlns:a=”http://schemas.datacontract.org/2004/07/System.Collections.Generic“>
<KeyValuePairOfstringanyType>
<a:key>CallStack</a:key>
<a:value i:type=”b:string” xmlns:b=”http://www.w3.org/2001/XMLSchema“> at Microsoft.Crm.Extensibility.PluginTypeFactory.LoadType(String qualifiedTypeName, Assembly assembly)
at Microsoft.Crm.Caching.PluginTypeCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.ObjectModel.SdkMessageProcessingStepServiceInternal`1.VerifyIsolationLevel(IBusinessEntity entity, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SdkMessageProcessingStepServiceInternal`1.Delete(BusinessEntityMoniker moniker, ExecutionContext context)</a:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Unable to load the plugin type: ORBIS.CallQueuePlugin.CallQueuePlugin</Message>
<Timestamp>2012-03-06T08:38:32.1875784Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:a=”http://schemas.datacontract.org/2004/07/System.Collections.Generic“>
<KeyValuePairOfstringanyType>
<a:key>CallStack</a:key>
<a:value i:type=”b:string” xmlns:b=”http://www.w3.org/2001/XMLSchema“> at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Crm.Extensibility.PluginTypeFactory.LoadType(String qualifiedTypeName, Assembly assembly)</a:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>System.IO.FileLoadException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2F7B98AB</Message>
<Timestamp>2012-03-06T08:38:32.1875784Z</Timestamp>
<InnerFault i:nil=”true” />
<TraceText i:nil=”true” />
</InnerFault>
<TraceText i:nil=”true” />
</InnerFault>
<TraceText i:nil=”true” />
</OrganizationServiceFault>
Problem:
Update Rollup 6 has a bug. When you import the CRM 4.0 organization, the plugins that have been developed for CRM 4.0 referenced an incorrect assembly.
Work around:
It is possible to perform the migrate with Update Rollup 5 first and then install Update Rollup 6. Please keep in mind that Update Rollup 6 not be uninstalled.
Regards
Markus
No comments yet.