gpt4 book ai didi

dynamics-crm - 在 Cloud CRM Dynamics 365 中安装托管包时如何发现问题?

转载 作者:行者123 更新时间:2023-12-04 04:48:28 25 4
gpt4 key购买 nike

我在 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()

    最佳答案

    *更新
    尝试关闭与实体相关的插件和工作流,然后重试。看起来你的代码在你的插件中也有一个错误。

    根据错误消息,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

    可能是正在使用的配置设置
    真实,因为它在调用 channel 代理命令时抛出错误。

    关于dynamics-crm - 在 Cloud CRM Dynamics 365 中安装托管包时如何发现问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43187711/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com