locked
Microsoft Dynamics has encountered a error crm 2013 upgrade from 2011 RRS feed

  • Question

  • Hi I'm in the process of upgrading our on premise crm from 2011 to 2013. I've got it set up in a test environment prior to upgrading the live. I have imported our organisation and no errors showed up. The organisation loads fine. as soon as i click on service and cases i get the Microsoft Dynamics has encountered a error dialog box

    The text is copied below. Any ideas?

    Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.value}var$v_1=null,$v_2="0";switch($p0.get_pageType()){case"entityrecord":var$v_3=IsNull($v_0.get_query()["id"]);if(!$v_3)$v_1="_E_"+$v_0.get_query()["etc"].toString()+$v_0.get_query()["id"].toString();else$v_1="_E_"+$v_0.get_query()["etc"].toString()+"_new";break;case"entitylist":$v_1="_G_"+$v_0.get_query()["etc"].toString()+"_";if("layout"in$v_0.get_query())$v_2=$v_0.get_query()["layout"].toString();$v_1+=$v_2;break;default:$v_1=$p0.toString();break}return$v_1}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.3; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-AU</SystemLanguage>
       <UserLanguage>en-AU</UserLanguage>
       <ScreenResolution>1242x698</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-02-18T14:37:19</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>3081</OrgCulture>


    spafco

    Tuesday, February 18, 2014 3:58 AM

All replies

  • Hi

    Did you try to disable existing scripts on Cases entity and then check if it could be some issue. Maybe you are using a webresource for some ribbon button, which needs some update.

    Tuesday, February 18, 2014 8:33 AM
  • Thanks,

    Your message helped me remember back in crm 4.0 we added some code in the ISV custimizations xml.  I couldn't find the code it was by snapdragon which has been bought out. http://blogs.msdn.com/b/crm/archive/2006/09/27/773825.aspx?Redirected=true theres a article with someone that added the same code.

    So I did some research and found out that onec you upgrade to 2011 that it stores the ISV custimmisations in the solutions.

    In CRM 2013 UAT... I do a export of the live solution just exporting the ISV. I grab the custimisation.xml

    I create a new CRM vanilla install and export the same file. Using a text comparison tool I removed the Lines that relate to the convert to case convert to lead ISV custimisation (not 100% im doing it correctly)(if there is a easier way to remove redundant ISV custimisations .from v4 would be great) I then successfully imported the solution. click publish on the UAT environment restart IIS and the same issue occurs.

    I am now looking at removing the lines in the customization.xml  in the 2011 Environment making a  backup then running the import to CRM 2013. not liking my chances.

    If anyone has any more troubleshooting steps or ideas on how I can narrow this down would be appreciated.

    Thank you


    spafco

    Wednesday, February 19, 2014 6:00 AM
  • I'm having a similar issue.  When I click on Sales or another section, I have no problem seeing content.  However, when I click on cases I get nothing.  If I launch with cases as my default page I get a blank screen.  If I try to navigate to the cases section from another page the system just remains on the current page and won't switch to cases.  Sometimes I get the following error when navigating in the system 

    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>1</Line>
       <URL>/_static/_common/scripts/main.js?ver=960795723</URL>
       <PageURL>/main.aspx#376660391</PageURL>
       <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.value}var$v_1=null,$v_2="0";switch($p0.get_pageType()){case"entityrecord":var$v_3=IsNull($v_0.get_query()["id"]);if(!$v_3)$v_1="_E_"+$v_0.get_query()["etc"].toString()+$v_0.get_query()["id"].toString();else$v_1="_E_"+$v_0.get_query()["etc"].toString()+"_new";break;case"entitylist":$v_1="_G_"+$v_0.get_query()["etc"].toString()+"_";if("layout"in$v_0.get_query())$v_2=$v_0.get_query()["layout"].toString();$v_1+=$v_2;if("viewid"in$v_0.get_query())$v_1+=$v_0.get_query()["viewid"].toString();break;default:$v_1=$p0.toString();break}return$v_1}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; IPH 1.1.21.4019)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1422x800</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-04-06T21:02:36</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>4105</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{0742CA48-EF6E-DD11-BC90-0003FF344010}</OrgID>
        <UserID>{2027AE6C-EF6E-DD11-BC90-0003FF344010}</UserID>
        <CRMVersion>6.0.2.51</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=960795723</URL>
       <PageURL>/main.aspx#376660391</PageURL>
       <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.value}var$v_1=null,$v_2="0";switch($p0.get_pageType()){case"entityrecord":var$v_3=IsNull($v_0.get_query()["id"]);if(!$v_3)$v_1="_E_"+$v_0.get_query()["etc"].toString()+$v_0.get_query()["id"].toString();else$v_1="_E_"+$v_0.get_query()["etc"].toString()+"_new";break;case"entitylist":$v_1="_G_"+$v_0.get_query()["etc"].toString()+"_";if("layout"in$v_0.get_query())$v_2=$v_0.get_query()["layout"].toString();$v_1+=$v_2;if("viewid"in$v_0.get_query())$v_1+=$v_0.get_query()["viewid"].toString();break;default:$v_1=$p0.toString();break}return$v_1}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; IPH 1.1.21.4019)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1422x800</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-04-06T21:02:46</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>4105</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{0742CA48-EF6E-DD11-BC90-0003FF344010}</OrgID>
        <UserID>{2027AE6C-EF6E-DD11-BC90-0003FF344010}</UserID>
        <CRMVersion>6.0.2.51</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=960795723</URL>
       <PageURL>/main.aspx#376660391</PageURL>
       <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.value}var$v_1=null,$v_2="0";switch($p0.get_pageType()){case"entityrecord":var$v_3=IsNull($v_0.get_query()["id"]);if(!$v_3)$v_1="_E_"+$v_0.get_query()["etc"].toString()+$v_0.get_query()["id"].toString();else$v_1="_E_"+$v_0.get_query()["etc"].toString()+"_new";break;case"entitylist":$v_1="_G_"+$v_0.get_query()["etc"].toString()+"_";if("layout"in$v_0.get_query())$v_2=$v_0.get_query()["layout"].toString();$v_1+=$v_2;if("viewid"in$v_0.get_query())$v_1+=$v_0.get_query()["viewid"].toString();break;default:$v_1=$p0.toString();break}return$v_1}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; IPH 1.1.21.4019)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1422x800</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-04-06T21:02:50</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>4105</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{0742CA48-EF6E-DD11-BC90-0003FF344010}</OrgID>
        <UserID>{2027AE6C-EF6E-DD11-BC90-0003FF344010}</UserID>
        <CRMVersion>6.0.2.51</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=960795723</URL>
       <PageURL>/main.aspx#376660391</PageURL>
       <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=$p0.clone();$v_0.clearQuery();var$$dict_2=$p0.get_query();for(var$$key_3in$$dict_2){var$v_4={key:$$key_3,value:$$dict_2[$$key_3]};if($v_4.key==="extraqs")$v_0.appendToQuery($v_4.value.toString());else$v_0.get_query()[$v_4.key]=$v_4.value}var$v_1=null,$v_2="0";switch($p0.get_pageType()){case"entityrecord":var$v_3=IsNull($v_0.get_query()["id"]);if(!$v_3)$v_1="_E_"+$v_0.get_query()["etc"].toString()+$v_0.get_query()["id"].toString();else$v_1="_E_"+$v_0.get_query()["etc"].toString()+"_new";break;case"entitylist":$v_1="_G_"+$v_0.get_query()["etc"].toString()+"_";if("layout"in$v_0.get_query())$v_2=$v_0.get_query()["layout"].toString();$v_1+=$v_2;if("viewid"in$v_0.get_query())$v_1+=$v_0.get_query()["viewid"].toString();break;default:$v_1=$p0.toString();break}return$v_1}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; IPH 1.1.21.4019)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1422x800</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-04-06T21:06:24</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>4105</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{0742CA48-EF6E-DD11-BC90-0003FF344010}</OrgID>
        <UserID>{2027AE6C-EF6E-DD11-BC90-0003FF344010}</UserID>
        <CRMVersion>6.0.2.51</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    • Proposed as answer by Mixpin Monday, April 7, 2014 2:29 AM
    • Unproposed as answer by Mixpin Monday, April 7, 2014 2:30 AM
    Monday, April 7, 2014 1:05 AM
  • We were able to get it figured out on the following thread

    https://community.dynamics.com/crm/f/117/p/115109/266128.aspx#266128

    • Proposed as answer by Mixpin Monday, April 7, 2014 2:30 AM
    Monday, April 7, 2014 2:30 AM