Download presentation
Presentation is loading. Please wait.
Published byLouisa Cobb Modified over 8 years ago
1
Event Title Event Date
3
Module 05—Publishing and Accessing Reports with Reporting Services Name Title Microsoft Corporation
4
Disclaimer The information contained in this slide deck represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This slide deck is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this slide deck may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this slide deck. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this slide deck does not give you any license to these patents, trademarks, copyrights, or other intellectual property. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, email address, logo, person, place or event is intended or should be inferred. © 2008 Microsoft Corporation. All rights reserved. Microsoft, SQL Server, Office System, Visual Studio, SharePoint Server, Office PerformancePoint Server,.NET Framework, ProClarity Desktop Professional are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. 4
5
Where Are We? Data Sources Staging Area Manual Cleansing Data Marts Data Warehouse Client Access 5
6
Module Overview Reviewing Report Deployment Options Accessing Reports in SSRS Accessing Reports in Office SharePoint Server Accessing Reports Programmatically Embedding Reports in.NET Applications 6
7
Reviewing Report Deployment Options Understanding Report Deployment Deploying Resources from BIDS Deploying Resources from Report Builder 2.0 Uploading Resources in Report Manager Scripting Resource Deployment 7
8
Understanding Report Deployment HTTP Listener Report Manager Report Server Report Designer BI Developer Studio Report Server Catalog MSSQL Deploy RDL Upload RS Utility Script 8
9
Deploying Resources from BIDS Open a Report Server project in BIDS Define deployment properties for each project −Specify the TargetServerURL at minimum −Provide an alternative TargetReportFolder and TargetDataSourceFolder if desired −Set OverwriteDataSources as necessary Select items to be deployed −Single object −Selected objects −All objects in project or solution Use the Deploy command 9
10
Deploying Resources from Report Builder 2.0 Open a report in Report Builder 2.0 Define deployment settings for the report −Specify the Report folder at minimum −Provide an alternative Report Server URL and Report name if desired Use the Save As command 10
11
Uploading Resources in Report Manager Open Report Manager Upload items individually −Click the Upload File button −Navigate to a local or network file −Provide a name for the resource −Specify whether to overwrite an existing item 11
12
Scripting Resource Deployment Create a script file −Write instructions by using Visual Basic.NET −Save file with.rss file extension Execute the RS utility on the command line −Provide at least two arguments −Script filename −Report Server URL −Provide optional arguments as needed: −User name and password for server login −Timeout (in seconds) for server connection −Variable name and value to pass to script −Trace level for error messages rs –i PublishReports.rss –s http:// /ReportServer 12
13
Accessing Reports in SSRS Report Properties Affecting Access Report Manager Access URL Access 13
14
Report Properties Affecting Access General Properties −Name −Linked Report Data Sources −Connection String −Credentials Parameters −Default Value −Prompt 14 Execution −On Demand −Scheduled History −Snapshot History −Manual History Security −Item Security −Role Assignment
15
Report Manager Access Report Manager −Open http:// /Reports −Navigate folder hierarchies to report or use Search feature HTML Viewer −View reports online in HTML format −Select parameter values, if applicable −Use report toolbar to explore report or change viewing option 15
16
URL Access Display a Report Override Parameter Values Use URL Access Parameters http:// /ReportServer?/Adventure Works Sales/Sales Person Directory http:// /ReportServer?/Adventure Works Sales/ Sales Person Directory&EmployeeKey=289 http:// /ReportServer?/Adventure Works Sales/ Sales Person Directory&EmployeeKey=289 &rc:Parameters=false&rc:Toolbar=false 16
17
Accessing Reports in Office SharePoint Server View all BI content in SharePoint −Access reports in Report Center −Integrate with other content by using dashboards −Collaborate, manage workflow, and track versions Manage SSRS using Windows SharePoint Services −Report server namespace and security are hosted in WSS content database −Additional metadata for schedules, caching, and subscriptions are hosted in the ReportServer database 17
18
Deploying and Accessing Reports
19
Accessing Reports Programmatically Understanding the SSRS Web Service Interfaces Exploring Common Scenarios 19
20
Understanding the SSRS Web Service Interfaces Namespaces for viewing reports and managing the report server for SSRS 2005 and SSRS 2008 −ReportExecution2005 to process and render reports −ReportService2005 to manage SSRS −ReportService2006 to manage SSRS in SharePoint integrated mode Original 2000 web service interface is available also SSRS Web services allow seamless integration of reports and reporting functionality into applications All SSRS functionality is available through the Web service interfaces 20
21
Exploring Common Scenarios Browsing the catalog Rendering reports 21
22
Common Scenarios Browsing the catalog Use the ReportService2005 Web service to call these methods: −FindItems −ListChildren Dim rs As New ReportService.ReportingService2005() rs.Credentials = System.Net.CredentialCache.DefaultCredentials Dim catalogItems As ReportService.CatalogItem() catalogItems = rs.ListChildren("/Sales", False) For Each item As ReportService.CatalogItem In catalogItems If item.Type = ReportService.ItemTypeEnum.Report Then ' Do something with the item.Name property End If Next 22
23
Common Scenarios Rendering reports Use the ReportExecution2005 Web service to call the Render method Dim rs As New ReportExecution.ReportExecutionService() rs.Credentials = System.Net.CredentialCache.DefaultCredentials Dim format As String = "PDF" Dim deviceInfo As String = Nothing Dim extension As String = String.Empty Dim encoding As String = String.Empty Dim mimeType As String = String.Empty Dim warnings() As ReportExecution.Warning = Nothing Dim streamIDs() As String = Nothing Dim results() As Byte Dim parameters(0) As ReportExecution.ParameterValue parameters(0) = New ReportExecution.ParameterValue() parameters(0).Name = "EmployeeKey" parameters(0).Value = -1 rs.LoadReport("/Sales/Sales Person Directory", Nothing) rs.SetExecutionParameters(parameters, "en-us") results = rs.Render(format, deviceInfo, extension, encoding, mimeType, warnings, streamIDs) ' Do something with results... 23
24
SSRS Reports (RDL) SSRS Report Models Deployment / Management Data Platform Microsoft BI Platform Integration – Reporting SharePoint Report Libraries 24 Information Worker Platform Performance Management Integrated BI Solution
25
25
26
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.