Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

User Error in the Security area

(0) ShareShare
ReportReport
Posted on by

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...).

  • RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    RE: User Error in the Security area

    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

     

    • Confirm if there are custom components, based on the stack trace results this may be related to control rendering. Some custom components may be associated with this component.

     

    • Check the data for the relevant user. Make sure the data format matches the field type. If there are dependencies on the data, make sure the dependencies are set correctly.

     

    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

  • Talha Manzoor Profile Picture
    Talha Manzoor 29 on at
    RE: User Error in the Security area

    Hi

    Can you please share the screenshot so that we can identify the exact error.

    Thanks

    Talha

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans