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, ...
Unanswered

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

(0) ShareShare
ReportReport
Posted on by 55

Hello 


I have issue when updating worker information, the screen freeze and roll back the changes after debug the code I found this issue on dirpartytable.

we are using D365FO.

0458.community.png
blocking-transactions.png

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    Do you get any error if you run the code without debugging?

    Most cases when I saw this error where related to the debugger, not to the actual code.

  • yousefsuli Profile Picture
    55 on at

    If I run without debugging when updating worker profile like name and press the save button system freeze for a couple of minutes, then refresh the application and roll back my change.

  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    All right, so you indeed doesn't get AccessViolationException in that case.

    Try if rebuilding the model doesn't solve the problem with debugging. You can also check blocking in SQL Server; it could be the cause.

  • yousefsuli Profile Picture
    55 on at

    I did a full build the freezing issue still exists, and I checked the blocking transactions on SQL Server but there's no data. goshoom  do you have any other suggestion?

  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    Try putting the breakpoint at a different place. You could also try a different web server (IIS instead of IISExpress or vice versa) or a different version of Visual Studio.

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans