Share via


ReportDocument Binding Scenarios that Use Crystal Services (VS.NET 2002 and 2003)

Crystal Services provides convenient access reports in Visual Studio 2002 and 2003. This feature is not available in Crystal Reports for Visual Studio 2005. When Crystal Reports and Crystal Services are both installed, Crystal Services appears as a sub node beneath each server within the Servers node of Server Explorer. The Crystal Services node expands to display lists of reports from various locations:

  • The local file directory on your hard drive.
  • Report Application Server (RAS)
  • Crystal Enterprise (CE)

You can drag and drop any report from these lists onto a Web or Windows form.

Crystal Services typically exposes two sub nodes that may be expandable, depending on the version of Crystal Reports that you have currently installed, and on any additional licensing that you may have for Report Application Server (RAS) or Crystal Enterprise. The table that is within the next section below describes the requirements to access a particular node.

Wrapper classes

When you drag a report from Crystal Services onto a Web or Windows Form, this creates a wrapper class instance that references the report in the Web or Windows Form Generated Code region of the code-behind class.

Note

The wrapper class type varies across versions of Crystal Reports. See the table below.

The Crystal Services listed in the table below expose ReportDocument wrapper class types.

These two Crystal Services ship with Crystal Reports 10. They expose groups of reports that are served from an unmanaged RAS server or a managed RAS server (see Report Application Server (RAS)). The wrapper class has been changed (since Crystal Reports 9) to ReportDocument.

Wrapper class exposed through Crystal Services
Node name under Crystal Services
Crystal Reports versions
Description
What is required to access this node?
ReportDocument
Report Application Server
Crystal Reports 10
Exposes reports from a RAS server loaded into ReportDocument. For more information, see Binding to Report Application Server (Crystal Reports 10 and up).
Install an unmanaged RAS server.
ReportDocument
Crystal Enterprise
Crystal Reports 10
Exposes reports from the managed RAS server, which is loaded into ReportDocument. For more information, see Binding to Crystal Enterprise (Crystal Reports 10 and up).
Install Crystal Enterprise.

Earlier versions of Crystal Services expose wrapper class types that do not use the ReportDocument object model. Therefore they depend upon the limited object model provided with the CrystalReportViewer control. For more information, see CrystalReportViewer Binding Scenarios that Use Crystal Services.

In this section: