Recently one of our clients came across an issue in CRM 2011 Online, where sub-grids that had been added to their Forms were not displaying correctly. When creating a new record, the sub-grid would show up with the correct columns displayed but as soon as the record was saved, the sub-grid would change to a grey box with nothing in it!

In addition, users were getting a script error on the page when they tried to navigate away from the record.

The error looks something like this:

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>

<ReportVersion>1.0</ReportVersion>

<ScriptErrorDetails>

    <Message>Type mismatch</Message>

    <Line>1</Line>

    <URL>/userdefined/edit.aspx?_gridType=4&etc=4&id=%7b6435788C-2477-E011-8D96-1CC1DEE89AA8%7d&pagemode=iframe&rskey=664806187&sitemappath=Workplace%7cSFA%7cnav_leads</URL>

    <PageURL>/userdefined/edit.aspx?_gridType=4&etc=4&id=%7b6435788C-2477-E011-8D96-1CC1DEE89AA8%7d&pagemode=iframe&rskey=664806187&sitemappath=Workplace%7cSFA%7cnav_leads</PageURL>

    <Function></Function>

    <CallStack>

    </CallStack>

</ScriptErrorDetails>

<ClientInformation>

    <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; InfoPath.3; MS-RTC EA 2; .NET4.0C; .NET4.0E; Zune 4.7; MS-RTC LM 8)</BrowserUserAgent>

    <BrowserLanguage>en-us</BrowserLanguage>

    <SystemLanguage>en-us</SystemLanguage>

    <UserLanguage>en-us</UserLanguage>

    <ScreenResolution>1920×1080</ScreenResolution>

    <ClientName>Web</ClientName>

<ClientTime>2011-06-01T09:02:16</ClientTime>

</ClientInformation>

<ServerInformation>

<OrgLanguage>1033</OrgLanguage>

<OrgCulture>1033</OrgCulture>

<UserLanguage>1033</UserLanguage>

<UserCulture>1033</UserCulture>

<OrgID>{CB6C920B-43E1-407B-AC7F-F8A19F7256CA}</OrgID>

<UserID>{749161D8-8D35-4C6D-B5F7-35B751B12219}</UserID>

<CRMVersion>5.0.9688.1055</CRMVersion>

</ServerInformation>

</CrmScriptErrorReport>

Resolution: Enable native XMLHTTP support in the Security section of the Advanced Tab in internet options.

Hope this helps someone out there – If you are looking to connect with Microsoft CRM Experts – please reach out.

Happy CRM’ing

  • Nick Marsh

    I too have experienced this issue and unfortunately it does not seem to have been fixed with Rollup 2. Thanks for this as I had to rollback my update but now I can reinstall !!!

  • uiscedan

    Thank you for this information!
    We had this issue intermittently, and we did further testing and discovered that if the grid is in a tab that is collapsed by default, it will render successfully when the tab is expanded, but the script error will still show. A recommendation is to always put sub grids in tabs that are collapse by default so that, although there is still an error message, the client will be able to see the data even if they are unable or unwilling to change theor IE advanced settings.

  • Ahmed Saad

    Thanks for your solution, it was really helpfull for me

Return to Top ▲Return to Top ▲