我在云CRM Dynamics 365中安装托管软件包时遇到了问题。由于我无法跟踪问题,因此很头疼。
让我解释一下要点:
我为所有组件设置了自定义false
我已在Sandbox模式下注册了插件。我使用了插件注册工具来获得许可证和其他一些功能。
我尝试了两种方式。
首先:当我第一次尝试安装时,我从工作流程中获得了未处理状态。
第二:要解决上述问题,我尝试删除许可证流程相关组件。现在我从更新销售订单的插件组件中获取未处理状态。
最糟糕的是我没有在日志文件中收到任何错误消息或错误代码。
最后,这里有几个日志。有人可以提出解决方案吗?
--------------------------------------------------------------------------------------------------------
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()
答案 0 :(得分:0)
<强> *更新强> 尝试关闭与实体相关的插件和工作流程,然后重试。看起来您的代码中的代码也有错误。
根据错误消息显示,TFS无权将配置文件保存在用户漫游路径中:
Error Message: SaveConfigToFile() - fail - \\tpapsvmgmt01\UserMyDocs\sbrown\AppData\Roaming\Microsoft\PackageDeployer\Default_PackageDeployer.exe
此外,您使用的是哪个版本的SDK?它声明您使用的是8.0之前的版本。确保您拥有最新的SDK dll。
PackageDeployment Information 8 4/4/2017 10:06:45 AM Executing Solution Import Pre v8.0
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 4/4/2017 10:08:43 AM Failed to Execute Command - ImportSolution
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 4/4/2017 10:08:43 AM Source : mscorlib
Method : HandleReturnMessage
Date : 4/4/2017
Time : 10:08:43 AM
Error : Message: Import failed
ErrorCode: -2147188706
Trace:
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.Servic
可能是正在使用的配置设置 正宗,因为它正在抛出错误调用通道代理命令。