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

Announcements

No record found.

News and Announcements icon
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
    238,846 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
    238,846 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
    238,846 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 470

#3
Adis Profile Picture

Adis 270 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans