Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

XRMServiceToolKit causes the code to break in Dynamics CRM 2016.

$
0
0

I recenty did an in-place upgrade from Dynamics CRM 2015 to Dynamics CRM 2016.

For the most part the transition has been smooth except for places where I've used XRMServieToolKit to make Soap calls in the JavaScript.

My form_load event has a couple of these XRMService Calls, due to which the form renders with an "Error on page".

I've changed the version of XRMServicetoolkit.js to version 2.2.1 , the error still persists.

There is one observation, I get this error on an IE browser version 11.0.9
However, if I use an IE browser ( version 11.445.14393) via the EDGE browser, I do not get the "Error on Page" exception.
Unfortunately the business has to stick to the IE version 11.0.9 for the time being.

I've run out ideas to try.  Any help would be much appreciated.

I get the following exception through the IE Browser. Hope this helps.

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>Type mismatch</Message>
   <Line>27700</Line>
   <URL>/_common/global.ashx?ver=-1373084060</URL>
   <PageURL>/form/page.aspx?lcid=1033&themeId=f499443d-2082-4938-8842-e7ee62de9a23&tstamp=24263203&updateTimeStamp=636150833006663551&userts=131242427567042524&ver=-1373084060#etc=3&extraqs=%3fetc%3d3%26id%3d0290a**************0611e7c7fde9&pagemode=iframe&pagetype=entityrecord&counter=1479770707163</PageURL>
   <Function>anonymousr:Typemismatch</Function>
   <FunctionRaw>TypeError: Type mismatch</FunctionRaw>
   <CallStack>
    <Function>anonymousr:Typemismatch</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.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; rv:11.0) like Gecko</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>en-US</SystemLanguage>
   <UserLanguage>en-US</UserLanguage>
   <ScreenResolution>1920x1200</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClienState>Online</ClienState>
   <ClientTime>2016-11-22T10:25:22</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>3081</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>3081</UserCulture>
    <OrgID>{*******************}</OrgID>
    <UserID>{******************}</UserID>
    <CRMVersion>8.0.0.1094</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport

Exceptions Visbile through IE Browser


"TypeError: Type mismatch\n   at Mscrm.Proxies.PresenceControlProxy.prototype.getStatus (https://crm.******.com/_common/global.ashx?ver=-1373084060:27700:647587)\n   at Mscrm.TurboForm.Control.ViewModel.LookupViewModel.prototype.$HM_5 (https://crm.******.com/_static/form/formcontrols.js?ver=-1373084060:14449:13)\n   at Anonymous function (https://crm.******.com/_common/global.ashx?ver=-1373084060:5:298)\n   at Anonymous function (https://crm.******.com/_common/global.ashx?ver=-1373084060:27700:650444)\n   at Anonymous function (https://crm.******.com/_common/global.ashx?ver=-1373084060:27700:764186)"

Kind Regards,

Ben Salins


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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