web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

On any Quick Create "An error has occurred. Please return to the home page and try again."

(0) ShareShare
ReportReport
Posted on by

Any Quick Create in our CRM system throws not very helpful error. "An error has occurred. Please return to the home page and try again."  
For example... when quick creating a contact: 

7824.Capture.PNG

The following error message is displayed:
5187.Capture2.PNG

I did find this in the developer browser console though:

7633.Capture3.PNG

"SCRIPT5007: Unable to get property 'handleEvent' of undefined or null reference MicrosoftAjax.js (3014,9)"

Why is this random error happening?

A few things to note:

  • I turned on the trace log but did not find anything.
  • The contact or whatever quick create item is still created but the menu doesn't work unless you refresh the page.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    Check is there any JavaScript is using on your quick create form.

    If yes, disable them and try again.

    if the error is gone, you have to check your javascript code.

    Thanks

  • Community Member Profile Picture
    on at

    Dear masterprogrammer200

    This might seem like a long shot but is it possible that your forms contain DOM manipulation.

    I once had similar issues at a customer that diminished after getting rid of all the DOM manipulation code.

    Kind Regards

    Giani Noyez

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Can you check if you can open the quick create from any other entity? If yes, then quick create is fine and you need to look into the parent entity where it is not working.

    Most likely some unsupported JavaScript causing this issue. Disable the java script and see if it helps.

  • Community Member Profile Picture
    on at

    Thank you for your reply Wei Jie Fun. My Quick Create contact form does not have any items listed in its form libraries or event handles. Neither in Form OnLoad or OnSave. There are no customer JS web resources on the Quick Create Contact Form. 
    3247.Capture.PNG

  • Community Member Profile Picture
    on at

    Thank you for your reply Giani Noyez . As I mentioned to Wei Jie Fun, there are no Web Resources on my Quick Create Contact Form so therefore no DOM manipulation. 

  • Community Member Profile Picture
    on at

    Thank you for your reply Ravi Kashyap. It does not matter which page I am on, for example settings, I get the same error from the quick create of contact. It also does not matter which entity I try and qucik create, for example the quick create of a company and contact both throw the error.

  • Verified answer
    Community Member Profile Picture
    on at

    Fixed the problem. When I debugged the issue in edge I got the following error: Mscrm.TurboForm.Control.ValidationResult.getIsSaveCanceled()

    I found what JS file initialized Mscrm.TurboForm.ValidationResult. It ended up being in C:\CRM_2016_DATA\Microsoft Dynamics CRM\CRMWeb\_static\form

    formcontrols.js file was out of date so I simply updated it with the most recent version and the quick create works now.

  • z.sam Profile Picture
    299 on at

    Hi,

    I'm using Dynamics 365 CE v9, and I'm getting the same Error, without running any JavaScript neither on parent nor child.

    Regards

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#2
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans