locked
Failing ServerSideExchange Check Appoinments,Contacts and Tasks Status RRS feed

  • Question

  • Hi,

    For some users the check keeps failing.

    In trace I see:

    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x5
    at SubscriptionClientsService.GetClientSubscriptionPrimaryKey(Guid clientId, ExecutionContext context)  ilOffset = 0x7B
    at SubscriptionClientsService.GetClientSubscriptionId(Guid clientId, Boolean& isPrimaryClient, ExecutionContext context)  ilOffset = 0xB
    at SubscriptionClientsService.IsPrimaryClient(Guid clientId, ExecutionContext context)  ilOffset = 0x4A
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xCF
    at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
    at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
    at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x50
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
    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, Boolean traceRequest, OrganizationContext context, Boolean returnResponse)  ilOffset = 0x16A
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x3D
    at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
    at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    at CrmItemFinder.GetCrmSubscription(ExchangeSyncState lastSyncState)  ilOffset = 0x1DB
    at ExchangeSyncWorkerStepContext..ctor(ExchangeSyncWorker worker)  ilOffset = 0x8F
    at ExchangeSyncWorker.Initialize()  ilOffset = 0x50
    at ExchangeSyncWorker.SynchronizeACTs()  ilOffset = 0x8
    at ACTProviderBase.Run()  ilOffset = 0x42
    at ACTValidator.Check()  ilOffset = 0x3B
    at MailboxOperationBase`1.Execute()  ilOffset = 0xAA
    at MailboxOperationCommand.InternalExecute(MailboxAsyncEvent asyncEvent)  ilOffset = 0x5E
    at AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)  ilOffset = 0x8A
    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
    Crm Exception: Message: subscriptionclients with clientid e062d2f6-e894-e411-93fa-00155d470a4f doesn't exist, ErrorCode: -2147204845

    Someone?

    Wednesday, August 5, 2015 9:39 AM

All replies

  • I queried this down to the correct clientid and found a strange phenomenon:

    SELECT SystemUserId  FROM SystemUserBase  where lastname = 'aalbers'

    576A2732-CB65-E411-93F9-00155D470A4F

    SELECT  SubscriptionId FROM Subscription where SystemUserId = '576A2732-CB65-E411-93F9-00155D470A4F'

    CF62D2F6-E894-E411-93FA-00155D470A4F

    SELECT ClientId FROM SubscriptionClients WHERE SubscriptionId = 'CF62D2F6-E894-E411-93FA-00155D470A4F'

     d062d2f6-e894-e411-93fa-00155d470a4f

    So compared this with the clientid from the error it's a mismatch on only the first char....

    Thursday, August 6, 2015 4:53 AM
  • Hi Alex

    I am getting same error for one specific user but there is not any record in Subscription table for specific systemuserid.

    Did you fix this issue?

    Many Thanks




    • Edited by zaheerahmed Tuesday, September 22, 2015 2:23 PM
    Tuesday, September 22, 2015 2:22 PM