A script error occurs or the ribbon fails to load in the Case, Product, or Service Appointment entities in Microsoft Dynamics CRM Online or after applying Update Rollup 12 in On Premise

Applies to: Microsoft Dynamics CRM 2011

Symptoms


When working in the Case, Product, or Service Appointment entities, the ribbon may fail to load, or a script error may occur when attempting to close a form. This issue occurs in Microsoft Dynamics CRM Online and in Microsoft Dynamics CRM 2011 On Premise after applying Update Rollup 12.

Cause


This issue occurs when the Form Assistant is enabled for the form, but is collapsed by default.

Resolution


Microsoft is aware of this issue will be resolved in the next Update Rollup.

As a workaround, the Form Assistant can be set to expand automatically, or can be disabled from the form using the following steps:

1. Click Settings, click Customizations, and then click Customize the System.

2. Under Components, expand Entities, and navigate to the entity experiencing the issue.

3. Expand the entity, click Forms, and open the form experiencing the issue.

4. In the form editor, click Form Properties.

5. Click the Display tab.

6. Check "Expanded by Default". Alternatively, you may also uncheck "Enable Form Assistant" instead.

More Information


Script Error Contents:

<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Unable to get value of the property 'SubjectClicked': object is null or undefined</Message>
<Line>243</Line>
<URL>/main.aspx?etc=1024&extraqs=%3fetc%3d1024%26pagemode%3diframe%26preloadcache%3d1358957915066&pagetype=entityrecord</URL>
<PageURL>/main.aspx?etc=1024&extraqs=%3fetc%3d1024%26pagemode%3diframe%26preloadcache%3d1358957915066&pagetype=entityrecord</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; .NET4.0C; .NET4.0E)</BrowserUserAgent>
<BrowserLanguage>en-us</BrowserLanguage>
<SystemLanguage>en-us</SystemLanguage>
<UserLanguage>en-us</UserLanguage>
<ScreenResolution>1920x1080</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2013-01-23T10:18:38</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{59E9FD9B-FE5B-E211-8D7C-00155D0F1517}</OrgID>
<UserID>{E4A7C9BB-FE5B-E211-8D7C-00155D0F1517}</UserID>
<CRMVersion>5.0.9690.3218</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>

<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Unable to get property 'style' of undefined or null reference</Message>
<Line>1</Line>
<URL>/_static/_forms/form.js?ver=641958594</URL>
<PageURL>/userdefined/edit.aspx?etc=112&pagemode=iframe&preloadcache=1356025625176</PageURL>
<Function>anonymous($p0){if(IsNull($p0.style))returntrue;elsereturn$p0.style.display!=="none"&&$p0.style.visibility!=="hidden"}</Function>
<CallStack>
<Function>anonymous($p0){if(IsNull($p0.style))returntrue;elsereturn$p0.style.display!=="none"&&$p0.style.visibility!=="hidden"}</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; Zune 4.7)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-IN</SystemLanguage>
<UserLanguage>en-IN</UserLanguage>
<ScreenResolution>1600x900</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2012-12-20T23:17:06</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1037</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{DB413D0A-4F33-4B09-803E-A5DCB3F90A4A}</OrgID>
<UserID>{064A8A5E-7E96-452B-ADA8-2851C5DA3AE2}</UserID>
<CRMVersion>5.0.9690.3218</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>