+ All Categories
Home > Documents > SSRS Config

SSRS Config

Date post: 04-Apr-2018
Category:
Upload: venkata-srii
View: 225 times
Download: 1 times
Share this document with a friend
16
 North C entral 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 - Report ing Service s Demo: SQL Server 2008 R2 Report ing Services Demo Demo Flow Demo Flow The following diagram illustrates the high-level flow for this demo and the steps involved:
Transcript
Page 1: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 1/16

•  North Central US

• Follow Us @Ch9

• Subscribe to Channel 9

• Sign In

Channel 9

• Browseo Tags

o Shows

o Series

o Blogs

o Authors

o Learn

o Events

• Forumso Coffeehouse

o Site Feedback 

o Tech Off 

• Coding4Funo Blog

o Projects

o Kinect

o Articles

o Show

• Events

o BUILDo 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:

Page 2: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 2/16

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

Page 3: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 3/16

o Coffeehouse

o Site Feedback 

o Tech Off 

• Coding4Fun

o Blog

o Projectso Kinect

o Articles

o Show

• Eventso 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

Setup and Configuration

Setup and Configuration

System Requirements

• Microsoft SQL Server Express 2008 R2, 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 todownload the MSI installer or the ZIP version of the release for Microsoft SQL

Server 2008 R2)

• Microsoft SQL Server 2008 R2 Report Builder 3.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

Page 4: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 4/16

• 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, with an instance

name of .\SQLEXPRESS. If this is not the case, some walkthrough steps might requirefurther actions and URLs and code might need modifications. Please adjust the instructions

to match your environment where necessary.

Task 1 – Running the Configuration Wizard

The following steps describe how to run the Configuration Wizard tool included with thedemo to verify that all the prerequisites are properly installed.

1. Browse to the setup folder in the Source folder of this demo, and run theSetup.cmd script. This script will launch the Configuration Wizard for the demo.

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.

2. Click through the steps in the Configuration Wizard to get to the Detecting

Required Software step, a scan of prerequisites will be performed on your computer. If you do not have the necessary dependencies, install them using the

links provided by the tool and rescan your computer.

Figure 2  Dependencies check completed successfully

3. Once the required software is properly installed click Next to configure your 

computer for this demo. 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

Page 5: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 5/16

name) and another to create the server alias ('SQLServerTrainingKitAlias') used in

this demo to establish a connection with the database.

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.

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.2. In the “Connect to a report server instance” dialog box, make sure that your local

report server instance (for example MSSQLSERVER ) is selected and click 

Connect.

Page 6: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 6/16

Figure 4  Reporting Services Configuration Manager connection

3. On the Web Service URL ( ) page, 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.

Note:

The virtual directory name identifies which application receives the request. Because an IP

address and port can be shared by multiple applications, the virtual directory name

specifies which application receives the request.

Page 7: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 7/16

4.

5. Figure 5 Web Service Configuration

6. On the Database page( ), make sure that:

1. SQL Server Name points to your local SQL Server instance (for examplelocalhost\.).

2. Report Server Mode is set to Native.

Page 8: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 8/16

Figure 6  Database Configuration

7. If the Database Configuration values are not set as above, follow these steps:

1. Click  Change Database to open the Report Server Database ConfigurationWizard.

2. Click  Create a new report server database and then Next.

3. In the Database Server page, set the Server Name to point the local SQL

Server instance (for example SQLExpress) and select Current User

-Integrated Security for the Authentication Type.

Page 9: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 9/16

Figure 7 Change Database Server Configuration

4. Click  Next.5. In the Database page, type ReportServer as the Database Name and click 

Native Mode for the Report Server Mode. 

Page 10: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 10/16

Figure 8 Change Database Configuration

6. Click  Next to continue.7. In the Credentials page, select Service Credentials for the Authentication

Type.

Page 11: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 11/16

Figure 9 Change Database Configuration

8. Click  Next, and finally Finish to complete the wizard.8. On the Report Manager URL page ( ), make sure that the Virtual Directory is

set to ReportServer_ %YourSqlServerInstanceName% (for example

ReportServer for the SQL Server default instance). 

Note:

Use the Report Manager URL page to configure or modify the URL used to access Report

Manager. By default, the Report Manager URL inherits the prefix, IP address, and port of 

the Report Server Web service URL. This is because Report Manager provides front-end

access to the Web service that runs within the same Report Server service.

Page 12: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 12/16

9.

10. Figure 10  Database Configuration

Note:If you see a warning message saying: The Report Manager virtual directory is not configured , click Apply to create it and configure it.

11. Click Exit to close the Configuration Manager.

Task 3 – Deploying the AdventureWorks Sample Reports

1. Open Business Intelligence Development Studio from Start | All Programs |

Microsoft SQL Server 2008 R2 with administrative privileges.

2. Click the File menu, point to Open and then click Project/Solution.

3. Browse to %ProgramFiles%\Microsoft SQL Server\100\Samples\Reporting

Services\Report Samples\AdventureWorks 2008R2 Sample Reports, select thefile AdventureWorks 2008 Sample Reports.sln and click Open.

Note:

If you are using the ZIP version of the Reporting Services Samples, 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.

Page 13: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 13/16

4.

5. Figure 11  AdventureWorks2008 Sample Reports in Business intelligence

 Development Studio

6. On the Visual Studio toolbar, select Release in the Solution Configurations (thedefault configuration is Debug).

Page 14: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 14/16

Figure 12  Release Configuration

7. Right-click the AdventureWorks 2008R2 project and select Properties.

8. On the General tab, configure the General properties as follows:1. Set OverwriteDataSources to True

2. Set TargetReportFolder to AW2008SampleReports3. Set TargetServerURL to http://<servername>/reportserver  

Figure 13  Project Configuration

9. Click  OK .

10. In Solution Explorer, under the Shared Data Sources folder, double-click 

AdventureWorks2008R2.rds to open the Adventure Works Data Source

Properties.

11. Under the General page, modify the Connection String to use the

SqlServerTrainingKitAlias server alias.

1Data Source=SqlServerTrainingKitAlias; Initial

Catalog=AdventureWorks2008R2

Page 15: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 15/16

12.

13. Figure 14  Data Source Configuration

14. Click OK .

15. On the Build menu, click Deploy AdventureWorks 2008R2. 

Note:

When you deploy the solution, the reports are published to the report server.

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.

2. Browse the Report Manager at http://localhost/reports.

3. In the Home page, click the AW2008SampleReports folder. You should see allAdventureWorks2008 Sample Reports.

Note:

Report Manager is a Web-based tool that includes features for viewing and managingreports. It is part of a report server installation. To open Report Manager, type the Report

Manager URL in a browser window. You can use any supported Web browser to view a

report through a direct connection to a report server. Every report has a URL address on areport server. You can use that address to open it in a new browser window independently.

Page 16: SSRS Config

7/30/2019 SSRS Config

http://slidepdf.com/reader/full/ssrs-config 16/16

4.

5. Figure 15  AdventureWorks2008 Sample Reports in Report Manager 

 

Lesson Contents

• Overview

• Setup and Configurati ono Task 1 – Running the Configurati on Wizard

o Task 2 – Configuring the Report Server 

o Task 3 – Deploying the Adventure Works Sample Reportso Task 4 – Browsing the Reports in the Report Manager 

• Demo Flow

• Opening Statement

• Step-by-Step Walkthrough

• Summary


Recommended