locked
jquery undefined error in outlook client only after UR18 installed crm 2011 RRS feed

  • Question

  • I have got a bizzare situation where I am getting a 'jquery undefined' error when users select the quote associated view record from an opportunity from nav bar items. The error only occurs in the outlook client and not in a web browser as well. I have checked the order of the jquery (1st from top) and json libraries (2nd from top) on the forms for both entities and they are set correctly. I have no idea how to resolve. Please help. Thanks.
    Monday, June 22, 2015 3:31 PM

All replies

  • Without more information on the error, here are a few items you can check.

    Check if there is a new version of jquery, there was a change (this was after 2011 and 2015 upgrade, but might be relevant for rollups) that caused script problems.

    Check if the outlook client has UR18 also.
    Check which browser is set as default for the users having this problem.

    Run the Diagnostics program that comes with the Outlook client and turn on Tracing.
    Replicate the error.
    Turn off tracing
    Find the tracelog under [OS Disk]\Users\[Username]\AppData\Local\Microsoft\MSCRM\Tracing\

    Check there if you get a more describing error message.


    Halldór Jóhannsson

    Monday, June 22, 2015 3:43 PM
  • The specific error is below. UR 18 is also installed on the client. I have also tried updating the jQuery to version 1.11.3.1 to no avail. The trace files didn't reveal anything specific to the error.

    Microsoft Dynamics CRM Error Report Contents

    <CrmScriptErrorReport>

      <ReportVersion>1.0</ReportVersion>

      <ScriptErrorDetails>

       <Message>'jQuery' is undefined</Message>

       <Line>2424</Line>

       <URL>/main.aspx?etc=3&extraqs=%3fetc%3d3%26id%3d%257b74A27D2D-6909-E311-BF41-005056BB662E%257d%26pagemode%3diframe%26preloadcache%3d1435048310743&pagetype=entityrecord</URL>

       <PageURL>/main.aspx?etc=3&extraqs=%3fetc%3d3%26id%3d%257b74A27D2D-6909-E311-BF41-005056BB662E%257d%26pagemode%3diframe%26preloadcache%3d1435048310743&pagetype=entityrecord</PageURL>

       <Function></Function>

       <CallStack>

       </CallStack>

      </ScriptErrorDetails>

      <ClientInformation>

       <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)</BrowserUserAgent>

       <BrowserLanguage>en-us</BrowserLanguage>

       <SystemLanguage>en-gb</SystemLanguage>

       <UserLanguage>en-gb</UserLanguage>

       <ScreenResolution>1280x1024</ScreenResolution>

       <ClientName>Outlook Laptop - Online</ClientName>

       <ClientTime>2015-06-23T09:32:01</ClientTime>

      </ClientInformation>

      <ServerInformation>

        <OrgLanguage>1033</OrgLanguage>

        <OrgCulture>2057</OrgCulture>

        <UserLanguage>1033</UserLanguage>

        <UserCulture>2057</UserCulture>

        <OrgID>{BD9F2950-B6EE-E211-B2E8-005056BB662E}</OrgID>

        <UserID>{8B5B022A-74DA-E211-9DD1-005056BB662E}</UserID>

        <CRMVersion>5.0.9690.4376</CRMVersion>

      </ServerInformation>

    </CrmScriptErrorReport>

    Tuesday, June 23, 2015 4:50 PM
  • Hmm, is this happening for everyone? (if not try clearing the CRM cache (Diagnostic program) and IE cache (IE) on the clients having the problem)

    See if you can debug yourself through the problem using the browser dev tools (F12)

    If all else fails, you can try working your way into finding the problem by disabling all the javascripts for the form and turn them on 1 by 1 to see which one is causing the problem, then use the browser dev tools to set some break points and work your way through the code until something breaks. If the code breaks before the breakpoints then the problem is in some global definition somewhere before the function in called.


    Halldór Jóhannsson

    Tuesday, June 23, 2015 5:20 PM
  • Yes I previously disabled all the Javascripts but was still getting the same error. I can't get the dev tools/F12 to work on the outlook forms as the error is not detected in IE. Debugging in IE doesn't work. Is there a way to use Dev Tools in Outlook?
    Wednesday, June 24, 2015 4:47 PM
  • Sorry I just noticed that you mentioned that it was not happening in the browser so that means the browser dev tools won´t work, they only work when you have opened something outside of the outlook client via the web browser.

    I have to admit I am at a loss here, did you try and clear all cached data and stuff like that?

    You might have to contact Microsoft with this.


    Halldór Jóhannsson

    Wednesday, June 24, 2015 5:39 PM