locked
Serious issue saving records CRM 2013 RRS feed

  • Question

  • Hello,

    We recently upgraded to 2013 and our system is broken by a particular error that no one can seem to figure out. Whenever a user tries to update and save a record that is not owned by them (something they could do in 2011) no matter if its a lead, account, etc, nothing happens whatsoever. No error message, no "you do not own this", no nothing. Then, when they exit the form, by clicking the home button, the below error pops up. One of our biggest uses for the system is for CSR's to take calls and update leads, opportunities, accounts, etc so this is an absolute system breaker. Can somebody please help?

    (Note: Also, if I assign the default System Administrator role to the user, this doesn't happen. However, no combination of other permissions fixes the issue. We have taken a custom role and given it full green across the board and still this happens. Only with the System Administrator role is it solved.)

    Microsoft Dynamics CRM Error Report Contents

    <CrmScriptErrorReport>

      <ReportVersion>1.0</ReportVersion>

      <ScriptErrorDetails>

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

       <Line>50</Line>

       <URL>/_common/JsProvider.ashx?IsRefreshForm=true&ids=1545465446-1759665639-1968334880-202661451-1547461133-1992083491-1000289424-159335543-1793205875-1025323794-1194605645-1039841082-1314140682-513446117-342519603-330369912-1710907082-1625018438-1460109179-1088147315-706656670-1376927455-1030632819-1181113682-542820515-1946640899-1603536461-468302605-1405388298-1220618931-511599809-1264077421-131822024-1188909594-783705869-374257838-1440202827-1391165063-2050812538-512064351&ver=-41465392</URL>

       <PageURL>/main.aspx?etc=1&extraqs=%3f_gridType%3d1%26etc%3d1%26id%3d%257b119DBE71-E13B-E311-A563-AC162DB4BC72%257d%26rskey%3d962533462&pagemode=iframe&pagetype=entityrecord&rskey=962533462</PageURL>

       <Function>anonymous(){var$v_0=this.get_$0_3(),$v_1=$v_0.$1_0,$v_2=document.createElement("input");Sys.UI.DomElement.addCssClass($v_2,"ms-crm-CheckBox");$v_2.setAttribute("id",this.get_editElementId());$v_2.setAttribute("style","ime-mode:auto");$v_2.setAttribute("ty</Function>

       <CallStack>

        <Function>anonymous(){var$v_0=this.get_$0_3(),$v_1=$v_0.$1_0,$v_2=document.createElement("input");Sys.UI.DomElement.addCssClass($v_2,"ms-crm-CheckBox");$v_2.setAttribute("id",this.get_editElementId());$v_2.setAttribute("style","ime-mode:auto");$v_2.setAttribute("type","checkbox");$v_2.setAttribute("attrPriv",$v_1.get_privilegeMask().toString());$v_2.setAttribute("attrName",$v_1.get_logicalName());$v_2.setAttribute("value","on");for(var$v_3=$v_1,$v_4=0;$v_4<$v_3.$1k_1.length;$v_4++)$v_2.setAttribute(String.format("option_{0}",$v_4),$v_3.$1k_1[$v_4].Label);if(!IsNull($v_1.get_initialValue())){var$v_5=this.get_view().$J_2().toString();$v_2.checked=$v_5==="1"?true:false}else$v_2.checked=false;if(this.get_view().get_disabled())$v_2.disabled=true;return$P_CRM($v_2)}</Function>

       </CallStack>

      </ScriptErrorDetails>

      <ClientInformation>

       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; 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>1024x768</ScreenResolution>

       <ClientName>Web</ClientName>

       <ClientTime>2014-02-17T13:12:10</ClientTime>

      </ClientInformation>

      <ServerInformation>

        <OrgLanguage>1033</OrgLanguage>

        <OrgCulture>1033</OrgCulture>

        <UserLanguage>1033</UserLanguage>

        <UserCulture>1033</UserCulture>

        <OrgID>{67810674-919D-462A-8191-71044A9E7663}</OrgID>

        <UserID>{4F7E1A07-BE3C-E311-908D-B4B52F569E66}</UserID>

        <CRMVersion>6.0.1.462</CRMVersion>

      </ServerInformation>

    </CrmScriptErrorReport>

    <CrmScriptErrorReport>

      <ReportVersion>1.0</ReportVersion>

      <ScriptErrorDetails>

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

       <Line>50</Line>

       <URL>/_common/JsProvider.ashx?IsRefreshForm=true&ids=1545465446-1759665639-1968334880-202661451-1547461133-1992083491-1000289424-159335543-1793205875-1025323794-1194605645-1039841082-1314140682-513446117-342519603-330369912-1710907082-1625018438-1460109179-1088147315-706656670-1376927455-1030632819-1181113682-542820515-1946640899-1603536461-468302605-1405388298-1220618931-511599809-1264077421-131822024-1188909594-783705869-374257838-1440202827-1391165063-2050812538-512064351&ver=-41465392</URL>

       <PageURL>/main.aspx?etc=1&extraqs=%3f_gridType%3d1%26etc%3d1%26id%3d%257b119DBE71-E13B-E311-A563-AC162DB4BC72%257d%26rskey%3d962533462&pagemode=iframe&pagetype=entityrecord&rskey=962533462</PageURL>

       <Function>anonymous(){var$v_0=this.get_$0_3(),$v_1=$v_0.$1_0,$v_2=document.createElement("input");Sys.UI.DomElement.addCssClass($v_2,"ms-crm-CheckBox");$v_2.setAttribute("id",this.get_editElementId());$v_2.setAttribute("style","ime-mode:auto");$v_2.setAttribute("ty</Function>

       <CallStack>

        <Function>anonymous(){var$v_0=this.get_$0_3(),$v_1=$v_0.$1_0,$v_2=document.createElement("input");Sys.UI.DomElement.addCssClass($v_2,"ms-crm-CheckBox");$v_2.setAttribute("id",this.get_editElementId());$v_2.setAttribute("style","ime-mode:auto");$v_2.setAttribute("type","checkbox");$v_2.setAttribute("attrPriv",$v_1.get_privilegeMask().toString());$v_2.setAttribute("attrName",$v_1.get_logicalName());$v_2.setAttribute("value","on");for(var$v_3=$v_1,$v_4=0;$v_4<$v_3.$1k_1.length;$v_4++)$v_2.setAttribute(String.format("option_{0}",$v_4),$v_3.$1k_1[$v_4].Label);if(!IsNull($v_1.get_initialValue())){var$v_5=this.get_view().$J_2().toString();$v_2.checked=$v_5==="1"?true:false}else$v_2.checked=false;if(this.get_view().get_disabled())$v_2.disabled=true;return$P_CRM($v_2)}</Function>

       </CallStack>

      </ScriptErrorDetails>

      <ClientInformation>

       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; 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>1024x768</ScreenResolution>

       <ClientName>Web</ClientName>

       <ClientTime>2014-02-17T13:12:15</ClientTime>

      </ClientInformation>

      <ServerInformation>

        <OrgLanguage>1033</OrgLanguage>

        <OrgCulture>1033</OrgCulture>

        <UserLanguage>1033</UserLanguage>

        <UserCulture>1033</UserCulture>

        <OrgID>{67810674-919D-462A-8191-71044A9E7663}</OrgID>

        <UserID>{4F7E1A07-BE3C-E311-908D-B4B52F569E66}</UserID>

        <CRMVersion>6.0.1.462</CRMVersion>

      </ServerInformation>

    </CrmScriptErrorReport>

    <CrmScriptErrorReport>

      <ReportVersion>1.0</ReportVersion>

      <ScriptErrorDetails>

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

       <ExceptionNumber>-2146823281</ExceptionNumber>

       <Line>0</Line>

       <URL>/main.aspx?etc=1&extraqs=%3f_gridType%3d1%26etc%3d1%26id%3d%257b119DBE71-E13B-E311-A563-AC162DB4BC72%257d%26rskey%3d962533462&pagemode=iframe&pagetype=entityrecord&rskey=962533462</URL>

       <PageURL>/main.aspx?etc=1&extraqs=%3f_gridType%3d1%26etc%3d1%26id%3d%257b119DBE71-E13B-E311-A563-AC162DB4BC72%257d%26rskey%3d962533462&pagemode=iframe&pagetype=entityrecord&rskey=962533462</PageURL>

       <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$27_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.Page</Function>

       <CallStack>

        <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$27_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.PageManager.$1q)try{var$v_6=$v_5.handleEvent($p0,$p1,$p2);$v_0[$v_0.length]=$v_6}catch($v_7){catchError($v_7.message,window.location.href,0,true,$p4,$v_7.number)}}return$v_0}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent,sourceEventManagerId){var$v_0=[],$v_1;$v_1=this.$5E_1(eventCode,parameters,sourceComponent,false,arguments.caller);$v_0=$v_0.concat($v_1);$v_1=this.$5D_1(eventCode,parameters,sourceComponent,sourceEventManagerId,false);$v_0=$v_0.concat($v_1);return$v_0}</Function>

        <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[];if(!IsNull(this.$2Y_1))for(var$v_1=0;$v_1<this.$2Y_1.length;$v_1++){var$v_2=this.$2Y_1[$v_1].trim();if($p4&&$v_2===$p3)continue;var$v_3=$find($v_2);if($v_3||!Mscrm.PageManager.$1q){var$v_4=$v_3.propogateEvent($p0,$p1,$p2,this.get_id());$v_0=$v_0.concat($v_4)}}if(!IsNull(this.$1M_1)){var$$dict_A=this.$1M_1;for(var$$key_Bin$$dict_A){var$v_5={key:$$key_B,value:$$dict_A[$$key_B]},$v_6=$v_5.key;if($p4&&$v_6===$p3)continue;var$v_7=$v_5.value;try{var$v_8=$v_7.propogateEvent($p0,$p1,$p2,this.get_id());$v_0=$v_0.concat($v_8)}catch($$e_G){}}}return$v_0}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent){var$v_0=false;try{if(window.location.href.toUpperCase().indexOf("OUTLOOK://")>=0)$v_0=true}catch($$e_4){return[]}if(IsNull(this.$Z_1))this.$4T_1++;var$v_1=[],$v_2;try{switch(eventCode){case0:if(!IsNull(this.$1M_1)){var$v_4=this.get_id()+"hastcemid=",$$dict_8=this.$1M_1;for(var$$key_9in$$dict_8){var$v_5={key:$$key_9,value:$$dict_8[$$key_9]};$v_4+=$v_5.key+","}alert($v_4)}break}var$v_3=arguments.caller;$v_2=this.$5E_1(eventCode,parameters,sourceComponent,true,$v_3);$v_1=$v_1.concat($v_2);$v_2=this.$5D_1(eventCode,parameters,sourceComponent,this.get_id(),false);$v_1=$v_1.concat($v_2);if(!$v_0&&!IsNull(this.$Z_1)){$v_2=this.$Z_1.bubbleEvent(eventCode,parameters,sourceComponent,this.$1p_1?this.$1u_1:this.get_id(),$v_3);$v_1=$v_1.concat($v_2)}}catch($v_6){catchError($v_6.message,window.location.href,0,true,null,$v_6.number)}finally{if(IsNull(this.$Z_1))this.$4T_1--}return$v_1}</Function>

        <Function>anonymous(eventCode,parameters){returnthis.$6_1.raiseEvent(eventCode,parameters,this)}</Function>

        <Function>anonymous($p0){var$v_0=this.raiseEvent(Mscrm.ScriptEvents.NavigateConfirm,$p0),$v_1=true,$v_2=0;while($v_1&&$v_2<$v_0.length){var$v_3=$v_0[$v_2++];if(!IsNull($v_3))$v_1=$v_1&&$v_3}return$v_1}</Function>

        <Function>anonymous($p0,$p1){var$v_0=null,$v_1=false,$v_2=null,$v_3=$p0["uri"];if(IsNull($v_3)||!$v_3.length){$v_0=Mscrm.CrmUri.create("/main.aspx");$v_0.get_query()["pagetype"]=$p0["pagetype"];switch($v_0.get_query()["pagetype"]){case"entityrecord":$v_0.get_query()["etc"]=$p0["etc"];if(!isNullOrEmptyString($p0["id"]))$v_0.get_query()["id"]=$p0["id"];if(!isNullOrEmptyString($p0["sitemappath"]))$v_0.get_query()["sitemappath"]=$p0["sitemappath"];break;case"entitylist":$v_0.get_query()["etc"]=$p0["etc"];$v_0.get_query()["viewid"]=$p0["viewid"];break}}else$v_0=Mscrm.CrmUri.create($v_3);if(isNullOrEmptyString($v_0.get_path()))$p0["uri"]="/_common/error/errorHandler.aspx?inline=1&ErrorCode=0x80631116";$v_1=$v_0.get_path().toLowerCase().endsWith("/main.aspx");if($v_1)$v_2=Mscrm.CrmUri.create("");var$v_4=$p0["queryString"];if($v_1)if(!IsNull($v_0.get_query()["pagemode"])){if(!IsNull($v_4)&&$v_4.length>0)$v_4=$v_4+"&pagemode="+CrmEncodeDecode.CrmUrlEncode($v_0.get_query()["pagemode"].toString());else$v_4="pagemode="+CrmEncodeDecode.CrmUrlEncode($v_0.get_query()["pagemode"].toString());delete$v_0.get_query().pagemode}if(!IsNull($v_4)&&$v_4.length>0)if($v_1){var$v_9=Mscrm.CrmUri.create("");$v_9.appendToQuery($v_4);var$$dict_8=$v_9.get_query();for(var$$key_9in$$dict_8){var$v_A={key:$$key_9,value:$$dict_8[$$key_9]};$v_2.get_query()[$v_A.key]=$v_A.value}}else$v_0.appendToQuery($v_4);var$v_5=$p0["query"];if(!IsNull($v_5)){var$$dict_C=$v_5;for(var$$key_Din$$dict_C){var$v_B={key:$$key_D,value:$$dict_C[$$key_D]};if($v_1)$v_2.get_query()[$v_B.key]=$v_B.value;else$v_0.get_query()[$v_B.key]=$v_B.value}}if($v_1&&!IsNull($v_2))$v_0.get_query()["extraqs"]=$v_2.get_queryString();var$v_6=true;if($v_1){if($v_0.get_query()["pagetype"]==="entityrecord")$v_6=false}elseif($v_0.get_path().toUpperCase().endsWith("/EDIT.ASPX"))$v_6=false;if(!IsNull($p0["sameWindow"])&&$p0["sameWindow"])$v_6=$p0["sameWindow"];if(!$v_6){var$v_C="";if($v_0.get_path().toLowerCase().endsWith("/homepage.aspx"))$v_C="ENTITYLIST";if($v_0.get_path().toLowerCase().endsWith("/edit.aspx"))$v_C="ENTITYRECORD";$v_0=Mscrm.Utilities.getPageUrl($v_0,$v_C);$v_1=$v_0.get_path().toLowerCase().endsWith("/main.aspx");if($v_1){$v_0.get_query()["newWindow"]=true;$v_0.get_query()["histKey"]=Math.floor(Math.random()*1e9).toString()}var$v_D=$p0["windowWidth"],$v_E=$p0["windowHeight"],$v_F=buildWinName(null),$v_G="";if(!IsNull($p0["features"]))$v_G+=$p0["features"];if(!window.ORG_IS_APP_MODE)$v_G+=",location=1,toolbar=1,menubar=1";!IsNull($p0["trimStatus"])&&!$p0["trimStatus"]&&Mscrm.CrmWindow.set_trimFeatures(false);return!IsNull(openStdWin($v_0,$v_F,$v_D,$v_E,$v_G))}Mscrm.InlineDialogUtility.closeAllInlineDialogs();typeofMscrm.GlobalQuickCreate!=="undefined"&&typeofMscrm.GlobalQuickCreate.GlobalQuickCreateBehavior!=="undefined"&&Mscrm.GlobalQuickCreate.GlobalQuickCreateBehavior.closeAllGlobalQuickCreateForms();var$v_7=[$p1],$v_8=Mscrm.Utilities.createCallbackFunctionObject("handleNavigateRequestCallback",this,$v_7);$p0["callbackForNavigate"]=$v_8;if(!this.$1Q_2($p0))returnfalse;returnthis.handleNavigateRequestCallback($p0,$p1)}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent){switch(eventCode){caseMscrm.ScriptEvents.NavigateRequest:returnthis.$2Q_2(parameters,sourceComponent);caseMscrm.ScriptEvents.NavigateRefresh:this.$2P_2(parameters,sourceComponent);break;caseMscrm.ScriptEvents.NavigateClose:returnthis.$2O_2(parameters,sourceComponent);caseMscrm.ScriptEvents.SignOut:this.$2X_2(parameters);break;caseMscrm.ScriptEvents.UpdateTopLocation:returnthis.$1N_2(parameters,sourceComponent);caseMscrm.ScriptEvents.IFrameReactivated:caseMscrm.ScriptEvents.PageLoaded:returnthis.$q_2(parameters,sourceComponent)}returnnull}</Function>

        <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$27_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.PageManager.$1q)try{var$v_6=$v_5.handleEvent($p0,$p1,$p2);$v_0[$v_0.length]=$v_6}catch($v_7){catchError($v_7.message,window.location.href,0,true,$p4,$v_7.number)}}return$v_0}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent){var$v_0=false;try{if(window.location.href.toUpperCase().indexOf("OUTLOOK://")>=0)$v_0=true}catch($$e_4){return[]}if(IsNull(this.$Z_1))this.$4T_1++;var$v_1=[],$v_2;try{switch(eventCode){case0:if(!IsNull(this.$1M_1)){var$v_4=this.get_id()+"hastcemid=",$$dict_8=this.$1M_1;for(var$$key_9in$$dict_8){var$v_5={key:$$key_9,value:$$dict_8[$$key_9]};$v_4+=$v_5.key+","}alert($v_4)}break}var$v_3=arguments.caller;$v_2=this.$5E_1(eventCode,parameters,sourceComponent,true,$v_3);$v_1=$v_1.concat($v_2);$v_2=this.$5D_1(eventCode,parameters,sourceComponent,this.get_id(),false);$v_1=$v_1.concat($v_2);if(!$v_0&&!IsNull(this.$Z_1)){$v_2=this.$Z_1.bubbleEvent(eventCode,parameters,sourceComponent,this.$1p_1?this.$1u_1:this.get_id(),$v_3);$v_1=$v_1.concat($v_2)}}catch($v_6){catchError($v_6.message,window.location.href,0,true,null,$v_6.number)}finally{if(IsNull(this.$Z_1))this.$4T_1--}return$v_1}</Function>

        <Function>anonymous(eventCode,parameters){returnthis.$6_1.raiseEvent(eventCode,parameters,this)}</Function>

        <Function>anonymous($p0){var$v_0=this.raiseEvent(Mscrm.ScriptEvents.NavigateConfirm,$p0),$v_1=true,$v_2=0;while($v_1&&$v_2<$v_0.length){var$v_3=$v_0[$v_2++];if(!IsNull($v_3))$v_1=$v_1&&$v_3}return$v_1}</Function>

        <Function>anonymous($p0,$p1){var$v_0=null,$v_1=false,$v_2=null,$v_3=$p0["uri"];if(IsNull($v_3)||!$v_3.length){$v_0=Mscrm.CrmUri.create("/main.aspx");$v_0.get_query()["pagetype"]=$p0["pagetype"];switch($v_0.get_query()["pagetype"]){case"entityrecord":$v_0.get_query()["etc"]=$p0["etc"];if(!isNullOrEmptyString($p0["id"]))$v_0.get_query()["id"]=$p0["id"];if(!isNullOrEmptyString($p0["sitemappath"]))$v_0.get_query()["sitemappath"]=$p0["sitemappath"];break;case"entitylist":$v_0.get_query()["etc"]=$p0["etc"];$v_0.get_query()["viewid"]=$p0["viewid"];break}}else$v_0=Mscrm.CrmUri.create($v_3);if(isNullOrEmptyString($v_0.get_path()))$p0["uri"]="/_common/error/errorHandler.aspx?inline=1&ErrorCode=0x80631116";$v_1=$v_0.get_path().toLowerCase().endsWith("/main.aspx");if($v_1)$v_2=Mscrm.CrmUri.create("");var$v_4=$p0["queryString"];if($v_1)if(!IsNull($v_0.get_query()["pagemode"])){if(!IsNull($v_4)&&$v_4.length>0)$v_4=$v_4+"&pagemode="+CrmEncodeDecode.CrmUrlEncode($v_0.get_query()["pagemode"].toString());else$v_4="pagemode="+CrmEncodeDecode.CrmUrlEncode($v_0.get_query()["pagemode"].toString());delete$v_0.get_query().pagemode}if(!IsNull($v_4)&&$v_4.length>0)if($v_1){var$v_9=Mscrm.CrmUri.create("");$v_9.appendToQuery($v_4);var$$dict_8=$v_9.get_query();for(var$$key_9in$$dict_8){var$v_A={key:$$key_9,value:$$dict_8[$$key_9]};$v_2.get_query()[$v_A.key]=$v_A.value}}else$v_0.appendToQuery($v_4);var$v_5=$p0["query"];if(!IsNull($v_5)){var$$dict_C=$v_5;for(var$$key_Din$$dict_C){var$v_B={key:$$key_D,value:$$dict_C[$$key_D]};if($v_1)$v_2.get_query()[$v_B.key]=$v_B.value;else$v_0.get_query()[$v_B.key]=$v_B.value}}if($v_1&&!IsNull($v_2))$v_0.get_query()["extraqs"]=$v_2.get_queryString();var$v_6=true;if($v_1){if($v_0.get_query()["pagetype"]==="entityrecord")$v_6=false}elseif($v_0.get_path().toUpperCase().endsWith("/EDIT.ASPX"))$v_6=false;if(!IsNull($p0["sameWindow"])&&$p0["sameWindow"])$v_6=$p0["sameWindow"];if(!$v_6){var$v_C="";if($v_0.get_path().toLowerCase().endsWith("/homepage.aspx"))$v_C="ENTITYLIST";if($v_0.get_path().toLowerCase().endsWith("/edit.aspx"))$v_C="ENTITYRECORD";$v_0=Mscrm.Utilities.getPageUrl($v_0,$v_C);$v_1=$v_0.get_path().toLowerCase().endsWith("/main.aspx");if($v_1){$v_0.get_query()["newWindow"]=true;$v_0.get_query()["histKey"]=Math.floor(Math.random()*1e9).toString()}var$v_D=$p0["windowWidth"],$v_E=$p0["windowHeight"],$v_F=buildWinName(null),$v_G="";if(!IsNull($p0["features"]))$v_G+=$p0["features"];if(!window.ORG_IS_APP_MODE)$v_G+=",location=1,toolbar=1,menubar=1";!IsNull($p0["trimStatus"])&&!$p0["trimStatus"]&&Mscrm.CrmWindow.set_trimFeatures(false);return!IsNull(openStdWin($v_0,$v_F,$v_D,$v_E,$v_G))}Mscrm.InlineDialogUtility.closeAllInlineDialogs();typeofMscrm.GlobalQuickCreate!=="undefined"&&typeofMscrm.GlobalQuickCreate.GlobalQuickCreateBehavior!=="undefined"&&Mscrm.GlobalQuickCreate.GlobalQuickCreateBehavior.closeAllGlobalQuickCreateForms();var$v_7=[$p1],$v_8=Mscrm.Utilities.createCallbackFunctionObject("handleNavigateRequestCallback",this,$v_7);$p0["callbackForNavigate"]=$v_8;if(!this.$1Q_2($p0))returnfalse;returnthis.handleNavigateRequestCallback($p0,$p1)}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent){switch(eventCode){caseMscrm.ScriptEvents.NavigateRequest:returnthis.$2Q_2(parameters,sourceComponent);caseMscrm.ScriptEvents.NavigateRefresh:this.$2P_2(parameters,sourceComponent);break;caseMscrm.ScriptEvents.NavigateClose:returnthis.$2O_2(parameters,sourceComponent);caseMscrm.ScriptEvents.SignOut:this.$2X_2(parameters);break;caseMscrm.ScriptEvents.UpdateTopLocation:returnthis.$1N_2(parameters,sourceComponent);caseMscrm.ScriptEvents.IFrameReactivated:caseMscrm.ScriptEvents.PageLoaded:returnthis.$q_2(parameters,sourceComponent)}returnnull}</Function>

        <Function>anonymous($p0,$p1,$p2,$p3,$p4){var$v_0=[],$v_1="SE"+$p0.toString(),$v_2=this.$27_1[$v_1];if(!IsNull($v_2))for(var$v_3=0;$v_3<$v_2.length;$v_3++){var$v_4=$v_2[$v_3].trim();if($p3&&($p2&&$v_4===$p2.get_id()))continue;var$v_5=$find($v_4);if($v_5||!Mscrm.PageManager.$1q)try{var$v_6=$v_5.handleEvent($p0,$p1,$p2);$v_0[$v_0.length]=$v_6}catch($v_7){catchError($v_7.message,window.location.href,0,true,$p4,$v_7.number)}}return$v_0}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent){var$v_0=false;try{if(window.location.href.toUpperCase().indexOf("OUTLOOK://")>=0)$v_0=true}catch($$e_4){return[]}if(IsNull(this.$Z_1))this.$4T_1++;var$v_1=[],$v_2;try{switch(eventCode){case0:if(!IsNull(this.$1M_1)){var$v_4=this.get_id()+"hastcemid=",$$dict_8=this.$1M_1;for(var$$key_9in$$dict_8){var$v_5={key:$$key_9,value:$$dict_8[$$key_9]};$v_4+=$v_5.key+","}alert($v_4)}break}var$v_3=arguments.caller;$v_2=this.$5E_1(eventCode,parameters,sourceComponent,true,$v_3);$v_1=$v_1.concat($v_2);$v_2=this.$5D_1(eventCode,parameters,sourceComponent,this.get_id(),false);$v_1=$v_1.concat($v_2);if(!$v_0&&!IsNull(this.$Z_1)){$v_2=this.$Z_1.bubbleEvent(eventCode,parameters,sourceComponent,this.$1p_1?this.$1u_1:this.get_id(),$v_3);$v_1=$v_1.concat($v_2)}}catch($v_6){catchError($v_6.message,window.location.href,0,true,null,$v_6.number)}finally{if(IsNull(this.$Z_1))this.$4T_1--}return$v_1}</Function>

        <Function>anonymous(eventCode,parameters){returnthis.$6_1.raiseEvent(eventCode,parameters,this)}</Function>

        <Function>anonymous($p0){var$v_0=this.raiseEvent(Mscrm.ScriptEvents.NavigateConfirm,$p0),$v_1=true,$v_2=0;while($v_1&&$v_2<$v_0.length){var$v_3=$v_0[$v_2++];if(!IsNull($v_3))$v_1=$v_1&&$v_3}return$v_1}</Function>

        <Function>anonymous($p0,$p1){var$v_0=null,$v_1=false,$v_2=null,$v_3=$p0["uri"];if(IsNull($v_3)||!$v_3.length){$v_0=Mscrm.CrmUri.create("/main.aspx");$v_0.get_query()["pagetype"]=$p0["pagetype"];switch($v_0.get_query()["pagetype"]){case"entityrecord":$v_0.get_query()["etc"]=$p0["etc"];if(!isNullOrEmptyString($p0["id"]))$v_0.get_query()["id"]=$p0["id"];if(!isNullOrEmptyString($p0["sitemappath"]))$v_0.get_query()["sitemappath"]=$p0["sitemappath"];break;case"entitylist":$v_0.get_query()["etc"]=$p0["etc"];$v_0.get_query()["viewid"]=$p0["viewid"];break}}else$v_0=Mscrm.CrmUri.create($v_3);if(isNullOrEmptyString($v_0.get_path()))$p0["uri"]="/_common/error/errorHandler.aspx?inline=1&ErrorCode=0x80631116";$v_1=$v_0.get_path().toLowerCase().endsWith("/main.aspx");if($v_1)$v_2=Mscrm.CrmUri.create("");var$v_4=$p0["queryString"];if($v_1)if(!IsNull($v_0.get_query()["pagemode"])){if(!IsNull($v_4)&&$v_4.length>0)$v_4=$v_4+"&pagemode="+CrmEncodeDecode.CrmUrlEncode($v_0.get_query()["pagemode"].toString());else$v_4="pagemode="+CrmEncodeDecode.CrmUrlEncode($v_0.get_query()["pagemode"].toString());delete$v_0.get_query().pagemode}if(!IsNull($v_4)&&$v_4.length>0)if($v_1){var$v_9=Mscrm.CrmUri.create("");$v_9.appendToQuery($v_4);var$$dict_8=$v_9.get_query();for(var$$key_9in$$dict_8){var$v_A={key:$$key_9,value:$$dict_8[$$key_9]};$v_2.get_query()[$v_A.key]=$v_A.value}}else$v_0.appendToQuery($v_4);var$v_5=$p0["query"];if(!IsNull($v_5)){var$$dict_C=$v_5;for(var$$key_Din$$dict_C){var$v_B={key:$$key_D,value:$$dict_C[$$key_D]};if($v_1)$v_2.get_query()[$v_B.key]=$v_B.value;else$v_0.get_query()[$v_B.key]=$v_B.value}}if($v_1&&!IsNull($v_2))$v_0.get_query()["extraqs"]=$v_2.get_queryString();var$v_6=true;if($v_1){if($v_0.get_query()["pagetype"]==="entityrecord")$v_6=false}elseif($v_0.get_path().toUpperCase().endsWith("/EDIT.ASPX"))$v_6=false;if(!IsNull($p0["sameWindow"])&&$p0["sameWindow"])$v_6=$p0["sameWindow"];if(!$v_6){var$v_C="";if($v_0.get_path().toLowerCase().endsWith("/homepage.aspx"))$v_C="ENTITYLIST";if($v_0.get_path().toLowerCase().endsWith("/edit.aspx"))$v_C="ENTITYRECORD";$v_0=Mscrm.Utilities.getPageUrl($v_0,$v_C);$v_1=$v_0.get_path().toLowerCase().endsWith("/main.aspx");if($v_1){$v_0.get_query()["newWindow"]=true;$v_0.get_query()["histKey"]=Math.floor(Math.random()*1e9).toString()}var$v_D=$p0["windowWidth"],$v_E=$p0["windowHeight"],$v_F=buildWinName(null),$v_G="";if(!IsNull($p0["features"]))$v_G+=$p0["features"];if(!window.ORG_IS_APP_MODE)$v_G+=",location=1,toolbar=1,menubar=1";!IsNull($p0["trimStatus"])&&!$p0["trimStatus"]&&Mscrm.CrmWindow.set_trimFeatures(false);return!IsNull(openStdWin($v_0,$v_F,$v_D,$v_E,$v_G))}Mscrm.InlineDialogUtility.closeAllInlineDialogs();typeofMscrm.GlobalQuickCreate!=="undefined"&&typeofMscrm.GlobalQuickCreate.GlobalQuickCreateBehavior!=="undefined"&&Mscrm.GlobalQuickCreate.GlobalQuickCreateBehavior.closeAllGlobalQuickCreateForms();var$v_7=[$p1],$v_8=Mscrm.Utilities.createCallbackFunctionObject("handleNavigateRequestCallback",this,$v_7);$p0["callbackForNavigate"]=$v_8;if(!this.$1Q_2($p0))returnfalse;returnthis.handleNavigateRequestCallback($p0,$p1)}</Function>

        <Function>anonymous(eventCode,parameters,sourceComponent){switch(eventCode){caseMscrm.ScriptEvents.NavigateRequest:returnthis.$2Q_2(parameters,sourceComponent);caseMscrm.ScriptEvents.NavigateRefresh:this.$2P_2(parameters,sourceComponent);break;caseMscrm.ScriptEvents.NavigateClose:returnthis.$2O_2(parameters,sourceComponent);caseMscrm.ScriptEvents.SignOut:this.$2X_2(parameters);break;caseMscrm.ScriptEvents.UpdateTopLocation:returnthis.$1N_2(parameters,sourceComponent);caseMscrm.ScriptEvents.IFrameReactivated:caseMscrm.ScriptEvents.PageLoaded:returnthis.$q_2(parameters,sourceComponent)}returnnull}</Function>

       </CallStack>

      </ScriptErrorDetails>

      <ClientInformation>

       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; 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>1024x768</ScreenResolution>

       <ClientName>Web</ClientName>

       <ClientTime>2014-02-17T13:12:21</ClientTime>

      </ClientInformation>

      <ServerInformation>

        <OrgLanguage>1033</OrgLanguage>

        <OrgCulture>1033</OrgCulture>

        <UserLanguage>1033</UserLanguage>

        <UserCulture>1033</UserCulture>

        <OrgID>{67810674-919D-462A-8191-71044A9E7663}</OrgID>

        <UserID>{4F7E1A07-BE3C-E311-908D-B4B52F569E66}</UserID>

        <CRMVersion>6.0.1.462</CRMVersion>

      </ServerInformation>

    </CrmScriptErrorReport>

    Tuesday, February 18, 2014 2:36 PM

All replies

  • Hi,

    I was able to fix an similar error when deaktivated, deleted and reimported the organization via deployment manager.


    gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS

    Tuesday, February 18, 2014 3:05 PM
  • How did you upgrade the CRM? In-Place upgrade? Didn't you test the upgrade on a testing environment before upgrading and if yes - does it also happen there?

    Iv'e seen similar issues that ended up relating IE, try to:

    1. Add the CRM site to trusted sites

    2. Clear IE cache

    3. If you are using IE11 - add the CRM website in the compatibility view list

     

    • Proposed as answer by Daniel Ovadia Monday, March 2, 2015 3:06 PM
    Tuesday, February 18, 2014 4:04 PM