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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Run directly without error, but error is found while debuging

(2) ShareShare
ReportReport
Posted on by 57
Hi exports,
 
I am facing a strange issue. In D365, the compilation is completed successfully. It works fine (no error) with the incorrect result. So I try to debug to find the issue. However, the error is thrown out while debugger is attached.
Can anyone give me some advice? Thanks.
 
The debugger is attached, and error is found, saying that update must within TTS. (In fact, the record is actually select forupdate and in TTS).
Notice that the new LOT is empty.
 
But when running without debugger, the new LOT is generated and records are updated with the same code.
 
 
Categories:
I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    Hi,
     
    What type of development environment are you using? In case this is a new UDE development environment, did you deploy the models to the online environment after the successful build?
  • YQ-12070237-0 Profile Picture
    57 on at
    Hi Andre,
     
    I am using VS Professional 2019, and it is updated to latested version(16.11.45). This function is published to prod environment and running without any error.
  • Verified answer
    YQ-12070237-0 Profile Picture
    57 on at
    Case closed by rebuiling solution.

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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans