Views:

Applies to Product - Dynamics 365 Business Central

What’s happening?
Customers may encounter an error message stating "can't save right now, because the data is being updated in a transaction done by another session" when attempting to save changes in Dynamics 365 Business Central. Additionally, users may experience a "Microsoft.Dynamics.Framework.UI.FormNotFoundException" error in the web client, particularly when multiple active sessions are present.


Reason:
This are typically caused by: - Database lock situations where another session is updating the data, preventing the current session from saving changes. - A serialization error leading to the web client crash, often occurring when the web client is stuck in an upgrading state or when multiple web clients are active on the same URL.


Resolution:

  1. For Database Lock Issues:
  2. Wait for the other transaction to complete. This should release the lock and allow saving changes.
  3. Check the Database Locks functionality in Business Central to identify which session is causing the lock.
  4. Retry the operation after a short wait to see if the lock has been released.
  5. Review any related incident reports or tickets for similar issues.
  6. For Web Client Errors:
  7. Ensure that the web client is not stuck in an upgrading state. If it is, restart the upgrade process.
  8. If the issue persists, gather unfiltered NST Application Event Log and System Event Log for further investigation.
  9. Request video recordings of the sales order process if the issue can be reproduced, as this will aid in troubleshooting.
  10. If the error is not known to Microsoft, escalate the issue to the product group for further investigation.
  11. General Steps:
  12. Confirm that the issue can be reproduced in a sandbox environment without any custom extensions.
  13. If the issue is resolved, confirm with the customer and proceed with archiving the case. If not, keep the case open for further investigation.
If the above steps do not resolve the issue, or if additional information is required, please reach out to Microsoft Support for further assistance.