1588984 - How to detect number of CPLs being used by the Crystal Reports engine in a VS .NET application?

SAP Knowledge Base Article - Public

1588984 - How to detect number of CPLs being used by the Crystal Reports engine in a VS .NET application?

Symptom

  • The Crystal Reports runtime engine is limited to three Concurrent Processor Licenses (CPL)
  • This is by design
  • How to determine number of CPL being used at any one time?

Environment

  • Crystal Reports 2008 (v. 12.x)
  • CRVS2010 (v. 13.x)

Resolution

  • Check the Event Viewer
  • Use the following code where "i" returns the number of Report being processed:

int i = CrystalDecisions.CrystalReports.Engine.ReportDocument.GetConcurrentUsage();

See Also

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio