Sunday, August 14, 2011

how to deal with the error: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Solution:


  • The solution targets the x86 platform;
  • I managed to launch without errors the application on **Windows Server 2008 (x64) and on Windows 7 (x64);

2 comments:

  1. Replies
    1. As I a addressed, my program is depended on the 64-bit dll, after I re-compile and re-run on x64 machine, the problem is solve.

      Delete