An Introduction to Sql Server Reporting Services I...

Sql Server reporting services provides the means to design, author, render and deploy business reports via the web.


By: Chris Sully Date: February 19, 2005

Introduction

SQL Server reporting services (subsequently SRS) provides the means to design, author, render and deploy business reports via the web. In this series of articles we shall look at what SRS offers via a consideration of the following areas:

We'll commence the treatment of the above topics with an overview of SRS.

Background

SRS integrates tightly with Microsoft's .NET technologies whilst at the same time providing interoperability with other platforms through the product’s use of Web services. SRS was originally intended to ship with the Yukon release of SQL Server, now called Microsoft SQL Server 2005. However, customer demand and feedback indicated an early SQL Server 2000 release was warranted.

The process of designing reports hasn’t changed substantially for 15 years. The report designer lays out report objects, which are subsequently populated with data from a data source, in a design application such as Crystal Reports or Microsoft Access. He or she then tests report execution and then distributes the report on to those who need access to it. SRS is largely the same. The key differences to be aware of however, are:

.NET developers have the added advantage that the report designer for SRS is a plugin to the VS.NET IDE.

Architecture

The main tiers of the SRS architecture are:

The data source for the reporting solution can in fact be any supported data provider, e.g. LDAP, Oracle or Analysis Services as well as SQL server itself.

Note that it is possible but is'’t recommended to configure a single server to be the SRS web and database server as well as the data source server, unless there is a small user base. We'll look at performance in later articles.

The Report Server itself exposes the programming interface which is accessible via SOAP, HTTP and WMI). Behind the scenes are the:

With these items communicating with both the Report Server databases (ReportServer and ReportServerTempDB) and the actual data source for the reports as and when required.

SRS also includes a number of client applications that use the SRS programming interface, namely the Web service APIs and URL access methods to provide tools for users and developers to access SRS reports and report objects. These tools provide management, configuration and report rendering functionality. These are:

SRS Report Server

The SRS report server comprises both the SRS web service and the ReportServer windows service and is central to SRS. It handles every client request, either to render a report or to perform a management request. The report server functionality can be sub-divided as follows:

SRS Databases

Two databases are created as part of the SRS installation: ReportServer and ReportServerTempDB. ReportServer stores all the data relating to reports, report objects and report parameters as well as folder hierarchy and report execution log information. ReportServerTempDB’s main purpose is to store cached copies of reports that you can use to increase performance. Additionally, the RSExecutionLog database can be added after the initial installation. This database stores additional logging information.

Installation

Installation should be painless and can be done via Setup or the command line. If using the developer edition as opposed to the standard edition you will have the additional option of connecting to an existing SRS database, thus allowing the installation to join a web farm of other such servers.

For the minimum installation requirements for SRS see:

http://www.microsoft.com/sql/reporting/productinfo/sysreqs.asp

You should use the edition of SQL Server 2000 that corresponds with the edition of Reporting Services you will be running. Note that Windows XP Professional and Windows 2000 Professional only support Reporting Services Developer Edition.

Summary

This first article in the series has provided an overview of SRS. In the next article we'll actually start using the tool, looking at report authoring.

References

Pro SQL Server Reporting Services
Landrum and Voytek
Apress

www.microsoft.com/sql/reporting/default.asp