Skip to Content
0
Former Member
Feb 10, 2011 at 09:21 PM

Attempted to read or write protected memory error on reportdocument.load

151 Views

Reportdocument.load causes "System.AccessViolationException: Attempted to read or write protected memory" error.

The error is not consistent. Sometimes a report will print. Sometimes a report will error.

I am at a loss as to what to try.

I have uninstall the app, reinstalled the app, uninstall and reinstalled .NET frameworks, Visual C++ runtime, etc.,

reworked the code to try to capture the error. Nothing helps. Application crashes with Unhandled exception.

Attempted to read or write to protected memory.

Has anyone been able to resolve this issue?