Unable to open Lead entity form in CRM 2011


ISSUE DESCRIPTION

You receive below error messages while opening Lead entity main form in CRM 2011.

 

PLATFORM ERROR 

Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Message: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source File: Not available
Line Number: Not available
Request URL: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.]
at Microsoft.Crm.Application.Controls.FormEditorBase.AddPlaceHoldersInSection(XmlNode& secNode)
at Microsoft.Crm.Application.Controls.FormEditorBase.AddSpacerCellsInSectionIfRequired(XmlNode& secNode)
at Microsoft.Crm.Application.Controls.FormEditorBase.AddColumnsAttribute(XmlNodeList& nodeList)
at Microsoft.Crm.Application.Controls.FormEditorBase.ValidateFormXml()
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.ValidateFormXml()
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.GetFormXml(String formXmlString)
at Microsoft.Crm.Web.Tools.Views.FormEditorPage.ConfigurePage()
at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

CAUSE

You get this error message below condition is not true in form XML:

 “If the rowspan is greater than 1, the number of row elements within the rows element must be equal to or greater than the value of the rowspan attribute”

RESOLUTION

Modify form XML to make sure the number of row elements within the rows element must be equal to or greater than the value of the rowspan attribute.

REFERENCE  

<cell> (FormXML):  http://msdn.microsoft.com/en-us/library/gg327846.aspx


Comments (0)

Skip to main content