locked
Issue wtih ASync service, keeps hanging RRS feed

  • Question

  • CRM 2013 On-Premise SP1, latest update

    We see alot of these errors in the trace files, every few days email stops being received for queues via service side sync. In order to get it working again we have to kill/start the Async service, a normal stop/start doesn't work as it hangs. We've had a case open with MS for a while but they haven't fixed it yet.

    Can anyone shed any light on the error below? 

    [2015-08-03 08:13:41.384] Process:CrmAsyncService |Organization:00000000-0000-0000-0000-000000000000 |Thread:   41 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 65b0fac1-c080-4a51-b270-7e111050a2ef | CrmException..ctor  ilOffset = 0x7
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode)  ilOffset = 0x5
    at Exceptions.ThrowIfGuidEmpty(Guid parameter, String name)  ilOffset = 0x18
    at OrganizationSdkServiceInternal.Retrieve(String entityName, Guid id, ColumnSet columnSet, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x16
    at InprocessServiceProxy.RetrieveCore(String entityName, Guid id, ColumnSet columnSet)  ilOffset = 0x28
    at OrganizationServiceProxy.Retrieve(String entityName, Guid id, ColumnSet columnSet)  ilOffset = 0x4
    at EntityDictionary.TryRetrieveEntity(String key)  ilOffset = 0xF8
    at EntityDictionary.System.Collections.Generic.IDictionary<System.String,Microsoft.Xrm.Sdk.Entity>.get_Item(String key)  ilOffset = 0x1B
    at VisualBasicValue`1.Execute(CodeActivityContext context)  ilOffset = 0x51
    at ActivityExecutor.ExecuteInResolutionContext(ActivityInstance parentInstance, Activity`1 expressionActivity)  ilOffset = 0x35
    at InArgument`1.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance activityInstance, ActivityExecutor executor)  ilOffset = 0x2F
    at ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, Int32 nextArgumentIndex, ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate)  ilOffset = 0x16
    at ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Int32 startIndex)  ilOffset = 0x9C
    at ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)  ilOffset = 0x1C
    at ActivityExecutor.OnExecuteWorkItem(WorkItem workItem)  ilOffset = 0x53
    at Callbacks.ExecuteWorkItem(WorkItem workItem)  ilOffset = 0xD
    at Scheduler.OnScheduledWork(Object state)  ilOffset = 0xC5
    at SendOrPostThunk.UnhandledExceptionFrame(Object state)  ilOffset = 0x0
    at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)  ilOffset = 0x22
    at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)  ilOffset = 0x5
    at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)  ilOffset = 0x3C
    >Crm Exception: Message: Expected non-empty Guid., ErrorCode: -2147220989, InnerException: System.ArgumentException: Expected non-empty Guid.
    Parameter name: id


    Pete

    Monday, August 3, 2015 8:52 AM