SAP Knowledge Base Article - Public

1218482 - Error: "Failed to Open Report" in .NET using 'ICachedReport' interface

Symptom

A Microsoft Visual Studio .NET web application uses the Crystal Reports 10 for .NET SDK as the reporting development tool. The application uses the 'ICachedReport' interface to open and cache reports. After several reports are cached, when attempting to open more reports, the following error message appears:

"Failed to Open Report".

Cause

The issue has been identified and tracked under ID ADAPT00381655.

Resolution

The intent of the 'ICachedReport' interface is to share a small number of large reports (reports that take a long time to process) among a large number of users that view the report with the same data. Caching a large number of reports using the 'ICachedReport' interface is not recommended.

The following are some general guidelines for usage of the 'ICachedReport' interface:

  • Reduce the timeout value of the cached reports. More reports can be opened again after the cached reports expire.
  • Do not cache more reports than the default maximum allowed number (75) of print jobs set in the registry.
  • Do not cache a number of reports that will exceed 60% of available physical RAM on the computer.

See Also

For more information on using the 'ICachedReport' interface, please refer to Note 1218912

Keywords

DOT NET DOTNET ICACHEDREPORT CSHARP C SHARP # CACHEING SHARING SHARED C2017682 Crystal Reports for Visual Studio ICachedReport interface Error message appears , c2017422 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed

Product

SAP Crystal Reports 10.0