• • • •

North Central US Follow Us @Ch9 Subscribe to Channel 9 Sign In

Channel 9

Browse o Tags o Shows o Series o Blogs o Authors o Learn o Events Forums o Coffeehouse o Site Feedback o Tech Off Coding4Fun o Blog o Projects o Kinect o Articles o Show Events o BUILD o MIX o PDC o Tech·Ed o Speakers Learn Courses Microsoft SQL Server 2008 R2 Update for Developers Training Course SQL Server 2008 - Reporting Services Demo: SQL Server 2008 R2 Reporting Services Demo

• • • • •

Demo Flow
Demo Flow The following diagram illustrates the high-level flow for this demo and the steps involved:

Figure 16 Demo flow • • • • North Central US Follow Us @Ch9 Subscribe to Channel 9 Sign In Channel 9 • • Browse o Tags o Shows o Series o Blogs o Authors o Learn o Events Forums .

with the following features installed: o Database Engine o Reporting Services in Native Mode o Microsoft SQL Server Management Studio o Microsoft SQL Server Business Intelligence Development Studio SQL Server AdventureWorks2008R2 Sample Database Microsoft SQL Server 2008 R2 Reporting Services Samples (make sure to download the MSI installer or the ZIP version of the release for Microsoft SQL Server 2008 R2) Microsoft SQL Server 2008 R2 Report Builder 3.Reporting Services Demo: SQL Server 2008 R2 Reporting Services Demo Setup and Configuration Setup and Configuration System Requirements • • • • • • Microsoft SQL Server Express 2008 R2.• • Coffeehouse Site Feedback Tech Off Coding4Fun o Blog o Projects o Kinect o Articles o Show Events o BUILD o MIX o PDC o Tech·Ed o Speakers o o o • • • • • Learn Courses Microsoft SQL Server 2008 R2 Update for Developers Training Course SQL Server 2008 .0 Microsoft Visual Web Developer 2008 Express SP1 or Microsoft Visual Studio 2008 SP1 Any PDF Reader The setup and configuration for this demo involves the following tasks: • Task 1 – Running Configuration Wizard .

• • • • Task 2 – Configuring Report Server Task 3 – Configuring Basic Authentication in Reporting Services Task 4 – Deploying AdventureWorks Sample Reports Task 5 – Browsing the Reports Note: This demo is designed for the Express Edition of SQL Server 2008 R2. Figure 2 Dependencies check completed successfully 3. with an instance name of . a scan of prerequisites will be performed on your computer. some walkthrough steps might require further actions and URLs and code might need modifications. install them using the links provided by the tool and rescan your computer. and run the Setup.\SQLEXPRESS. Please adjust the instructions to match your environment where necessary. 2. This script will launch the Configuration Wizard for the demo. If this is not the case. 1. Click through the steps in the Configuration Wizard to get to the Detecting Required Software step. The Configuration Wizard is designed to check your computer to ensure that it is properly configured with all of the dependencies needed to run the demo. Task 1 – Running the Configuration Wizard The following steps describe how to run the Configuration Wizard tool included with the demo to verify that all the prerequisites are properly installed. Once the required software is properly installed click Next to configure your computer for this demo.cmd script. Browse to the setup folder in the Source folder of this demo. If you do not have the necessary dependencies. A script will be executed to deploy a custom style sheets into the reports server (you will be prompted to enter the Report Server instance .

make sure that your local report server instance (for example MSSQLSERVER) is selected and click Connect. Figure 3 Configuration Wizard tasks Task 2 – Configuring the Report Server 1. Open Reporting Services Configuration Manager from Start | All Programs | Microsoft SQL Server 2008 R2 | Configuration Tools. . In the “Connect to a report server instance” dialog box. Note: The Reporting Services Configuration tool is used to configure a Reporting Services installation. You can configure a local or remote report server instance as long as you are a member of the local administrator group on the report server computer.name) and another to create the server alias ('SQLServerTrainingKitAlias') used in this demo to establish a connection with the database. 2.

Note: The virtual directory name identifies which application receives the request. make sure that the Virtual Directory is set to ReportServer_%YourSqlServerInstanceName% (for example ReportServer for the SQL Server default instance) and that the TCP Port is set to 80. Because an IP address and port can be shared by multiple applications. the virtual directory name specifies which application receives the request. On the Web Service URL ( ) page. .Figure 4 Reporting Services Configuration Manager connection 3.

2. On the Database page( ). 5.4. make sure that: 1.). . Report Server Mode is set to Native. SQL Server Name points to your local SQL Server instance (for example localhost\. Figure 5 Web Service Configuration 6.

set the Server Name to point the local SQL Server instance (for example SQLExpress) and select Current User -Integrated Security for the Authentication Type.Figure 6 Database Configuration 7. 2. . Click Change Database to open the Report Server Database Configuration Wizard. In the Database Server page. 3. follow these steps: 1. If the Database Configuration values are not set as above. Click Create a new report server database and then Next.

Click Next. In the Database page. 5. . type ReportServer as the Database Name and click Native Mode for the Report Server Mode.Figure 7 Change Database Server Configuration 4.

7. select Service Credentials for the Authentication Type. Click Next to continue. In the Credentials page.Figure 8 Change Database Configuration 6. .

and finally Finish to complete the wizard. . Note: Use the Report Manager URL page to configure or modify the URL used to access Report Manager. By default.Figure 9 Change Database Configuration 8. and port of the Report Server Web service URL. On the Report Manager URL page ( ). Click Next. IP address. 8. This is because Report Manager provides front-end access to the Web service that runs within the same Report Server service. make sure that the Virtual Directory is set to ReportServer_%YourSqlServerInstanceName% (for example ReportServer for the SQL Server default instance). the Report Manager URL inherits the prefix.

3. Task 3 – Deploying the AdventureWorks Sample Reports 1. Click the File menu. browse to Samples\Reporting Services\Report Samples\AdventureWorks 2008R2 Sample Reports in the folder where you extracted the files instead of the folder specified above. Click Exit to close the Configuration Manager. Figure 10 Database Configuration Note: If you see a warning message saying: The Report Manager virtual directory is not configured.sln and click Open. Note: If you are using the ZIP version of the Reporting Services Samples.9. Browse to %ProgramFiles%\Microsoft SQL Server\100\Samples\Reporting Services\Report Samples\AdventureWorks 2008R2 Sample Reports. select the file AdventureWorks 2008 Sample Reports. point to Open and then click Project/Solution. 2. 11. . 10. click Apply to create it and configure it. Open Business Intelligence Development Studio from Start | All Programs | Microsoft SQL Server 2008 R2 with administrative privileges.

.4. select Release in the Solution Configurations (the default configuration is Debug). On the Visual Studio toolbar. Figure 11 AdventureWorks2008 Sample Reports in Business intelligence Development Studio 6. 5.

8. Click OK. modify the Connection String to use the SqlServerTrainingKitAlias server alias. double-click AdventureWorks2008R2. 10. Right-click the AdventureWorks 2008R2 project and select Properties. 11. On the General tab.rds to open the Adventure Works Data Source Properties. configure the General properties as follows: 1. Set OverwriteDataSources to True 2. Under the General page. Set TargetReportFolder to AW2008SampleReports 3.Figure 12 Release Configuration 7. In Solution Explorer. Initial . under the Shared Data Sources folder. Set TargetServerURL to http://<servername>/reportserver Figure 13 Project Configuration 9. 1Catalog=AdventureWorks2008R2 Data Source=SqlServerTrainingKitAlias.

Browse the Report Manager at http://localhost/reports. type the Report Manager URL in a browser window.12. 15. You should see all AdventureWorks2008 Sample Reports. . 2. 13. You can use any supported Web browser to view a report through a direct connection to a report server. click Deploy AdventureWorks 2008R2. the reports are published to the report server. Every report has a URL address on a report server. You can use that address to open it in a new browser window independently. To open Report Manager. click the AW2008SampleReports folder. Click OK. On the Build menu. Figure 14 Data Source Configuration 14. It is part of a report server installation. 3. Note: Report Manager is a Web-based tool that includes features for viewing and managing reports. Task 4 – Browsing the Reports in the Report Manager 1. Open Internet Explorer with administrator privileges. Note: It is important to run the Web browser as administrator otherwise. you will not be able to browse the reports. Note: When you deploy the solution. In the Home page.

4. Figure 15 AdventureWorks2008 Sample Reports in Report Manager Lesson Contents • • • • • • Overview Setup and Configuration o Task 1 – Running the Configuration Wizard o Task 2 – Configuring the Report Server o Task 3 – Deploying the AdventureWorks Sample Reports o Task 4 – Browsing the Reports in the Report Manager Demo Flow Opening Statement Step-by-Step Walkthrough Summary . 5.

Sign up to vote on this title
UsefulNot useful