locked
Privileges issues post CRM 2013 Rollup 2: can't see portions of contact form RRS feed

  • Question

  • We applied CRM 2013 rollup 2, and now seem to have some privileges issues. Some of our users can't see specific portions of our contact forms while others can. I initiated a trace, and asked the user to hit the page to see if there were any errors regarding privileges. I'm seeing all kinds of wacky things in the logs like these below. For whatever reason, it's trying to call GetPrivilege "Assign" with entities "Post Rule Configuration" and "Wall View".

    We recently upgraded from 2011. When we went through that process we dealt with the Post Rule Configuration then too. We had to go in and manually grant everyone read permission because the upgrade didn't for some reason. That resolved our problem then. But it's strange that I'm seeing privileges issues popup again with this entity. Plus, I don't really know what to do, because while I realize that Assign is not a valid privilege, CRM didn't get the memo. 

    >Crm Exception: Message: Privilege Type Assign not defined on entity 'msdyn_PostRuleConfig'., ErrorCode: -2147220917
    [2014-05-15 16:17:35.106] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   37 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 6324a384-bd74-4159-87c7-d38389b485c9 | CrmException..ctor  ilOffset = 0x7
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x5
    at EntityMetadata.GetPrivilege(PrivilegeType privilegeType, Boolean throwIfNotFound)  ilOffset = 0x79
    at RoleDetailPage.RenderEntityPrivilege(EntityMetadata entity, PrivilegeType type)  ilOffset = 0x10
    at RoleDetailPage.RenderCustomEntityPrivileges(EntityMetadata entity, Boolean highlight)  ilOffset = 0xE4
    at RoleDetailPage.RenderCustomEntityPrivilegeRows()  ilOffset = 0x428
    at apscrm_biz_roles_edit_aspx.__RendercrmForm(HtmlTextWriter __w, Control parameterContainer)  ilOffset = 0x11F
    at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  ilOffset = 0x2D
    at EndUserForm.Render(HtmlTextWriter output)  ilOffset = 0x4D
    at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)  ilOffset = 0x22
    at apscrm_biz_roles_edit_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)  ilOffset = 0x114
    at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  ilOffset = 0x2D
    at Page.Render(HtmlTextWriter writer)  ilOffset = 0x2
    at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)  ilOffset = 0x22
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x8A4
    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

    >Crm Exception: Message: Privilege Type Assign not defined on entity 'msdyn_wallsavedquery'., ErrorCode: -2147220917
    [2014-05-15 16:17:35.121] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   37 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 6324a384-bd74-4159-87c7-d38389b485c9 | CrmException..ctor  ilOffset = 0x7
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x5
    at EntityMetadata.GetPrivilege(PrivilegeType privilegeType, Boolean throwIfNotFound)  ilOffset = 0x79
    at RoleDetailPage.RenderEntityPrivilege(EntityMetadata entity, PrivilegeType type)  ilOffset = 0x10
    at RoleDetailPage.RenderCustomEntityPrivileges(EntityMetadata entity, Boolean highlight)  ilOffset = 0xE4
    at RoleDetailPage.RenderCustomEntityPrivilegeRows()  ilOffset = 0x428
    at apscrm_biz_roles_edit_aspx.__RendercrmForm(HtmlTextWriter __w, Control parameterContainer)  ilOffset = 0x11F
    at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  ilOffset = 0x2D
    at EndUserForm.Render(HtmlTextWriter output)  ilOffset = 0x4D
    at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)  ilOffset = 0x22
    at apscrm_biz_roles_edit_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)  ilOffset = 0x114
    at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  ilOffset = 0x2D
    at Page.Render(HtmlTextWriter writer)  ilOffset = 0x2
    at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)  ilOffset = 0x22
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x8A4
    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


    • Edited by mark.0 Thursday, May 15, 2014 9:49 PM
    Thursday, May 15, 2014 8:35 PM

All replies

  • I did a trace, looked up the user's GUID and searched for the specific error reported by that individual user. I feel that the errors above are likely correlated, but the following errors are probably more directly relevant. First I noticed that the user needed ReadPost permissions from this trace. I corrected that....

    >Crm Exception: Message: SecLib::CheckPrivilege failed. User: c5111ed5-eaa6-de11-a5e3-005056b754df, PrivilegeName: prvReadPost, PrivilegeId: 9d00a0f3-870b-46f8-a4b7-c43186c21b2d, Required Depth: Basic, BusinessUnitId: e5abfc54-ba6c-de11-9dad-005056b754df, ErrorCode: -2147220960, InnerException: Microsoft.Crm.CrmSecurityException: SecLib::CheckPrivilege failed. User: c5111ed5-eaa6-de11-a5e3-005056b754df, PrivilegeName: prvReadPost, PrivilegeId: 9d00a0f3-870b-46f8-a4b7-c43186c21b2d, Required Depth: Basic, BusinessUnitId: e5abfc54-ba6c-de11-9dad-005056b754df
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.ThrowPrivilegeDeniedException(Guid userId, RolePrivilege rolePrivilege, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetMaxPrivilegeDepthForUserAcrossBusinessUnits(Guid user, Guid privilege, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGlobalDepth(Guid user, Guid privilege, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.PostService.RetrieveRecordWall(BusinessEntityMoniker entity, Int32 pageNumber, Int32 pageSize, Int32 commentsPerPost, DateTime startDate, DateTime endDate, OptionSetValue type, OptionSetValue source, ExecutionContext context)
    [2014-05-15 16:38:04.534] Process: w3wp |Organization:18b8fa5c-8a97-442d-86dd-f165239b5eed |Thread:   50 |Category: Platform |User: c5111ed5-eaa6-de11-a5e3-005056b754df |Level: Error |ReqId: 81f9aeb7-1ac3-4e11-a537-f4f1758d8d36 | MessageProcessor.Execute  ilOffset = 0x1C5
    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   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.AsyncCompletionWrapperCallback(IAsyncResult result)  ilOffset = 0x52
    at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
    at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2
    at ParseMessageAsyncResult.OnRead(IAsyncResult result)  ilOffset = 0x43
    at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
    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 ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask)  ilOffset = 0x45
    at Task.FinishContinuations()  ilOffset = 0x67
    at Task.Finish(Boolean bUserDelegateExecuted)  ilOffset = 0x3C
    at Task.ExecuteWithThreadLocal(Task& currentTaskSlot)  ilOffset = 0xC4
    at Task.ExecuteEntry(Boolean bPreventDoubleExecution)  ilOffset = 0x96
    at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA2

    Then I noticed the user with these errors, but I don't know how to proceed forward to correcting them. It seems that internal CRM plugin Microsoft.Crm.HasDuplicatesPlugin is throwing these exceptions.

    >Crm Exception: Message: A record was not created or updated because a duplicate of the current record already exists., ErrorCode: -2147220685, InnerException: Microsoft.Crm.CrmException:A record was not created or updated because a duplicate of the current record already exists.
       at Microsoft.Crm.HasDuplicatesPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
    [2014-05-15 17:03:55.349] Process: w3wp |Organization:18b8fa5c-8a97-442d-86dd-f165239b5eed |Thread:   47 |Category: Platform |User: c5111ed5-eaa6-de11-a5e3-005056b754df |Level: Error |ReqId: 2a111d4c-a6ce-4a11-af12-9ed6660483aa | MessageProcessor.Execute  ilOffset = 0x1AA
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1AA
    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   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 ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)  ilOffset = 0x55
    at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
    at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2
    at AsyncQueueReader.Set(Item item)  ilOffset = 0x21
    at InputQueue`1.Dispatch()  ilOffset = 0x121
    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 fail to process message 'Create' for 'contact'.

    [2014-05-15 17:03:55.349] Process: w3wp |Organization:18b8fa5c-8a97-442d-86dd-f165239b5eed |Thread:   47 |Category: Exception |User: c5111ed5-eaa6-de11-a5e3-005056b754df |Level: Error |ReqId: 2a111d4c-a6ce-4a11-af12-9ed6660483aa | 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 RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xF7
    at RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)  ilOffset = 0x1E8
    at Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)  ilOffset = 0xBB
    at Activator.CreateInstance(Type type, Object[] args)  ilOffset = 0xA
    at VersionedPluginProxyStepBase.WrapExceptionToThrow(CrmException exception)  ilOffset = 0xA5
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1AA
    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   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 ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)  ilOffset = 0x55
    at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
    at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2
    at AsyncQueueReader.Set(Item item)  ilOffset = 0x21
    at InputQueue`1.Dispatch()  ilOffset = 0x121
    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

    Thursday, May 15, 2014 9:28 PM
  • Okay, this is just all over the place. Now I ask the user to load the page and do a trace, I am not seeing the above errors anymore, and no error is logged for that particular user. I did see this log, but do not know for certain that this error is correlated because it has a blank userid. 

    [2014-05-15 17:42:51.913] Process: w3wp |Organization:18b8fa5c-8a97-442d-86dd-f165239b5eed |Thread:   20 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1484b8b5-e701-4e56-935a-74096fc00998 | SystemAlerts.GetAlertsLastAccessTime  ilOffset = 0x3B
    at SystemAlerts.GetAlertsLastAccessTime()  ilOffset = 0x3B
    at SystemAlerts.IsMessageValid(MessageType messageType)  ilOffset = 0x7
    at MessageBarWebService.IsMessageValid(MessageType messageType, ClientType clientType, Message& message)  ilOffset = 0x14
    at MessageBarWebService.GetMessagesPrivate(Int32 type, MessageType[] excludedMessages)  ilOffset = 0x74
    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 = 0x89
    at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
    at WebServiceHandler.Invoke()  ilOffset = 0xC3
    at WebServiceHandler.CoreProcessRequest()  ilOffset = 0x13E
    at SyncSessionlessHandler.ProcessRequest(HttpContext context)  ilOffset = 0x39
    at HandlerWrapper.ProcessRequest(HttpContext context)  ilOffset = 0x7
    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
    >Exception on getting the last alerts access time : Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Crm.Application.WebServices.SystemAlerts.GetAlertsLastAccessTime()

    I also saw this one, which seems relevant because it mentioned contact.

    >MessageProcessor fail to process message 'Create' for 'contact'.
    [2014-05-15 17:27:16.321] Process: w3wp |Organization:18b8fa5c-8a97-442d-86dd-f165239b5eed |Thread:   44 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 81eb2a41-9da5-49b4-b20d-391ab090ea7a | SystemAlerts.GetAlertsLastAccessTime  ilOffset = 0x3B
    at SystemAlerts.GetAlertsLastAccessTime()  ilOffset = 0x3B
    at SystemAlerts.IsMessageValid(MessageType messageType)  ilOffset = 0x7
    at MessageBarWebService.IsMessageValid(MessageType messageType, ClientType clientType, Message& message)  ilOffset = 0x14
    at MessageBarWebService.GetMessagesPrivate(Int32 type, MessageType[] excludedMessages)  ilOffset = 0x74
    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 = 0x89
    at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
    at WebServiceHandler.Invoke()  ilOffset = 0xC3
    at WebServiceHandler.CoreProcessRequest()  ilOffset = 0x13E
    at SyncSessionlessHandler.ProcessRequest(HttpContext context)  ilOffset = 0x39
    at HandlerWrapper.ProcessRequest(HttpContext context)  ilOffset = 0x7
    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
    >Exception on getting the last alerts access time : Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Crm.Application.WebServices.SystemAlerts.GetAlertsLastAccessTime()

    Thursday, May 15, 2014 9:48 PM
  • I've confirmed now, while the above trace errors could be correlated in some way, I've confirmed that the user hits the page several times and not trace log error is written. This is unfortunate, because now I have nothing to go on. 

    Since rollup 2, our users cannot see a portion of our contact form. I've scanned all privileges in the system, but cannot see anything that would explain it. Microsoft! Seriously?! What has happened with this update?!!!!

    Friday, May 16, 2014 1:49 PM
  • Hi Mark,

    Thank you for using Microsoft Forums and Communities. I would like to ask you a couple of questions which might help us going forward with the troubleshooting.

    Can you confirm that the problem occurs only for 1 user or for multiple users? If so, have you tried to assign this user the Admin system role or a different system role of a user who is not affected by the issue? What internet browser version are you using when the problem occurs?

    Have you been able to narrow down the issue to the Contact entity only?

    In addition, are you using custom security roles? If so, I would recommend you to review the below article and ensure that the permissions are set as documented

    https://community.dynamics.com/crm/b/dynamics_universitycrm/archive/2014/01/10/crm-2013-new-forms-insufficient-permissions.aspx

    Thanks in advance.

    Nina Peneva

    Support Engineer

    Microsoft Dynamics CRM

     

    Tuesday, May 27, 2014 4:29 PM
  • Did anyone get to the bottom of this error ? I'm getting it when trying to navigate to some of the new service management pages in SP1. Logged in as system administrator with full rights.
    Friday, June 27, 2014 11:11 AM
  • I am seeing same errors in CRM 2015 UR1.

    Wednesday, February 3, 2016 3:18 PM