Upgrade from Dynamics CRM On-Premise to 9.1 CRM On-Premise

Shaw, Kieran 0 Reputation points
2025-07-23T22:14:58.69+00:00

Recent upgrade of Dynamics CRM -On -Premise version 9.0.19.8 to 9.1.37 causes looping on certain forms. It appears to me that the issue might be Java Script related. I am looking for anyone that has had a similar issue post upgrade. No error or event is raised. Recovery is done by continuous clicking on the Top Menu or F5

Developer technologies | C#
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amjad Azward 305 Reputation points
    2025-07-24T00:46:09.6933333+00:00

    Yes, this is a known issue that can occur after upgrading from Dynamics CRM On-Premise 9.0.19.8 to 9.1.37. The form looping you're experiencing is likely caused by custom JavaScript code that is incompatible with changes introduced in version 9.1.

    Even though there are no visible errors, some legacy scripts that use deprecated APIs (like Xrm.Page) or trigger recursive events (like refresh, save, or triggering field changes programmatically) can cause the form to reload repeatedly.

    Here are a few steps that helped resolve this issue for others:

    Disable Custom JavaScript Temporarily: Remove JavaScript libraries from the affected form and test it. If the looping stops, it's likely due to custom script issues.

    Check for Deprecated Methods: CRM 9.1 enforces newer API usage. Replace outdated calls like Xrm.Page.data.entity.save() with the recommended formContext equivalents.

    Review Event Handlers: Ensure that onLoad, onSave, or onChange events are not calling each other or refreshing the form unnecessarily.

    Use Browser Dev Tools (F12): Open the Console tab to check for warnings or suppressed script errors. Sometimes non-breaking errors still affect form behavior.

    Clear CRM Server & Browser Cache: After an upgrade, cached scripts or metadata can cause strange behavior. Clear browser cache and perform an IIS reset if needed.


  2. Shaw, Kieran 0 Reputation points
    2025-07-24T14:10:22.86+00:00

    Thank you for responding, I will look into your recommendations and post results.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.