Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Vague error when merging Contacts

$
0
0

Hi everyone,


We've merged Contact Records many, many times. We've come across a situation where randomly, we can't merge some contacts. The error message is pretty vauge, and doesnt give an option to download the Log. On the CRM Server, I can see in the event viewer that there is an exception being thrown.

The following has been taken from the Event Viewer Log.

Any ideas?

The Web Service plug-in failed in OrganizationId: [Removed]; SdkMessageProcessingStepId: [Removed]; EntityName: contact; Stage: 30; MessageName: Merge; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=[Removed]; 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.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: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
   at Microsoft.Crm.BusinessEntities.BusinessEntityCollection.get_Item(Int32 index)
   at Microsoft.Crm.Common.ObjectModel.GenericActivityServiceBase.UpdateOwnerAndRegardingParties(BusinessEntityMoniker actMoniker, GenericActivity entity, ExecutionContext context)
   at Microsoft.Crm.Common.ObjectModel.GenericActivityServiceBase.UpdateInternal(IBusinessEntity entityInterface, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeMergeThroughOneToManyEntityRelationships(Guid masterId, Guid subId, EntityMetadata parentEntityMetadata, Boolean useSystemContext, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeMerge(Guid masterId, Guid subId, Int32 parentTypeCode, Boolean useSystemContext, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Merge(BusinessEntityMoniker masterMoniker, Guid subordinateId, IBusinessEntity entity, Boolean bPerformParentingChecks, ExecutionContext context)



Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>