Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Error when creating a task

Posted on by Microsoft Employee

When creating a task i get this error, i don't know how and why and already tried to fix it, really need some help with this:

Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: System.Xml.XmlException: System.ArgumentException: Cannot load resource that matches "Error_Message_0x80040226" identifier.
Parameter name: name
at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.GetLocalizedEntityName(String errorMessage, Int32 objectTypeCode)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.FillPlaceholderFromLocalizedErrorMessage(String privilegeDeniedException, String localizedErrorMessage)
at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context) ---> System.ArgumentException: Cannot load resource that matches "Error_Message_0x80040226" identifier.
Parameter name: name
at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.GetLocalizedEntityName(String errorMessage, Int32 objectTypeCode)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.FillPlaceholderFromLocalizedErrorMessage(String privilegeDeniedException, String localizedErrorMessage)
at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6B3E1484Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>e2b7b96e-ee96-4fbd-919a-9d631b5288c6</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Xml.XmlException: System.ArgumentException: Cannot load resource that matches "Error_Message_0x80040226" identifier.
Parameter name: name
at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.GetLocalizedEntityName(String errorMessage, Int32 objectTypeCode)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.FillPlaceholderFromLocalizedErrorMessage(String privilegeDeniedException, String localizedErrorMessage)
at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context) ---&gt; System.ArgumentException: Cannot load resource that matches "Error_Message_0x80040226" identifier.
Parameter name: name
at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.GetLocalizedEntityName(String errorMessage, Int32 objectTypeCode)
at Microsoft.Crm.Application.Utility.RoleEditorLayoutMapper.FillPlaceholderFromLocalizedErrorMessage(String privilegeDeniedException, String localizedErrorMessage)
at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData)
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6B3E1484</Message>
<Timestamp>2019-03-01T17:53:52.4439255Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>e2b7b96e-ee96-4fbd-919a-9d631b5288c6</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.ArgumentException: Cannot load resource that matches "Error_Message_0x80040226" identifier.
Parameter name: name</Message>
<Timestamp>2019-03-01T17:53:52.4439255Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when creating a task

    I had to open a ticket with Microsoft.

    We discovered that the error was being caused because of a active directory problem, because the company was acquired by another one and was making changed in the AD.

    Thanks you everyone with the help provided.

  • Suggested answer
    Fernando Santos Profile Picture
    Fernando Santos 20 on at
    RE: Error when creating a task

    This weirdly is about a privilege issue.

    In my case I had a hidden grid in Form.

    I just removed and worked perfectly.

    Best regards,

  • Beuz Profile Picture
    Beuz 35 on at
    RE: Error when creating a task

    Hi,

    I had same issue since the last update of Dynamics, in my case there was a read right missing on related entity.

    Like Kokulan Eswaranathan said, you have to find which privilege is missing.

    So, try to put all read right on related entity of task on the security role of your user:

    2019_2D00_03_2D00_12_5F00_17h06_5F00_17.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when creating a task

    @Goutam Das I already disabled everything that was related to the task and the error still popped

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when creating a task

    @Kokulan Eswaranathan The users have append permissions to all the entities that are being used in the regarding lookups and owner. (thanks for the help)

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Error when creating a task

    Hi,

    May I know  is this happenned for particular task creation or every time you are getting this error. Try to disable workflow and JS which you have related to task creation.

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Error when creating a task

    This clearly indicates that you have a permission issue when you tried to create as normal user. When it was trying to display the permission error, the system then runs into another problem that it cannot find the error message for a particular language, English or Portugal.

    Here is what you could do to find out what permission you need

    When you create a task, the Owner and  Regarding lookups are set assuming you have not added any custom lookups. Please see below

    ScreenClip-_5B00_263_5D00_.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when creating a task

    as a Sys admin i don't get the error

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Error when creating a task

    Hi Pires,

    Could you login as Sys Admin and see if you are still getting the error when creating task?

  • Jan Vanek Profile Picture
    Jan Vanek 145 on at
    RE: Error when creating a task

    Hi, I had the same or similar problem with one my customer, with the Contact entity. The same error after saving a new contact record (the record was saved!). My solution was in the privileges. There is a subgrid on the form using a custom related entity. The user had no rights for this custom entity, even for reading. After adding privileges, the error is gone.

    Jan

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans