Hi,
I'm having a weird error when I'm assigning managers to users. This happens for roughly 95% of all users (and I have some 300 to go). When I assign the manager I get a "An error has occurred"-window with a "try again" button and a cancel
button. When I click try again, the change goes through but since this is happening almost all the time I get a but curious.
The stack trace of the error is this:
[2014-03-18 08:33:25.624] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 26 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 806fab19-8e78-4aae-b307-fbe2753c3707 | ExceptionConverter.ConvertMessageAndErrorCode
ilOffset = 0x23B
>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #ACC5C3A8: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown.
---> System.NullReferenceException: Object reference not set to an instance of an object.
> at Microsoft.Crm.Application.Forms.AppForm.MergeWithSubmitXml()
> at Microsoft.Crm.Application.Forms.AppForm.FormLoadEvent()
> at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)
> at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity)
> at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd)
> at Microsoft.Crm.Application.Components.PageHandlers.RecordPageHandler.ConfigureFormWrapper()
> at Microsoft.Crm.Application.Components.Utility.GenericEventProcessor.RaiseEvent(String eventName)
> at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
> at System.Web.UI.Control.PreRenderRecursiveInternal()
> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
[2014-03-18 08:33:25.624] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 26 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 806fab19-8e78-4aae-b307-fbe2753c3707 | ExceptionConverter.ConvertToFault
ilOffset = 0x69
>UNEXPECTED: no fault?
[2014-03-18 08:33:25.624] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 26 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 806fab19-8e78-4aae-b307-fbe2753c3707 | ExceptionConverter.ConvertMessageAndErrorCode
ilOffset = 0x23B
>System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #AD6009E4: System.NullReferenceException: Object reference not set to an instance of an object.
> at Microsoft.Crm.Application.Forms.AppForm.MergeWithSubmitXml()
> at Microsoft.Crm.Application.Forms.AppForm.FormLoadEvent()
> at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)
> at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity)
> at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd)
> at Microsoft.Crm.Application.Components.PageHandlers.RecordPageHandler.ConfigureFormWrapper()
> at Microsoft.Crm.Application.Components.Utility.GenericEventProcessor.RaiseEvent(String eventName)
> at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
> at System.Web.UI.Control.PreRenderRecursiveInternal()
> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This is a CRM 2011 with UR 13 which should be updated shortly, but I'm a bit unsure if later Ur:s contain a fix for this.
Any ideas?
Thanks
Rickard Norström Developer CRM-Konsulterna
http://www.crmkonsulterna.se
Swedish Dynamics CRM Forum: http://www.crmforum.se
My Blog: http://rickardnorstrom.blogspot.se