Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

New Account fails for new user

Posted on by 307

Hello,

In CRM 2016 On-Premise, I have this strange behaviour when new users try to open form for new account.

As System Administrator:

1) Add New User, grant System Administrator role for that user

As New User:

2) go to Accounts, click for new Account --  Form doesn't open (error log below). Form is not opened. I see only "Loading business logic....", points in circle doesn't spin around.

4) open Advanced Find->Accounts

5) From the Advanced Find window, click Create new record (form doesn't open with the same error)

6) From the Advanced Find window, open an existing account (it works)

7) repeat step 5 (it works!!!!)

It's really strange.

Account entity and form is heavily customized, but I don't see any connection ( doesn't work with JavaScript and Plugins turned off). 

I found only clue in internet when searching for string "__forms_read_layout_aspx" - usually answer is that it is about CRM bug, but no solution.

Here is the log:

 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #1EC59438Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <d2p1:key>CallStack</d2p1:key>
      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">   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&amp; completedSynchronously)</d2p1:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #1EC59438</Message>
  <Timestamp>2016-11-04T10:10:51.0919861Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <KeyValuePairOfstringanyType>
        <d3p1:key>CallStack</d3p1:key>
        <d3p1:value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string">   at Microsoft.Crm.Application.Components.Sdk.InlineEditControls.Web.MoneyControl.RenderEditMode(HtmlTextWriter writer)
   at Microsoft.Crm.Application.Components.Sdk.InlineEditControls.Web.ChromeRenderer.EndRender(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at Microsoft.Crm.Application.Forms.FormCell.RenderContentForRead(HtmlTextWriter output, String containerTag)
   at Microsoft.Crm.Application.Forms.FormCell.RenderForRead(HtmlTextWriter output)
   at Microsoft.Crm.Application.Forms.FormCell.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at Microsoft.Crm.Application.Forms.FormRow.RenderForInlineEdit(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at Microsoft.Crm.Application.Forms.FormSection.RenderForInlineEdit(HtmlTextWriter output)
   at Microsoft.Crm.Application.Forms.FormSection.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at Microsoft.Crm.Application.Forms.FormTab.RenderForRead(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at Microsoft.Crm.Application.Forms.FormBody.RenderForRead(HtmlTextWriter output)
   at Microsoft.Crm.Application.Forms.FormBody.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at Microsoft.Crm.Application.Forms.CustomizableFormExtended.RenderChildren(HtmlTextWriter writer)
   at Microsoft.Crm.Application.Forms.ReadForm.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at ASP.myorganization__forms_read_layout_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at Microsoft.Crm.Application.Pages.Common.ReadLayoutPage.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</d3p1:value>
      </KeyValuePairOfstringanyType>
    </ErrorDetails>
    <Message>System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #0567A35E</Message>
    <Timestamp>2016-11-04T10:10:51.0919861Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

  • Verified answer
    Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Hi All,

    looks like there was an error in a form that was first by order for main forms. Even I wrote that I tested it on a form with all fields/JS/BR removed, it wasn't true because CRM still opened last form that actual user opened (one with error). After deactivation all of the forms except the simple one, I could open the Account Form.  Didn't debug the form with error because I didn't need it. So can't write what was it really about. But the way would be simple: remove features and see after which removal the error doesn't appear.

  • Verified answer
    Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Thx Mark.

    Yes, looks like my ways now lead to Rome:).

  • Suggested answer
    TheMarkChristie Profile Picture
    TheMarkChristie 10,328 on at
    RE: New Account fails for new user

    Hi

    I would suggest raising a case with Microsoft, However my gut feeling on this is that there is an issue with the environment rather than a CRM error

  • Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Sorry for mistake in my last post.It is 2016 on PREMISE.

  • Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Hi,

    it is 2016 online. I tried with several new users, on several PCs (with sysadmin xor all rolles).

    I'm worried that whenever I search for this "__forms_read_layout_aspx", I get unresolved forum posts:(.

    community.dynamics.com/.../216660

    stackoverflow.com/.../crm2016-error-when-i-open-a-task

    The last one indicate usage of "Diagnostic Tool", but don't see it is available for 2016.

  • Suggested answer
    TheMarkChristie Profile Picture
    TheMarkChristie 10,328 on at
    RE: New Account fails for new user

    Hi

    I thinki based on this error you may have an online instance?

    If this is correct can you try it on a machine that is not a company provided one?

  • Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Interner Explorer 11, but also didn't work in Chrome.

  • TheMarkChristie Profile Picture
    TheMarkChristie 10,328 on at
    RE: New Account fails for new user

    What internet browsers are you using?

  • Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Hi,

    no change. I have form with only owner and account name on it. This form is first by order.

    But I learned about form orders:).

  • Nikica Profile Picture
    Nikica 307 on at
    RE: New Account fails for new user

    Yes, this could be right direction to test. I'll try it ASAP.

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

Best practices for providing successful forum answers ✍️

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