Skip to Content
0
Nov 17, 2021 at 01:21 PM

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory.

181 Views

Hi,

I sometimes get an error using the Visual Studio tools when parsing RPT's. The error seems somewhat random.

Here's the trace. Do you have any ideas what may cause it? It always seems to come on get_FormulaForm().

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at CrystalDecisions.ReportAppServer.DataDefModel.GroupNameFieldClass.get_FormulaForm()

at CrystalDecisions.CrystalReports.Engine.GroupNameFieldDefinition.get_FormulaName()