【发布时间】:2017-08-28 12:02:14
【问题描述】:
我在 Cloud CRM Dynamics 365 中安装托管包时遇到问题。由于我无法跟踪问题,因此很头疼。
让我解释一下重点:
我为所有组件设置了可自定义的
false我已经在沙盒模式下注册了插件。我已经使用插件注册工具来获得许可和其他一些功能。
我尝试了两种方法。
首先:当我第一次尝试安装时,我从工作流中获得了未处理状态。
第二:为了解决上述问题,我尝试删除许可流程相关组件。现在我从更新销售订单的插件程序集中获得未处理状态。
最糟糕的是我在日志文件中没有收到任何错误消息或错误代码。
最后,这里有一些日志。有人可以提出解决方案吗?
--------------------------------------------------------------------------------------------------------
AsynchronousProcessingService Failed to add the item to the sync item collection for the mailbox : {8CBF53D0-896B-E611-80F2-FC15B4288714}. Exception details : Unhandled Exception: Microsoft.Crm.CrmArgumentException: Invalid input.
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeItemFinder.AddItemToSyncItemChangeInfoCollection(Item item, String itemId, SyncItemChangeType itemChangeType, ItemObjectType itemObjectType, String crmId)
Inner Exception: System.ArgumentException: Invalid input.
AsynchronousProcessingService Failed to add the item to the ItemFinder sync error collection for the mailbox : {8CBF53D0-896B-E611-80F2-FC15B4288714}. Exception details : Unhandled Exception: Microsoft.Crm.CrmArgumentException: Invalid input.
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeItemFinder.AddItemToItemFinderSyncErrors(String itemId, SyncItemChangeType itemChangeType, ItemObjectType itemObjectType, Exception ex)
Inner Exception: System.ArgumentException: Invalid input.
--------------------------------------------------------------------------------------------------------
WebApplicationServer MessageProcessor fail to process message 'InitializeFrom' for 'none'.
--------------------------------------------------------------------------------------------------------
WebApplicationServer InitializeFrom cannot be invoked from source entity of type account with id 89abd2b1-248f-e611-80f3-fc15b4282658 to target entity type task because there is no entity map defined between these two entities.
--------------------------------------------------------------------------------------------------------
WebApplicationServer 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=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: Microsoft.Crm.CrmException: There is no entity map defined for the given entities
at Microsoft.Crm.ObjectModel.CustomizationService.InitializeFrom(BusinessEntityMoniker moniker, String targetEntityName, TargetFieldType targetFieldType, Boolean mapReadSecuredOnSourceAndTarget, ExecutionContext context)
at Microsoft.Crm.ObjectModel.CustomizationService.InitializeFrom(BusinessEntityMoniker moniker, String targetEntityName, TargetFieldType targetFieldType, ExecutionContext context)
--------------------------------------------------------------------------------------------------------
WebApplicationServer MessageProcessor fail to process message 'InitializeFrom' for 'none'.
--------------------------------------------------------------------------------------------------------
WebApplicationServer MSCRM Error Report:
Error: There is no entity map defined for the given entities
Error Number: 0x80040E01
Error Message: There is no entity map defined for the given entities
Error Details: There is no entity map defined for the given entities
Source File: Not available
Line Number: Not available
Request URL:
Stack Trace Info: [CrmException: There is no entity map defined for the given entities]
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.InitializeFromCommand.Execute()
【问题讨论】:
-
我在本地也遇到了类似的问题。唯一对我有用的是拆解解决方案(在我的情况下它是不受管理的)并通过多种不同的解决方案一点一点地移动我的自定义(不知道导入过程中断的根本原因......)
-
您是否尝试将此受管软件包导入您在内部部署的某个组织并检查跟踪?
-
@PawelGradecki 谢谢。实际上我需要在本地进行配置。这可能需要时间。但是,我尝试在 CRM Trial 在线空白帐户中导入,它工作正常。但它不适用于使用 Cloud Dynamics 365 升级的旧 CRM。在 CRM Cloud(online) 365 中是否有任何其他方法可以跟踪?请指导我。
-
@NanjiMange 您需要与 MS 支持部门取得联系并要求跟踪,错误 不像 MS 所希望的那样不太可能
-
就像之前建议的那样 - 尝试创建一个新的空解决方案并导出/导入自定义项,一点一点地添加组件,以确定哪个组件导致错误。首先尝试在没有插件的情况下导入解决方案,如果仍然失败,则将其他组件一一删除,并检查是否在任何时候都会成功。您可以发布导入解决方案时错误的屏幕截图吗?很可能您删除了一些托管解决方案并留下了一些垃圾,您只需要确定这些垃圾是什么
标签: dynamics-crm dynamics-crm-online dynamics-crm-2016