web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2013 - Inconsistent javascript issue crash the web client and user needs to reopen

(0) ShareShare
ReportReport
Posted on by 675

Hello,

We are using CRM 2013 on premise version and almost 600 users are using it. We have some inconsistent JavaScript issue (following is the log for same) which happens to users in a day or two. When this issue occurs user can not work in system and they have to open new instance of CRM.

Does anybody knows about this error?

<CrmScriptErrorReport>

  <ReportVersion>1.0</ReportVersion>

  <ScriptErrorDetails>

   <Message>Unable to get property 'location' of undefined or null reference</Message>

   <Line>1</Line>

   <URL>/_static/_common/scripts/main.js?ver=1676323357</URL>

   <PageURL>/main.aspx#313155368</PageURL>

   <Function>anonymous($p0,$p1,$p2){this.$3_3.get_currentIFrame()&&Mscrm.PerformanceTracing.write("Unload",this.$3_3.get_currentIFrame().src);this.$H_3=$p0.toString();this.$26_3();this.$1A_3();this.$1J_3();if($p0.get_isLocalServer())$p0.get_query()["pagemode"]="iframe</Function>

   <CallStack>

    <Function>anonymous($p0,$p1,$p2){this.$3_3.get_currentIFrame()&&Mscrm.PerformanceTracing.write("Unload",this.$3_3.get_currentIFrame().src);this.$H_3=$p0.toString();this.$26_3();this.$1A_3();this.$1J_3();if($p0.get_isLocalServer())$p0.get_query()["pagemode"]="iframe";addPassiveAuthParameters($p0);var$v_0=$p0.toString();if(IsNull($p2))$p2=false;var$v_1=this.$18_3($p0,$p2);if($v_1){if(this.$2z_3()){window.location.reload();return}this.$2d_3();this.$1s_3();Mscrm.PerformanceTracing.write("Navigate",$v_0);!Mscrm.Utilities.isIE()&&this.raiseEvent(Mscrm.ScriptEvents.UpdateTopLocation,null);this.$3_3.get_currentIFrame().contentWindow.location.replace($v_0)}else{this.$10_3();var$v_2=this.get_contentWindow().Sys.Application.findComponent("crmPageManager");if($v_2){!Mscrm.Utilities.isIE()&&$v_2.raiseEvent(Mscrm.ScriptEvents.UpdateTopLocation,null);var$v_3={};$v_3["sourceUri"]=Mscrm.Utilities.getContentUrl(null);$v_2.raiseEvent(Mscrm.ScriptEvents.IFrameReactivated,$v_3)}}window.self.InnerIFrameSrcChangeTimestamp=(newDate).getTime();this.title=$p1;if(window.LOCID_UI_DIR==="RTL"&&$p0.toString().indexOf("PersonalWall")>=0&&window.UseTabletExperience)this.$3_3.get_currentIFrame().style.position="RELATIVE"}</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; InfoPath.3)</BrowserUserAgent>

   <BrowserLanguage>en-US</BrowserLanguage>

   <SystemLanguage>en-US</SystemLanguage>

   <UserLanguage>en-US</UserLanguage>

   <ScreenResolution>1366x768</ScreenResolution>

   <ClientName>Web</ClientName>

   <ClientTime>2015-04-20T15:41:12</ClientTime>

  </ClientInformation>

  <ServerInformation>

    <OrgLanguage>1033</OrgLanguage>

    <OrgCulture>1033</OrgCulture>

    <UserLanguage>1033</UserLanguage>

    <UserCulture>1033</UserCulture>

    <OrgID>{E8BBA7AE-A552-DE11-B475-001E0B4882E2}</OrgID>

    <UserID>{614837CD-448B-DE11-A5E1-005056970D6C}</UserID>

    <CRMVersion>6.1.2.112</CRMVersion>

  </ServerInformation>

</CrmScriptErrorReport>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    1.Navigate to Settings >> Administration >> Privacy Preferences

    2.Click on Error Reporting and check the box for “Specify the Web application error notification preferences on behalf of users“ and  choose either of below options:

    •Automatically send an error report to Microsoft without asking the user for permission

    •Never Send an error report to Microsoft

    Above steps will be applied Organization wide.

  • Mahendar Pal Profile Picture
    45,095 on at

    Is there any java script implemented recently or can have you done any changes to environment ??

  • RaviM Profile Picture
    675 on at

    This is inconsistent. If it is due to any custom javascript which we wrote, then should come in each and every time. But its inconsistent and based on log, it seems issue in internal javascript.

  • Mahendar Pal Profile Picture
    45,095 on at

    Is your environment is updated with latest roll-up ?? We will recommend you to do that.

  • RaviM Profile Picture
    675 on at

    We have SP1 UR2 installed by latest.

  • RaviM Profile Picture
    675 on at

    We have SP1 UR2 installed by latest. Need to check with SP1 UR3.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans