"New" forms in CRM 2013 throwing errors RRS feed

  • Question

  • We have suddenly become aware of errors being thrown by the "new" CRM 2013 forms. The "Information" forms are fine and work as designed, but when web resources are added to the "new" form we get the following error:

    Microsoft Dynamics CRM Error Report Contents

       <Message>Syntax error</Message>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.3; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; InfoPath.3; IPH; BRI/2)</BrowserUserAgent>

    Since it seems to point at the main.aspx window, it would appear to be a Microsoft bug.  Has anyone else seen this?  Any ideas on how to fix?


    Ken Compter

    Tuesday, August 5, 2014 8:04 PM

All replies

  • Are you able to repro in other entities and forms or just this one ? It’s more likely that a jscript web resource attached to this form is causing the issue.

    With CRM error dialog it’s hard to know which line is causing the problem but if you set it off than the browser will tell you  which line is making you suffer J

    My Blog

    • Edited by Adi Katz Tuesday, August 5, 2014 8:28 PM
    Tuesday, August 5, 2014 8:27 PM
  • Hi Ken,

    Like Adi said, the suspect is your web resource since the error appears after you add web resource.

    Steps to narrow down script error.

    Steps for IE10

    Open a IE window, navigate to the page throwing error, press F12.

    Click on script tab, click on start debugging button.

    See the console window, if there are any script error, it will show the error there. and also the link to navigate to the error.

    If above step does not work, you will have to setup break points and step thru your web resource script.



    Wednesday, August 6, 2014 12:05 AM