Solution Error Import - There is no entity map defined for t

19. April 2017 12:56

Hallo zusammen,

wir haben derzeit in unserem Live System ein Problem beim einspielen / updaten unserer Solution. (CRM 2013 V. 6.1.4.145 - SP1 UR4 - Windows Server 2012 Std.)
Wenn wir diese einspielen stopp das gesamte System und hängt sich auf. Nur durch einen IIS Reset bekommen wir es wieder zum laufen.

Über das Trace kann ich folgendes rausziehen:
# CRM Tracing Version 2.0
# LocalTime: 2017-04-18 14:38:27.884
# Categories: *:Error
# CallStackOn: No
# ComputerName: Server XX
# CRMVersion: 6.1.0004.0145
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools, VssWriter, EmailConnector
[2017-04-18 14:38:27.884] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 14 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | BackgroundAggregator.InternalStart ilOffset = 0x32
at BackgroundAggregator.InternalStart(Object state) ilOffset = 0x32
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA3
>BackgroundAggregator caught exception: Der an einen Systemaufruf übergebene Datenbereich ist zu klein
[2017-04-18 14:38:29.506] Process: w3wp |Organization:dbb6a37a-eac3-e411-9405-005056004269 |Thread: 10 |Category: Platform.Metadata |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 26289fde-53b6-44e9-80a7-131de02f86d8 | <>c__DisplayClass1.<LoadMetadataContainerFromDatabase>b__0 ilOffset = 0x14
>Multi-org sharable cache loading system and non-system metadata with build number 6.1.4.145 and language 1031
[2017-04-18 14:38:31.831] Process: w3wp |Organization:dbb6a37a-eac3-e411-9405-005056004269 |Thread: 10 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 26289fde-53b6-44e9-80a7-131de02f86d8 | SystemLabelDictionaryCacheLoader.LogDetails ilOffset = 0x36
>System LabelDictionary was loaded for language 1031 from organization {DBB6A37A-EAC3-E411-9405-005056004269} with 23591 labels
[2017-04-18 14:38:38.882] Process: w3wp |Organization:dbb6a37a-eac3-e411-9405-005056004269 |Thread: 31 |Category: Platform |User: 296b50ea-43a4-4896-b6b3-f21b596b73eb |Level: Error |ReqId: ff83e5b8-3ea9-4e1e-8269-e96157cbcdb6 | SystemLabelDictionaryCacheLoader.LogDetails ilOffset = 0x36
>System LabelDictionary was loaded for language 0 from organization {DBB6A37A-EAC3-E411-9405-005056004269} with 0 labels
[2017-04-18 14:40:02.358] Process: w3wp |Organization:dbb6a37a-eac3-e411-9405-005056004269 |Thread: 14 |Category: Exception |User: 296b50ea-43a4-4896-b6b3-f21b596b73eb |Level: Error |ReqId: 92bb1000-9b0c-4fc9-b824-3714878fad85 | CrmException..ctor ilOffset = 0x7
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7
at CrmException..ctor(String message, Int32 errorCode) ilOffset = 0x5
at CustomizationService.InitializeFrom(BusinessEntityMoniker moniker, String targetEntityName, TargetFieldType targetFieldType, Boolean mapReadSecuredOnSourceAndTarget, ExecutionContext context) ilOffset = 0x62
at CustomizationService.InitializeFrom(BusinessEntityMoniker moniker, String targetEntityName, TargetFieldType targetFieldType, ExecutionContext context) ilOffset = 0x7
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x25
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0xCF
at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider) ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) ilOffset = 0x200
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at 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) ilOffset = 0x16E
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x1F1
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D
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 InitializeFromCommand.Execute() ilOffset = 0x41
at PlatformEntityMap.ProcessParameters(Entity targetEntity, HashSet`1 keys, NameValueCollection parameters) ilOffset = 0x96
at ApplicationCommand.MapEntity(EntityType targetEntityType, NameValueCollection parameters) ilOffset = 0x218
at ReadFormDataBuilder.PopulateEntityWithDefaultDataIfAvailable() ilOffset = 0x54
at ReadFormDataBuilder.LazyLoadEntity() ilOffset = 0xA1
at Lazy`1.CreateValue() ilOffset = 0x61
at Lazy`1.LazyInitValue() ilOffset = 0x86
at ReadFormDataBuilder.BuildFormDataJson() ilOffset = 0x0
at ReadFormDataBuilder.RetrieveFormattedEntityData() ilOffset = 0x13
at QuickFormControl.BuildReadFormDataObject(EntityBase parentEntity) ilOffset = 0xDC
at <>c__DisplayClassa.<AddCustomControlDataJson>b__9(ICrmControl control, ControlDescriptor controlDescriptor) ilOffset = 0x76
at FormMediator.ProcessControlHierarchy(Action`2 controlHandler) ilOffset = 0x1A5
at ReadFormDataBuilder.AddCustomControlDataJson() ilOffset = 0x36
at ReadFormDataBuilder.RetrieveFormattedEntityData() ilOffset = 0x6F
at EntityDataHelper.SetClientVars(PageResourceManager headerControl) ilOffset = 0xD3
at ReadFormPage.ConfigureHeader() ilOffset = 0x3E8
at PageManager.OnPreRender(EventArgs e) ilOffset = 0xF
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 HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) ilOffset = 0x36A
at HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) ilOffset = 0x204
at HttpServerUtility.Transfer(String path) ilOffset = 0x18
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

>Crm Exception: Message: There is no entity map defined for the given entities, ErrorCode: -2147217919

[2017-04-18 14:40:02.452] Process: w3wp |Organization:dbb6a37a-eac3-e411-9405-005056004269 |Thread: 14 |Category: Platform.Sdk |User: 296b50ea-43a4-4896-b6b3-f21b596b73eb |Level: Error |ReqId: 92bb1000-9b0c-4fc9-b824-3714878fad85 | VersionedPluginProxyStepBase.Execute ilOffset = 0x65
>Web Service Plug-in failed in SdkMessageProcessingStepId: {27CBBB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: none; Stage: 30; MessageName: InitializeFrom; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht.
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
bei Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
bei Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
bei Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: Microsoft.Crm.CrmException: There is no entity map defined for the given entities
bei Microsoft.Crm.ObjectModel.CustomizationService.InitializeFrom(BusinessEntityMoniker moniker, String targetEntityName, TargetFieldType targetFieldType, Boolean mapReadSecuredOnSourceAndTarget, ExecutionContext context)
bei Microsoft.Crm.ObjectModel.CustomizationService.InitializeFrom(BusinessEntityMoniker moniker, String targetEntityName, TargetFieldType targetFieldType, ExecutionContext context)
.

Ist so ein Problem bekannt oder hat jemand schon mal ähnliche Probleme gehabt?

Viele Grüße
Timo