cancel
Showing results for 
Search instead for 
Did you mean: 

.NET (C#) Crystal Reports Collection was Modified on retrieval of ReportDefinition *Area

michiel16
Member
0 Kudos

Running CR 13.0.27.3480 on Windows 10 X64 1909 with all the latest patches, but this one has been around for a long time.

We occasionally get an exception, it appears that there is a missing lock/semaphore statement somewhere within the "DisposeHashTableValues" function.

at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportClientDocument()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ClearCache(Boolean clearDocument)
at CrystalDecisions.CrystalReports.Engine.EngineObjectFactory.Dispose()
at CrystalDecisions.CrystalReports.Engine.EngineObjectFactory.DisposeHashTableValues(Hashtable table)
at System.Collections.Hashtable.HashtableEnumerator.MoveNext()

This happens when we try to do something like "area = report.ReportClientDocument.ReportDefController.ReportDefinition.DetailArea"

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Michiel,

Can you explain the work flow when this happens?

How often does it happen?

Any Report or specific ones?

On the download WIKI page there is a Parameter test app with a drop down box to get various parts of the report.

Getting the Paper Orientation per section uses a similar function.

Don

Answers (0)