web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Error when creating a task

(0) ShareShare
ReportReport
Posted on by

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>

I have the same question (0)
  • gdas Profile Picture
    50,091 Moderator on at
    RE: Error when creating a task

    Hi,

    Do you have any customization, code behind the task creation?

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

    yes, i have a javascript and a workflow

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

    I think it's looking for an error message to display but it can't find it.

    What language your user settings are using.

    If its non-English, I would suggest, as you could change it to English and try and create task again and see if you still get the error

    ScreenClip-_5B00_225_5D00_.png

    ScreenClip-_5B00_225_5D00_.png

    Note : You do not have to change this setting at the system level, you can change the setting just for your account under Personal Options and see if that solves the issue.

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

    The problem is that, my instance is completely in Portuguese and can't be changed into English.

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

    If the change language option is locked for you? are you trying using sys admin account?

    If so, I think you could raise a service ticket with Microsoft and they should be able to help with this.

    Hope this helps

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

    The language options that dynamics provides are only Portuguese, so i am unable to change them.

    I am a system admin.

    But i would like to try to fix this without opening a ticket.

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

    Not sure if we can fix it but we could query and find out the cause for it.

    Could you download XrmToolbox if dont already have it and run the following query in FetchXMLBuilder plugin and see if you get any results back

    [View:https://xrmtoolbox.com:750:50]

    ScreenClip-_5B00_290_5D00_.png

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >

     <entity name="displaystring" >

       <all-attributes/>

       <filter type="and" >

         <condition attribute="displaystringkey" operator="like" value="%Error_Message_0x80040226%" />

       </filter>

     </entity>

    </fetch>

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

    I tried the query you said

    and i got no result 

    error-message.PNG

  • marcosamt93 Profile Picture
    20 on at
    RE: Error when creating a task

    Hi, do you fixed it? I have the same problem.

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

    not yet

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 > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans