How do I find a problem installing a managed package in Cloud CRM Dynamics 365?

I had a problem installing my managed package on Cloud CRM Dynamics 365. Since I cannot track the problem, this is a headache.

Let me explain the key points:

  • I installed custom falsefor all components

  • I registered the plugin in Sandbox mode. I used the plugin registration tool for the license and several other functions.

I tried two ways.

First: when I tried to install for the first time, I got the non-process status from the workflow.

Secondly: To solve the above question, I tried to remove the component associated with the license processing process. Now I get unprocess status from the build of the customer order update plugin.

The worst part is that I am not getting an error message or an error code in the log file.

Finally, here are some magazines. Can anyone suggest a solution?

--------------------------------------------------------------------------------------------------------
    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()
+6
source share
1 answer

* Update Try disabling plugins and workflows associated with objects, and try again. It looks like your code also has an error in your plugin.


Based on the error message, a message appears that TFS does not allow saving the configuration file in the user path:

Error Message: SaveConfigToFile() - fail - \\tpapsvmgmt01\UserMyDocs\sbrown\AppData\Roaming\Microsoft\PackageDeployer\Default_PackageDeployer.exe

Also, which version of the SDK are you using? It says that you are using version prior to 8.0. Make sure you have the latest dll SDK installed.

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

, , , .

0

Source: https://habr.com/ru/post/1016275/


All Articles