I upgraded my crm 2011 org from Rollup 5 to 16/17. After installing rollup when I try to refresh page or close page, I started getting following error
Microsoft Dynamics CRM Error Report Contents
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Syntax error</Message>
<Line>1</Line>
<URL>/userdefined/edit.aspx?etc=10083&id=%7bD659C33F-2C2D-E411-A69D-00155DC1050C%7d&pagemode=iframe</URL>
<PageURL>/userdefined/edit.aspx?etc=10083&id=%7bD659C33F-2C2D-E411-A69D-00155DC1050C%7d&pagemode=iframe</PageURL>
<Function></Function>
<CallStack>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0E; .NET4.0C)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-GB</UserLanguage>
<ScreenResolution>1829x1029</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2014-08-27T13:47:55</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{6D7D42E2-F413-E411-B524-00155DC1050C}</OrgID>
<UserID>{8594944A-FE13-E411-B524-00155DC1050C}</UserID>
<CRMVersion>5.0.9690.4156</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
When I press F12 to see the error in IE developer tool it shows
edit.aspx?etc=....
<!DOCTYPE HTML PULBIC "..//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE html PUBLIC "" ""><HTML>...
After doing bit of search I found out that this has started happening after Rollup 12+
Resolution:
Make sure all the javscript libraries are starting with the $webresource: prefix
http://dynam1cscrm.wordpress.com/2013/03/25/visual-ribbon-editor-calling-javascript-function-syntax-error-after-upgraded-to-crm-2011-rollup-12/
Microsoft Dynamics CRM Error Report Contents
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Syntax error</Message>
<Line>1</Line>
<URL>/userdefined/edit.aspx?etc=10083&id=%7bD659C33F-2C2D-E411-A69D-00155DC1050C%7d&pagemode=iframe</URL>
<PageURL>/userdefined/edit.aspx?etc=10083&id=%7bD659C33F-2C2D-E411-A69D-00155DC1050C%7d&pagemode=iframe</PageURL>
<Function></Function>
<CallStack>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0E; .NET4.0C)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-GB</UserLanguage>
<ScreenResolution>1829x1029</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2014-08-27T13:47:55</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{6D7D42E2-F413-E411-B524-00155DC1050C}</OrgID>
<UserID>{8594944A-FE13-E411-B524-00155DC1050C}</UserID>
<CRMVersion>5.0.9690.4156</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
When I press F12 to see the error in IE developer tool it shows
edit.aspx?etc=....
<!DOCTYPE HTML PULBIC "..//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE html PUBLIC "" ""><HTML>...
After doing bit of search I found out that this has started happening after Rollup 12+
Resolution:
Make sure all the javscript libraries are starting with the $webresource: prefix
http://dynam1cscrm.wordpress.com/2013/03/25/visual-ribbon-editor-calling-javascript-function-syntax-error-after-upgraded-to-crm-2011-rollup-12/
No comments:
Post a Comment