Asked by:
CRM 2011 to CRM 2013 Upgrade: Ribbon issues

Question
-
Hello,
I having some issues with the ribbon on account entity which in-turn is causing lot of issues with my subgrids.
When this link is called
http://crmx13/XXXX/_controls/ribbon/RibbonLayout.js.aspx?cb=true&econtext=Form&etn=account&hierarchy=b053a39a-041a-4356-acef-ddf00182762b&id=Mscrm.CommandBar&ie=1&ise=1&lcid=1033&mver=1686456045&oc=0&page=%2fMAIN.ASPX&rver=-433766276&ver=312524555
the message on the event viewer is
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/27/2015 11:27:48 AM
Event time (UTC): 2/27/2015 7:27:48 PM
Event ID: 8049ff1d58e8443a95a22d04b2a1ebcd
Event sequence: 3932
Event occurrence: 18
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-130694711896554609
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
Machine name: CRMX13
Process information:
Process ID: 2192
Process name: w3wp.exe
Account name: XXXXXX\2013APPSERVICE
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Microsoft.Crm.Application.Ribbon.RibbonXml.GetCommandId(XmlNode node, String commandAttribute)
at Microsoft.Crm.Application.Ribbon.RibbonXml.IncludeCommands(String entityLogicalName, XmlNode node, Boolean isForModern, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules, RibbonClientHandlers rch, RibbonCommandDefinition tabCommand, IOrganizationContextEx context, List`1 nodesToRemove)
at Microsoft.Crm.Application.Ribbon.RibbonXml.ExtractCommandBarControls(String entityLogicalName, XmlDocument commandBar, XmlNode ribbonControls, Boolean isForModern, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules, RibbonClientHandlers rch, XmlNode groups, RibbonCommandDefinition tabCommand, IOrganizationContextEx context)
at Microsoft.Crm.Application.Ribbon.RibbonXml.GetCommandBarPieces(RibbonPageContext pageContext, Int32 languageCode, Boolean isForModern, IOrganizationContextEx context, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules)
at Microsoft.Crm.Application.Ribbon.RibbonXml.GetCommandBarDescription(RibbonPageContext pageContext, Int32 languageCode, IOrganizationContextEx context)
at Microsoft.Crm.Application.Pages.Common.RibbonLayoutPage.BuildCommandBarJson(RibbonPageContext pageContext, Int32 lcid)
at Microsoft.Crm.Application.Pages.Common.RibbonLayoutPage.BuildCommandBarResponse()
at Microsoft.Crm.Application.Pages.Common.RibbonLayoutPage.ConfigurePage()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://crmx13/XXXXX/_controls/ribbon/RibbonLayout.js.aspx?cb=true&econtext=Form&etn=account&hierarchy=b053a39a-041a-4356-acef-ddf00182762b&id=Mscrm.CommandBar&ie=0&ise=1&lcid=1033&mver=-111561810&oc=0&page=/MAIN.ASPX&rver=1668411047&ver=312524555
Request path: /XXXXX/_controls/ribbon/RibbonLayout.js.aspx
User host address: 192.168.40.78
User: XXXX\XXXXXXXX
Is authenticated: True
Authentication Type: Negotiate
Thread account name: XXXX\2013APPSERVICE
Thread information:
Thread ID: 39
Thread account name: XXXXX\2013APPSERVICE
Is impersonating: False
Stack trace: at Microsoft.Crm.Application.Ribbon.RibbonXml.GetCommandId(XmlNode node, String commandAttribute)
at Microsoft.Crm.Application.Ribbon.RibbonXml.IncludeCommands(String entityLogicalName, XmlNode node, Boolean isForModern, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules, RibbonClientHandlers rch, RibbonCommandDefinition tabCommand, IOrganizationContextEx context, List`1 nodesToRemove)
at Microsoft.Crm.Application.Ribbon.RibbonXml.ExtractCommandBarControls(String entityLogicalName, XmlDocument commandBar, XmlNode ribbonControls, Boolean isForModern, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules, RibbonClientHandlers rch, XmlNode groups, RibbonCommandDefinition tabCommand, IOrganizationContextEx context)
at Microsoft.Crm.Application.Ribbon.RibbonXml.GetCommandBarPieces(RibbonPageContext pageContext, Int32 languageCode, Boolean isForModern, IOrganizationContextEx context, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules)
at Microsoft.Crm.Application.Ribbon.RibbonXml.GetCommandBarDescription(RibbonPageContext pageContext, Int32 languageCode, IOrganizationContextEx context)
at Microsoft.Crm.Application.Pages.Common.RibbonLayoutPage.BuildCommandBarJson(RibbonPageContext pageContext, Int32 lcid)
at Microsoft.Crm.Application.Pages.Common.RibbonLayoutPage.BuildCommandBarResponse()
at Microsoft.Crm.Application.Pages.Common.RibbonLayoutPage.ConfigurePage()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Can anyone please point me in the right direction on how to resolve this issue?
Thanks,
Red
Friday, February 27, 2015 11:26 PM