We created a simple workflow in CRM 2011 on-premise to copy a category field (tick box) from parent company down to all selected contacts of the parent company. The workflow executes perfectly when run with a super user account, but fails when run
by a standard user.
The error the users get is this:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3F0EACD2Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
/>
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3F0EACD2</Message>
<Timestamp>2011-07-13T15:16:45.8154322Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220943</ErrorCode>
<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
/>
<Message>Principal user (Id=a8d80409-f265-e011-9fe5-005056890009, type=8) is missing prvReadAsyncOperation
privilege (Id=e84acc8f-0c61-43e3-a716-20964a483bdf)</Message>
<Timestamp>2011-07-13T15:16:45.8154322Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>
From what i can tell this indicates insufficient privilege(s) for the standard user to run the workflow but we don't know what this
privilege indicated in the error means. Please can someone advise what the 'prvReadAsyncOperation' privilege is and how i can go about giving this to standard users in CRM?
I also traced the error in the application log on our CRM server which i've pasted below for information if this helps:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 13/07/2011 15:06:54
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: INTLON-VMSV2.INTERNOS.LOCAL
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 13/07/2011 15:06:54
Event time (UTC): 13/07/2011 14:06:54
Event ID: 896e6034c7d848ac87db47c99fd47a59
Event sequence: 99048
Event occurrence: 22
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-129550197239305000
Trust level: Full
Application Virtual Path: /
Application Path: d:\Program Files\Microsoft Dynamics CRM\CRMWeb\
Machine name: INTLON-VMSV2
Process information:
Process ID: 844
Process name: w3wp.exe
Account name: INTERNOS\INT-SVCCRMSERVICE
Exception information:
Exception type: CrmException
Exception message: Principal user (Id=97b4d89a-9f87-e011-ac0a-005056890009, type=8) is missing prvReadAsyncOperation privilege (Id=e84acc8f-0c61-43e3-a716-20964a483bdf)
at Microsoft.Crm.Dialogs.RunWorkflowDialogPage.ConfigureForm()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any help/advice you can give will be very appreciated.
Thanks.
Mark