locked
CRM 2015 - Server Side Synchronization - Incoming email from comcast.net domain not creating Email Activity RRS feed

  • Question

  • Hi,

    I am having Server Side Sync, enabled for Queue. SSS works fine as long as it is receiving emails from .com domains. However it is giving following error while processing email that is sent from comcast.net domain. Emails are not getting created as Activities in CRM

    There is no Custom Plug-in or Workflow running on email entity in CRM. There are no 2 queues with same email address.

    >Crm Exception: Message: Bad Conversation Index, ErrorCode: -2147220970
    [2016-03-28 15:14:31.542] Process:CrmAsyncService |Organization:f81b30cf-7cd2-e111-b664-005056ab021d |Thread:   74 |Category: Platform.Sdk |User: 46e15091-f11b-412d-b003-124b24a4fbf5 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 | VersionedPluginProxyStepBase.Execute  ilOffset = 0x65
    	at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    	at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action)  ilOffset = 0x2D
    	at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0xD8
    	at <>c__DisplayClass1.<RunStage>b__0()  ilOffset = 0x0
    	at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action)  ilOffset = 0x2D
    	at MessageProcessor.RunStage(PipelineExecutionContext context, Int32 pipelineStage)  ilOffset = 0x39
    	at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x171
    	at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
    	at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)  ilOffset = 0x16E
    	at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode)  ilOffset = 0x1EE
    	at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x2D
    	at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x26
    	at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    	at IncomingEmailProviderBase.DeliverMessageInternal(EmailMessage emailMessage, Boolean validateBeforeCreate)  ilOffset = 0x207
    	at IncomingEmailProviderBase.DeliverMessage(EmailMessage emailMessage, Boolean validateBeforeCreate)  ilOffset = 0x19
    	at GetItemsStep.ProcessResponse()  ilOffset = 0x5AB
    	at ExchangeIncomingEmailProviderStep.EndOperation()  ilOffset = 0xFC
    	at ExchangeIncomingEmailProvider.ReceiveEmails()  ilOffset = 0x92
    	at IncomingActivityProviderBase.Run()  ilOffset = 0x42
    	at MailboxEmailOperation.PerformOperation()  ilOffset = 0x2C
    	at MailboxOperationBase`1.Execute()  ilOffset = 0xAA
    	at MailboxProcessingOperation.PerformOperation()  ilOffset = 0x1A
    	at MailboxOperationBase`1.Execute()  ilOffset = 0xAA
    	at MailboxOperationCommand.InternalExecute(MailboxAsyncEvent asyncEvent)  ilOffset = 0x64
    	at AsyncCallbackHandler`2.ResumeExecution(IAsyncEvent asyncEvent)  ilOffset = 0x5B
    	at AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)  ilOffset = 0xD9
    	at PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager)  ilOffset = 0x144
    	at AsyncEventOperation.<.ctor>b__2(IServiceOperation operation)  ilOffset = 0x0
    	at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter)  ilOffset = 0x18
    	at MonitoredOperation.Execute()  ilOffset = 0xD
    	at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state)  ilOffset = 0xC
    	at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    	at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
    	at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x0
    	at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA3
    >Web Service Plug-in failed in SdkMessageProcessingStepId: {D0CABB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: email; Stage: 30; MessageName: DeliverIncoming; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=7.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.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: Bad Conversation Index
       at Microsoft.Crm.CrmException.Assert(Boolean condition, String message)
       at Microsoft.Crm.Common.ObjectModel.EmailService.AddAdditionalFields(Email email, Entity emailDeltaEntity, ExecutionContext context)
       at Microsoft.Crm.Common.ObjectModel.EmailService.SetRecipientsAddAdditionalAttributeAndCreate(AddressEntry[][] allResolvedAddressEntries, Email email, Entity emailDeltaEntity, String traceSubject, ExecutionContext context)
       at Microsoft.Crm.Common.ObjectModel.EmailService.Deliver(Boolean userPromote, Guid emailId, String messageId, String subject, String from, String to, String cc, String bcc, DateTime receivedOn, String submittedBy, String importance, String body, BusinessEntityCollection attachments, Guid campaignResponseId, Entity emailDeltaEntity, ExecutionContext context, Boolean validateBeforeDeliver)
       at Microsoft.Crm.Common.ObjectModel.EmailService.DeliverIncoming(String messageId, String subject, String from, String to, String cc, String bcc, DateTime receivedOn, String submittedBy, String importance, String body, BusinessEntityCollection attachments, Entity extraProperties, Boolean validateBeforeCreate, ExecutionContext context)
    .


    MaKeer | myencounterwithcrm.wordpress.com | CRM2011 User Settings Utility | CRM2011 Lookup Preview | CRM2011 Lookup Attribute Mapping | CRM2011 TreeView Control (Beta) | CRM2011 N:N Entity View (Beta) | CRM 2011 Global Quick Search (Beta)

    Tuesday, March 29, 2016 7:45 AM

All replies

  • Hi

    Were you able to find a solution to this issue?

    I get the same issues but can't seem to find a solution.

    Thursday, September 22, 2016 8:37 AM
  • Hi,

    Have a look at setting the email to allow Basic Authentication on non-secure channels in the deployment properties table.

    ECAllowBasicAuthenticationOnNonSecureChannel  = true

    ECAllowNonSSLEmail = true

    Thursday, September 22, 2016 10:44 AM