Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

jQueryAjax error preventing some records loading on on-premise 2016

Posted on by 58

Anyone seen a jQueryAjax undefined reference error in the browser?   It's stopping a number of records from loading up on their entity form.  (The screen remains on the "Loading Business Logic" spinner.)

This is an on-premise 2016 (not sure which update version) that was upgraded from a 2015 org.  

It's currently happening with some Case entity records and with some records for a custom entity.

So far we/the client has tried removing scripts, disabling workflows, disabling business rules, disabling business process flows, creating a new form, and enabling legacy rendering (which apparently allows the form-load to get a little further but still hits the error).   

Will raise with Microsoft but if anyone's hit and fixed or determined the cause of this, please let me know! Stack trace info (anonymised) below...

Thanks,

Mike.

   ReferenceError: 'jQueryAjax' is undefined
   at Microsoft.Crm.Client.Core.Imported.DeferredPromiseHelper.when (crm-dev.some-companys-domain.com/.../global.ashx)
   at ProcessControl.Reflow.DefaultPathManager.prototype.initializeComplete (crm-dev.some-companys-domain.com/.../JsProvider.ashx;ver=-411857949:13599:13)
   at ProcessControl.ViewModels.ProcessControlViewModel.prototype.$6m_0 (crm-dev.some-companys-domain.com/.../JsProvider.ashx;ver=-411857949:16138:9)
   at ProcessControl.Services.ProcessControlInitializer.prototype.render (crm-dev.some-companys-domain.com/.../JsProvider.ashx;ver=-411857949:15563:13)
   at Mscrm.RefreshPageHandler.prototype.$45_3 (crm-dev.some-companys-domain.com/.../JsProvider.ashx;ver=-411857949:2:126854)
   at Mscrm.RefreshPageHandler.prototype.staticScriptsLoadedCallback (crm-dev.some-companys-domain.com/.../JsProvider.ashx;ver=-411857949:2:114502)
   at Anonymous function (crm-dev.some-companys-domain.com/.../JsProvider.ashx;ver=-411857949:2:114329)
   at notifyOnAllScriptsLoaded (crm-dev.some-companys-domain.com/.../PageLoader.js)
   at Anonymous function (crm-dev.some-companys-domain.com/.../PageLoader.js)"

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: jQueryAjax error preventing some records loading on on-premise 2016

    We are also seeing this issue when opening some contact records in CRM 2016 OnPrem (version 8.1.1.1005).

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: jQueryAjax error preventing some records loading on on-premise 2016

    Hello,

    We're getting the same error. I can't imagine the problem being with jQuery itself. Can anyone suggest any fixes?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: jQueryAjax error preventing some records loading on on-premise 2016

    Hi,

    Thank you for a quick answer :)

    In pages that have this problem only one jQuery is attached, the 2.1.1. version, we didn't add it as a part of our customizations, it's a part of CRM.

    The problem is with method: Microsoft.Crm.Client.Core.Imported.DeferredPromiseHelper.when that references 'jQueryAjax' that is undefined and is nowhere to be found in any code or on internet.

    The reason good pages work is that this problematic method is never called.

  • Suggested answer
    sandeepstw Profile Picture
    sandeepstw 4,601 on at
    RE: jQueryAjax error preventing some records loading on on-premise 2016

    Hi,

    It looks like js conflict. If you have done any kind of customization, you can fix conflict using this link:

    ranjeet-dynamicscrm.blogspot.in/.../jquery-questions-and-answers-for.html

    If error is coming with any customization you can contact Microsoft for support.

    Thanks,

    Sandeep

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: jQueryAjax error preventing some records loading on on-premise 2016

    Hi,

    Have you ever solved your problem, we have the some problem. In our case it happens on Lead entity.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans