I am getting the error "Attempted to read or write protected memory.." on print button click of the Crystal Report Viewer. This error is random and sometimes the report prints without any errors. Sometimes it gives error as "Handle is invalid". I have tried 2-3 solutions provided on internet like un-checking the "Suppress JIT optimization.."option , but nothing has worked for me. Please help!! (Other details : Crystal Reports 2011, Crystal Reports for VS2010 version 13.0.2, C# 2010 winforms application)
I faced this problem on Windows7 64-bit only, and the Windows6.1-KB2695321-v2-x64
hotfix solved the problem.
I used Windows Hotfix Downloader to download the hotfix.
I hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With