Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Form.RunModal() is not allowed in write transactions.

(1) ShareShare
ReportReport
Posted on by 7

Hi there,

I’m encountering an error when clicking on the report’s name in the global search. This issue happens with both custom and OOB reports.

 

Thanks 

Dinesh

 

  • CN-21011927-0 Profile Picture
    CN-21011927-0 3 on at
    Form.RunModal() is not allowed in write transactions.
    I ran into this yesterday with a client. MS updated to 25.2 the night before, and the following morning, Warehouse Shipments couldn't post, and Warehouse Picks couldn't be created. No extensions had been installed for several months.

    I copied the production environment to a new sandbox and uninstalled all extensions. The error went away. I reinstalled one-by-one until I found the culprit. The client had a simple extension installed a year ago that would change the Posting Date of a Warehouse Shipment to the current work date when the page was opened. Something in 25.2 must have changed when a database commit occurs.
     
    Hope this helps.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,919 Super User 2025 Season 1 on at
  • YUN ZHU Profile Picture
    YUN ZHU 77,147 Super User 2025 Season 1 on at
    Form.RunModal() is not allowed in write transactions.
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 13,896 Super User 2025 Season 1 on at
    Form.RunModal() is not allowed in write transactions.
     
    Can you please share with us the code ?
     
    Best regards,
    Mohamed Amine MAHMOUDI

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans