Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

An unknown exception occurs when resolving or canceling a case.

Posted on by 90

Hello all, 

I've been having this issue for 2 weeks now on our test environment. I get the following error when I try to resolve a case or cancel a case.

https://puu.sh/CZPfM/bbb12f5b73.png 

When I download the log file, here is the error I am getting : 

--------------------------------------------------------------------------------------------------------------------------------------------------------------

<html xmlns="http://www.w3.org/1999/xhtml"><body><parsererror style='display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black'><h3>This page contains the following errors:</h3><div style='font-family:monospace;font-size:12px'>error on line 1 at column 1: Document is empty
</div><h3>Below is a rendering of the page up to the first error.</h3></parsererror></body></html>

--------------------------------------------------------------------------------------------------------------------------------------------------------------

When I look at the tracing log, here is the error I got : 

--------------------------------------------------------------------------------------------------------------------------------------------------------------

[2019-03-14 08:01:55.986] Process: w3wp |Organization:3d3761b3-6c44-467c-89cb-e67ead1afaec |Thread: 73 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 495313bf-49ef-4cf4-b7f5-e6ae485b893b |ActivityId: afa612ac-8873-456f-b8ae-f6eeb5abc469 | MessageProcessor.Execute ilOffset = 0x206
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x206
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 callerRegardingObjectId, UserType userType, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x22D
at ExternalMessageDispatcher.Execute(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid callerRegardingObjectId, UserType userType, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId) ilOffset = 0x0
at OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation, UserType targetUserType) ilOffset = 0x0
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext) ilOffset = 0x4B
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext) ilOffset = 0x0
at OrganizationSdkService.Execute(OrganizationRequest request) ilOffset = 0x0
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x222
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0x97
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x48
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x65
at Wrapper.Resume(Boolean& alreadyResumedNoLock) ilOffset = 0x1B
at ThreadBehavior.ResumeProcessing(IResumeMessageRpc resume) ilOffset = 0x8
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x79
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x9
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x35
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA4
>MessageProcessor fail to process message 'Close' for 'incident'.

--------------------------------------------------------------------------------------------------------------------------------------------------------------

Any idea?

*This post is locked for comments

  • Verified answer
    Bilal Itani Profile Picture
    Bilal Itani 90 on at
    RE: An unknown exception occurs when resolving or canceling a case.

    Hello,

    Thanks for your help, actually I just realized Organization.svc had an issue.

    [CrmException: The current organization id could not be determined.]

      at Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()

      at Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)

      at Microsoft.Crm.Application.Controls.AppHeader..ctor()

      at Microsoft.Crm.MainApplication.Application_OnPreRequestHandlerExecute(Object sender, EventArgs eventArguments)

      at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • bac26 Profile Picture
    bac26 2,268 on at
    RE: An unknown exception occurs when resolving or canceling a case.

    Is this just straight out of the box or has there been changes?   Does this happen for the System Admin because my first gut reaction would be security roles.     Can we get a screenshot of the case page you are entering date in and then resolving?  

    Thanks

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans