Guillermo CaicedoConsultant - Nagnoi, Inc.blog: sqltitan.comtwitter: @[email protected]
Enrich your applicationswith SQL Server Reporting Services
AGENDA
Reporting Services OverviewReport Viewer ControlsURL AccessSSRS Web Service
Reporting Services Overview
SSRS Overview
Server-based reporting platform that provides comprehensive reporting functionality for a variety of data sources.
Includes a complete set of tools for the creation, management, and delivery of reports.
The Report Server offers a managed reporting environment that includes security, subscriptions, snapshot management, and report history.
Sophisticated Design Environment
Re-use of insights
Report Designer Power ViewReport Builder
Report Viewer Controls
Rich Design Capabilities
Productive Authoring
Flexible layout
Highly Interactive
Rich Presentation
Developer
s
Visual data representatio
n
End Users
Power Users
IT Pros
Embedded Operational
Self-Service
Demo
Report Viewer Control
Report Viewer Controls
Freely redistributable control that enables embedding reports in applications developed using the .NET Framework.Benefits:
Efficient data processing.Supports a variety of ways in which to present data. Supports printing and print preview.Supports export to Excel, Word and PDF formats. (Word export in Visual Studio 2010 and up.)
The control can process and render reports independently using a built-in engine ('local mode') or it can display reports that are processed and rendered on a Report Server ('remote mode').
Windows Forms Control / Web Forms Applications
Hosted Reports
SQL Server includes a Report Server Project in BIDS for designing reports that will be hosted on a Report Server.
Hosted reports use the standard report definition format (RDL). This format contains information about how to connect to the data source and extract appropriate data.
Benefits: security, caching, scheduling, and delivery.
Embedded Reports (Local Reports)
Visual Studio includes the ability to design reports and embed them directly in any language project, including Visual Basic, Visual C#, Visual J#, or Managed C++.
The embedded Report Designer has the same functionality as the Report Server Designer included in SQL Server, but uses the Visual Studio data source functionality to access data for the report. Reports can access traditional data sources or object collections.
Embedded reports use a report definition version (RDLC) that includes metadata about the data sources, but does not contain connection or query information.
Local Mode
Report Server Mode
Refers to report processing that is performed by a SQL Server 2008 or above Reporting Services server.
ReportViewer is used to render the hosted report.
All processing from data retrieval to report processing is performed on the report server.
Demo
URL Access
URL Access
URL access in Reporting Services is specifically designed to enable access to individual reports over a network.No Parameters:http://server/reportserver?/AdventureWorks Sample Reports/Territory Sales Drilldown&rs:Command=Render&rc:LinkTarget=main
With Parameters:http://server/reportserver?/AdventureWorks+Sample+Reports/Employee+Sales+Summary&ReportMonth=3&ReportYear=2008&EmpID=280
Multi-Value Parameters:http://server/reportserver?/AdventureWorks+Sample+Reports/team+project+report&teamgrouping2=xgroup&teamgrouping1=ygroup&OrderID=747&OrderID=787&OrderID=12
Demo
1SSRS Web Service
SSRS Web Service
Reporting Services SOAP API provides several Web service endpoints for developing custom reporting solutions.
Management EndpointReportService2005 – native modeReportService2006 – SharePoint Integrated modeReportService2010 – native mode/SharePoint Integrated
Execution EndpointReportExecution2005 – used when the report server is configures in native or SharePoint Integrated Mode.
Demo
Resources
Integrating Reporting Services into Applications - http://msdn.microsoft.com/en-us/library/ms153697.aspxUsing the SOAP API in a Web Application - http://msdn.microsoft.com/en-us/library/ms155376.aspxIntegrating Reporting Services Using URL Access - http://msdn.microsoft.com/en-us/library/ms155362.aspxReport Viewer – www.gotreportviewer.comIntegrating Reporting Services Using the ReportViewer Controls - http://msdn.microsoft.com/en-us/library/aa337090.aspx
Questions