locked
After upgrade from CRM 2011 to CRM 2015: Primary Contact and Related Contact sub-grids show no data. RRS feed

  • Question

  • Hello,

    We upgraded from CRM 2011 to CRM 2015 and when i open an account which has primary contacts and Related Contacts (it also happens to related cases sub-grid) say "No contact records found".

    Can anyone please tell me whats happening here?

    Thanks,

    Red

    Wednesday, February 25, 2015 10:51 PM

All replies

  • it may have something to do with these script errors.

    Wednesday, February 25, 2015 11:50 PM
  • Please check if your grid is pointing to the right account contact relationship.

    Regards,

    Jithesh

    Thursday, February 26, 2015 6:30 AM
  • Hi Jithesh,

    I was working on some other tasks.

    But yeah the relationship is good. I think its something to do with the javascript, but still no luck.

    -Red

    Friday, February 27, 2015 7:14 PM
  • This is the mesasge from event viewer.

    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)
     
     
    Custom event details: 

    Friday, February 27, 2015 7:35 PM