Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
81
Добавлен:
11.05.2015
Размер:
2.11 Mб
Скачать

The Page Server and the Image Server

The Web Reports Server package includes three components: the Web Reports Server web server extension, the Seagate Crystal Web Page Server, and the Seagate Crystal Web Image Server. Most administration tasks relate primarily to the Web Reports Server extension (CRWEB.DLL or CRWEB.EXE). However, the Page Server and Image Server must be running on the web server system for the Web Reports Server to correctly generate and deliver reports.

The Page Server and Image Server can run as simple applications (processes) or, on Windows NT systems, can run as NT services. If you are using an NT system as your web server, you should consider using the Page Server and Image Server as NT services (note that if you select this option during installation the Crystal Web Image Server, and Crystal Web Page server are installed, by default, as system services).

To run the applications as simple executables, locate the CRPGSVR.EXE and CRIMGSVR.EXE applications in the \Program Files\Seagate Software\Crystal Reports directory (or the directory in which you installed Seagate Crystal Reports). Double-click these applications to start them running, or right-click each and select the Open command from the menu that appears.

To run the applications as NT services, see the section Configuring NT Services, Page 11.

Smart Navigation

Smart Navigation, a feature of several of the Crystal Smart Viewers, presents your users with a tree control much like the tree control in Windows Explorer. The Web Reports Server dynamically analyzes a report when it is first requested, then populates the tree control with branches for each group in the report.

Once displayed in your browser, the Smart Navigation Group Tree works like the Group Tree in the Seagate Crystal Reports Preview Tab. Simply expand and collapse branches in the Group Tree to find the section of the report you are most interested in. Click a branch to quickly jump to that part of the report.

Web administrators can control access to Smart Navigation and the Group Tree by setting the Display Group Tree check box in the Smart Viewer options list box of the Report Viewing Tab, Page 23 in the Web Reports Server Configuration utility. The Configuration utility also allows you to control the maximum number of groups that are read and added to the Group Tree.

If you choose to allow users to make use of the Smart Navigation Group Tree, keep in mind that generating the Group Tree forces the Web Reports Server to make an extra pass across the report, gathering group information and generating the Group Tree. This extra step in generating a report can tie up system resources and cause extensive delays in returning report data to the user, depending on the size of the report and how deep the grouping is. Consider the information your users need before deciding if Smart Navigation is right for your web site.

GROUP BY (Server Side Processing)

If your reports contain server-side processing of SQL GROUP BY statements, the Smart Navigation Group Tree will be affected when reports are displayed through the Web Reports Server. In such cases, only summary information is returned to the client. Detail records are evaluated by the SQL server and grouping and summary values are calculated then sent to the client without the detail records.

Crystal Web Report Server

26

Although this method greatly reduces the amount of data sent across the network, it also affects the Group Tree. Group names are listed in the Group Tree as they normally would be. However, if you expand a group in the Group Tree, the detail information will not be available. The server sent only the group summaries to the client. Instead, a magnifying glass will appear beneath the group name in the Group Tree indicating that detail data can be retrieved.

If the magnifying glass is clicked by the user, the Web reports Server will retrieve the detail data for that group and display detail groups or record names beneath the original group name. This process, however, requires querying the database. Keep in mind the time and resource requirements of such actions and design your reports and web site appropriately.

Drilling Down on Data

A feature unique to the Crystal Web Reports Server is the ability to perform drill-down analysis on report data - to view the details hidden behind subtotals and summary values. Users can click or double-click on summary values that allow drill-down in order to display the detail values on a separate page inside a web browser or Crystal Smart Viewer. A simple summary report comprising only a few lines can be expanded to show all of the data used to derive the summaries.

As a web administrator, you can minimize hits on the database server by designing brief summary reports that allow selective drill-downs on Group By reports. Calculation of additional data is limited to specific user requests. For example, if a report contains 10 groups, and each group contains 10 detail values, a report designed to display all values immediately will require obtaining or generating 110 pieces of data, 10 x 10 detail values plus the 10 summary values. However, if the report is designed as a drill-down report, and only the summary values appear when the report is first generated, only 10 values must be sent to the client initially. If the client chooses to drill-down on two groups, 20 more values are retrieved from the database, for a total of 30 values used by the client. This difference, 30 vs. 110, shows how network and database resources can be drastically reduced simply by designing a drill-down report for distribution.

Database Location

When moving report files to a web server, be aware of changes in database location. If a report is created on one machine, then moved to the Web Reports Server machine, the relative location of the database information used to create the report may change.

Installing the full Seagate Crystal reports package on your Web Reports Server system can often simplify report troubleshooting. By opening a report directly in the Report Designer, you can quickly determine the source of any problems accessing report data. For information on installation of the Web Reports Server, see

Installing the Web Reports Server, Page 9.

Running Page Server and Image server as NT services with Domain Admin privileges allows the database to be stored across the network and still be accessible.

Crystal Web Report Server

27

Соседние файлы в папке crystal