Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Syntax error on line 1 char 1

$
0
0

Hi all!

I seem to have an error on opening forms. The error is a syntax error Line 1 char 1. I have disabled all JavaScript libraries from the for (Just a Postcode library) but still this error persists. 

This is the error log which would be sent to MS:

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>Syntax error</Message>
   <Line>1</Line>
   <URL>/userdefined/edit.aspx?_gridType=2&etc=2&id=%7b7B89D04B-8A04-E011-A84C-001EC9318340%7d&pagemode=iframe&preloadcache=1386688996185&rskey=951608065</URL>
   <PageURL>/userdefined/edit.aspx?_gridType=2&etc=2&id=%7b7B89D04B-8A04-E011-A84C-001EC9318340%7d&pagemode=iframe&preloadcache=1386688996185&rskey=951608065</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; Media Center PC 6.0; .NET4.0C; .NET4.0E)</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>en-GB</SystemLanguage>
   <UserLanguage>en-GB</UserLanguage>
   <ScreenResolution>1829x1029</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClientTime>2013-12-10T15:23:18</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>2057</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>2057</UserCulture>
    <OrgID>{71C0A4B4-5425-41C4-8374-D59FA796C8BF}</OrgID>
    <UserID>{020BF690-7D8F-DC11-A8E2-0019B9BAA23B}</UserID>
    <CRMVersion>5.0.9690.3731</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>Unable to get property 'toString' of undefined or null reference</Message>
   <Line>1</Line>
   <URL>/_static/_common/scripts/main.js?ver=494096111</URL>
   <PageURL>/main.aspx?etc=2&extraqs=%3f_gridType%3d2%26etc%3d2%26id%3d%257b7B89D04B-8A04-E011-A84C-001EC9318340%257d%26pagemode%3diframe%26preloadcache%3d1386688996185%26rskey%3d951608065&pagetype=entityrecord</PageURL>
   <Function>anonymous($p0,$p1){try{if(!IsNull($p0)){var$v_0=String.format("Timestamp:Loaded={0},Updated={1},Saved={2}{3}{4}",this.$b_3.toString(),!IsNull(this.$M_3)?this.$M_3.toString():(newDate).toString(),!IsNull(this.$L_3)?this.$L_3.toString():"",this.$2_3,$p0);Ms</Function>
   <CallStack>
    <Function>anonymous($p0,$p1){try{if(!IsNull($p0)){var$v_0=String.format("Timestamp:Loaded={0},Updated={1},Saved={2}{3}{4}",this.$b_3.toString(),!IsNull(this.$M_3)?this.$M_3.toString():(newDate).toString(),!IsNull(this.$L_3)?this.$L_3.toString():"",this.$2_3,$p0);Mscrm.CrmLocalStorage.setItem(this.$R_3,$v_0)}}catch($$e_3){var$v_1=String.format("Timestamp:Loaded={0},Updated={1},Saved={2}{3}{4}",this.$b_3.toString(),this.$M_3.toString(),!IsNull(this.$L_3)?this.$L_3.toString():"",this.$2_3,$p1);Mscrm.CrmLocalStorage.setItem(this.$R_3,$v_1)}}</Function>
   </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; Media Center PC 6.0; .NET4.0C; .NET4.0E)</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>en-GB</SystemLanguage>
   <UserLanguage>en-GB</UserLanguage>
   <ScreenResolution>1829x1029</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClientTime>2013-12-10T15:23:18</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>2057</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>2057</UserCulture>
    <OrgID>{71C0A4B4-5425-41C4-8374-D59FA796C8BF}</OrgID>
    <UserID>{020BF690-7D8F-DC11-A8E2-0019B9BAA23B}</UserID>
    <CRMVersion>5.0.9690.3731</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>