Have a user that changed their name. Since then we are receiving an error when we attempt to manage the user. Anyone see this before? If so how can we correct this? We have tried different browsers.
Settings > Security > user
Select the user then we see this
Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support.
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Application.Components.Sdk.InlineEditControls.Web.LookupControl.Render(HtmlTextWriter writer) +0x18d
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +0x22
at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer) +0x6
at Microsoft.Crm.Application.Forms.FormCell.RenderContentForRead(HtmlTextWriter output, String containerTag) +0x366
at Microsoft.Crm.Application.Forms.FormCell.RenderForRead(HtmlTextWriter output) +0x2c
at Microsoft.Crm.Application.Forms.FormCell.Render(HtmlTextWriter output) +0x4a
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +0x22
at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer... (Fault Detail is equal to Exception details:
ErrorCode: 0x80040216
Message: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Application.Components.Sdk.InlineEditControls.Web.LookupControl.Render(HtmlTextWriter writer) +0x18d
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +0x22
at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer) +0x6
at Microsoft.Crm.Application.Forms.FormCell.RenderContentForRead(HtmlTextWriter output, String containerTag) +0x366
at Microsoft.Crm.Application.Forms.FormCell.RenderForRead(HtmlTextWriter output) +0x2c
at Microsoft.Crm.Application.Forms.FormCell.Render(HtmlTextWriter output) +0x4a
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +0x22
at Microsoft.Crm.Application.Components.UI...).
Hi Frank,
Regarding your question about the error message when modifying user information.
Analyzing your error message, we can get the following information.
Error type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Error message: System.Web.HttpUnhandledException: An exception of type 'System.Web.HttpUnhandledException' was raised --> System.NullReferenceException: The object reference was not set to an instance of the object NullReferenceException: object reference not set to an instance of an object.
The exception stack trace points to the Microsoft.Crm.Application.Components.Sdk.InlineEditControls.Web.LookupControl.Render method, which means that the problem is probably related to the rendering process of this control.
Based on the above error analysis, we offer some possible solutions
In addition, have you tried to change the user's name back? Does the error still persist?
And I recommend you use O365 Admin Center when you change user information.
I would like to ask you to provide some more specific information, such as the full error message, Detailed operation procedure, the Dynamic 365 version, your browser version, etc.
More detailed information would help us to locate your problem faster.
I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
Best Regards,
Rudy Zhang
Hi
Can you please share the screenshot so that we can identify the exact error.
Thanks
Talha
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156