Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

An unkown reason error has occurred when updating account

Posted on by Microsoft Employee

Ask help.

Hi , we recently experience a issue : when user update an account , below error message will be popped up ramdomly. I'm sure It is not a customized error message originated from plugin code.

QQ_FE564772_20170626181152.png

After I click the OK, the error message widow will be closed.Then I checked the entity ,I found the modification has been effected.

I also enable tracing in CRM Diag Tool, and catch below logs:

at SystemLabelDictionaryCacheLoader.LogDetails(Int32 languageCode, Int32 totalLabels, IOrganizationContext context)  ilOffset = 0x36
at LabelDictionaryCacheLoader.LoadCacheData(Int32 languageCode, IOrganizationContext context)  ilOffset = 0xD0
at SystemIntermediateLabelDictionaryCacheLoader.LoadCacheData(SystemLabelDictionaryCacheKey key, IOrganizationContext context)  ilOffset = 0x13
at BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)  ilOffset = 0x21
at LabelCache.TryLookupEntry(Int32 languageCode, Guid objectId, String objectColumnName, IOrganizationContext context)  ilOffset = 0x36
at LabelCacheLabelCollection.HasLabels(IOrganizationContext context)  ilOffset = 0x0
at PreloadedOptionSetMetadataDataProvider.CreateEntityNameReferenceOptions(SortedList`2& optionsSorted, IOrganizationContext organizationContext)  ilOffset = 0x59
at PreloadedOptionSetMetadataDataProvider.LoadEntityNameReferenceOptionsIfNecessary(IOrganizationContext context, LoadMasks masks)  ilOffset = 0x1B
at PreloadedOptionSetMetadataDataProvider.InitializeOptions(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)  ilOffset = 0x17
at PreloadedMetadataCacheDataProvider.InitializeOptionSets(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)  ilOffset = 0x2C
at PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)  ilOffset = 0x11E
at MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, LoadMasks masks, CounterList counter)  ilOffset = 0x23
at DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, CounterList counter)  ilOffset = 0x19
at DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter)  ilOffset = 0x3A
at DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, CounterList counter)  ilOffset = 0x23
at DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)  ilOffset = 0x12C
at MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)  ilOffset = 0xEB
at MetadataCache.GetInstance(IOrganizationContext context)  ilOffset = 0x71
at BusinessEntityMoniker..ctor(Guid id, String entityName, IOrganizationContext orgContext)  ilOffset = 0x19
at OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)  ilOffset = 0x3C
at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)  ilOffset = 0x31
at CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)  ilOffset = 0x8
at CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)  ilOffset = 0x26
at SettingsHelper.RetrieveSettingFromRegistryOrOrgDBOrgSettings(String settingName, Object defaultValue, ISqlExecutionContext context)  ilOffset = 0x23
at PrincipalObjectAccessReadSnapshotService.RegenerateReadSharingSnapshotData(ISqlExecutionContext context)  ilOffset = 0x28
at RefreshPrincipalObjectAccessReadSnapshotOperation.InternalExecute(AsyncEvent asyncEvent)  ilOffset = 0x46
at AsyncEventHandlerCommand`1.Execute(IAsyncEvent asyncEvent)  ilOffset = 0xDA
at AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)  ilOffset = 0x99
at JobManager.ProcessAsyncJob(AsyncJob asyncJob)  ilOffset = 0xAF
at JobManager.InvokeHandler(Object state)  ilOffset = 0xE
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
>System LabelDictionary was loaded for language 1033 from organization {EF7AFD9C-B398-E511-8500-005056BE6A46} with 23560 labels.

My questions is , is the popped up error really related to this LabelDictionary things since the error occurred randomly? And Is it possible to disable error message notification in this scenario?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: An unkown reason error has occurred when updating account

    Our environment is CRM 2013 SP1 UR2, and this error message popped up again today. and I catch the Info level logs below using CRM DiagTool(there is no warning or error logs caught):

    Log 1:

    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x2DC

    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 = 0x1F1

    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 OrganizationServiceContext.Execute(OrganizationRequest request)  ilOffset = 0x21

    at QueryProvider.RetrieveEntityCollection(OrganizationRequest request, NavigationSource source)  ilOffset = 0xA0

    at QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups, String& pagingCookie, Boolean& moreRecords)  ilOffset = 0xAB

    at QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups)  ilOffset = 0x4

    at OrganizationDataServiceVisitingQueryProvider.Execute(QueryExpression qe, Boolean isSingleResource)  ilOffset = 0x7

    at OrganizationDataServiceVisitingQueryProvider.GetSequenceValue(Object value, ResourceProperty property)  ilOffset = 0x266

    at   ilOffset = 0xFFFFFFFF

    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 Delegate.DynamicInvokeImpl(Object[] args)  ilOffset = 0x2A

    at QueryProvider.DynamicInvoke(Delegate project, Object[] args)  ilOffset = 0x13

    at <>c__DisplayClassb.<ExecuteAnonymousType>b__7(<>f__AnonymousType0`2 <>h__TransparentIdentifier3)  ilOffset = 0x18

    at <>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)  ilOffset = 0x12

    at <>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)  ilOffset = 0x12

    at WhereSelectEnumerableIterator`2.MoveNext()  ilOffset = 0x62

    at <CastIterator>d__b1`1.MoveNext()  ilOffset = 0x70

    at PagedItemCollection`1.MoveNext()  ilOffset = 0x2E

    at DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)  ilOffset = 0x104

    at DataService`1.HandleRequest()  ilOffset = 0x74

    at DataService`1.ProcessRequestForMessage(Stream messageBody)  ilOffset = 0x1C

    at   ilOffset = 0xFFFFFFFF

    at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)  ilOffset = 0x241

    at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)  ilOffset = 0x100

    at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)  ilOffset = 0x48

    at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)  ilOffset = 0xC6

    at MessageRpc.Process(Boolean isOperationContextSet)  ilOffset = 0x62

    at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)  ilOffset = 0x256

    at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)  ilOffset = 0xF1

    at ChannelHandler.AsyncMessagePump(IAsyncResult result)  ilOffset = 0x39

    at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0

    at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2

    at AsyncQueueReader.Set(Item item)  ilOffset = 0x21

    at InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)  ilOffset = 0xD6

    at InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread)  ilOffset = 0x0

    at SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread)  ilOffset = 0x3D

    at EnqueueMessageAsyncResult.CompleteParseAndEnqueue(IAsyncResult result)  ilOffset = 0x61

    at EnqueueMessageAsyncResult.HandleParseIncomingMessage(IAsyncResult result)  ilOffset = 0x13

    at AsyncResult.SyncContinue(IAsyncResult result)  ilOffset = 0x12

    at EmptyHttpPipeline.BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, Object state)  ilOffset = 0x6

    at HttpContextReceivedAsyncResult`1.ProcessHttpContextAsync()  ilOffset = 0xC5

    at HttpChannelListener`1.BeginHttpContextReceived(HttpRequestContext context, Action acceptorCallback, AsyncCallback callback, Object state)  ilOffset = 0x0

    at HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)  ilOffset = 0x62

    at HostedHttpRequestAsyncResult.HandleRequest()  ilOffset = 0x10E

    at HostedHttpRequestAsyncResult.BeginRequest()  ilOffset = 0x0

    at HostedHttpRequestAsyncResult.OnBeginRequest(Object state)  ilOffset = 0x9

    at AspNetPartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)  ilOffset = 0x0

    at HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state)  ilOffset = 0x30

    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

    >MessageProcessor finish processing message 'RetrieveMultiple' for 'role'.

    LOG2:

    at AuthenticationPipeline.Authenticate(HttpApplication application)  ilOffset = 0x11

    at AuthenticationEngine.Execute(Object sender, EventArgs e)  ilOffset = 0x147

    at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x5D

    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15

    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A

    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C

    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A

    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B

    >AUTH: AuthenticationProvider [Microsoft.Crm.Authentication.WindowsAuthenticationProvider] handled request [http://crmtest.tianma.com/TMTEST/_common/error/dlg_error.aspx?dType=1&hresult=ServerError] from [172.18.227.96].

    LOG3:

    at Util.TraceMessage(TraceLevel level, String message, Object[] args)  ilOffset = 0x79

    at CrmUIControlBase.ConfigureControlInternal()  ilOffset = 0x15

    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54

    at Control.PreRenderRecursiveInternal()  ilOffset = 0x8E

    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3

    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C

    at Page.ProcessRequest()  ilOffset = 0x14

    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33

    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D

    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15

    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A

    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C

    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A

    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B

    >UserId ({9C7EE826-B2D3-E411-93F5-005056BE4820}): AppForm.ConfigureControl: QueryString : /TMTEST/_common/error/dlg_error.aspx?dType=1&hresult=ServerError

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: An unkown reason error has occurred when updating account

    Actually ,I explored a lot in the logs, but didn't find any other related exception message,that's why I am so confused and frustrated with this issue. Can you give me some other  direction to sovle this problem?Thanks in advance.

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: An unkown reason error has occurred when updating account

    I can't see any error or exception message in the extract you posted from the diagnostics - is there more information you can post ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans