locked
"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

    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Syntax error</Message>
       <Line>1</Line>
       <URL>/main.aspx?etc=4&extraqs=%3fformid%3de3b6ddb7-8df0-4410-ac7b-fd32e5053d38%26id%3d%257bEEF018B2-4CF2-E311-9404-0050568B0650%257d%26rof%3dtrue%26rskey%3d429526144%26setlastviewed%3dtrue%26theme%3dOutlook15White&pagemode=iframe&pagetype=entityrecord&rof=true&rskey=429526144</URL>
       <PageURL>/main.aspx?etc=4&extraqs=%3fformid%3de3b6ddb7-8df0-4410-ac7b-fd32e5053d38%26id%3d%257bEEF018B2-4CF2-E311-9404-0050568B0650%257d%26rof%3dtrue%26rskey%3d429526144%26setlastviewed%3dtrue%26theme%3dOutlook15White&pagemode=iframe&pagetype=entityrecord&rof=true&rskey=429526144</PageURL>
       <Function></Function>
       <CallStack>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <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 1.1.21.4019; BRI/2)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1680x1050</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-08-05T15:49:12</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1033</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{F40E8DC5-F09C-E011-9906-00219BF9E600}</OrgID>
        <UserID>{3C1FFD04-0D96-E311-9400-0050568B5CA5}</UserID>
        <CRMVersion>6.1.0.581</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    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?

    Thanks,


    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.

    Regards,

    Jithesh

    Wednesday, August 6, 2014 12:05 AM