Microsoft Reporting Services in Action (Paperback)
暫譯: 《Microsoft 報告服務實戰》
Teo Lachev
- 出版商: Manning
- 出版日期: 2004-08-01
- 售價: $1,880
- 貴賓價: 9.5 折 $1,786
- 語言: 英文
- 頁數: 656
- 裝訂: Paperback
- ISBN: 1932394222
- ISBN-13: 9781932394221
已過版
買這商品的人也買了...
-
$600$510 -
$600$474 -
$350$298 -
$590$466 -
$550$435 -
$820$804 -
$750$638 -
$560$476 -
$2,370$2,252 -
$850$723 -
$480$379 -
$750$593 -
$780$616 -
$490$382 -
$620$490 -
$540$427 -
$990$782 -
$680$537 -
$780$616 -
$480$408 -
$480$408 -
$650$507 -
$380$342 -
$350$315 -
$880$695
相關主題
商品描述
Description:
Business reporting is a lifeline of business, so a better reporting environment is a big deal. With a sophisticated, modern tool like Microsoft SQL Server 2000 Reporting Services, you can report-enable any type of application, regardless of its targeted platform or development language.
Written for information workers, system administrators, and developers, this book is a detailed and practical guide to the functionality provided by Reporting Services. It systematically shows off many powerful RS features by leading you through a dizzying variety of possible uses. Following a typical report lifecycle, the book shows you how to create, manage, and deliver RS reports.
In the first half, you will master the skills you need to create reports. System administrators will learn the ropes of managing and securing the report environment. The second half of the book teaches developers the techniques they need to integrate RS with their WinForm or web-based applications. It does this with the help of a wide variety of real-world scenarios which will give you ideas on how to use RS in addition to teaching you the ropes.
An experienced software designer and developer, Teo Lachev works as a technology consultant with the Enterprise Application Services practice of Hewlett-Packard. He is a Microsoft Certified Solution Developer and a Microsoft Certified Trainer. Teo lives in Atlanta, GA.
Table of Contents:
foreword xix
preface xxi
acknowledgments xxiii
roadmap xxv
source code xxviii
author online xxxiii
about the title and cover xxxiv
1 Introducing Microsoft Reporting Services 1
1.1 What is RS? 2
Why do we need RS? 2
How is RS implemented? 4
RS and the Microsoft BI platform 5
1.2 RS at a glance 6
Authoring features 7
Management features 8
Delivery features 9
Extensibility features 9
Scalability features 10
Security features 10
Deployment features 11
1.3 RS architecture 11
The Report Server 13
The Report Server database 14
The Report Manager 15
1.4 Understanding Report Processing 17
Execution stage 18
Rendering stage 18
1.5 Delivering reports 20
On-demand delivery 20
Subscribed delivery 21
1.6 What is the report lifecycle? 22
1.7 RS in action 23
About the Adventure Works Reporter 23
Your first report 24
1.8 Evaluating RS 33
1.9 Summary 35
1.10 Resources 35
Part 1 Authoring reports 37
2 Report authoring basics 39
2.1 The report-authoring process: step by step 40
Analysis 41
Construction 42
Testing 42
Deployment 42
2.2 Authoring reports in VS.NET 43
Authoring reports with the Report Wizard 43
Authoring reports with the Report Designer 44
Importing reports from Microsoft Access 53
2.3 Creating reports programmatically 55
The AW Ad Hoc Reporter sample 56
Implementation details 58
2.4 Creating reports with third-party tools 60
Cizer’s Quick Query 60
Hitachi’s RDL Generator 62
2.5 Summary 62
2.6 Resources 62
3 Working with data 63
3.1 Working with data sources 63
Connecting to the database 64
Choosing an authentication mechanism 69
Deploying data sources 77
3.2 Working with report datasets 77
Understanding the dataset definition 78
Creating a report dataset 79
Using multiple datasets 83
3.3 Authoring dataset queries 84
Using the Graphical Query Designer 84
Using the Generic Query Designer 86
3.4 Parameter-driven reports 89
The role of parameters 89
Building parameter-driven queries 90
Setting up the report-level parameters 92
Working with stored procedures 95
3.5 Data limitations 100
Data source limitations 100
Parameter limitations 101
3.6 Summary 101
3.7 Resources 101
4 Designing reports 102
4.1 Anatomy of a report 103
Getting started with a new report 104
Understanding report sections 104
Understanding report items 105
Understanding data regions 107
4.2 Designing tabular reports 109
Parameterized tabular reports 113
Tabular reports with interactive features 117
Table region limitations 119
4.3 Designing freeform reports 119
Freeform reports with nested regions 119
Grouping freeform data 121
Freeform reports with side-by-side data regions 123
4.4 Designing Chart Reports 124
The chart data region 124
Working with charts 126
Nesting chart regions 127
4.5 Designing crosstab reports 129
Matrix region advantages 129
Working with the matrix region 130
Adjusting the report layout 134
4.6 Designing Subreports 135
Laying out the report 136
Synchronizing the subreport with the master report 137
4.7 Designing multicolumn reports 138
Setting up multiple columns 139
Testing multicolumn reports 139
4.8 Summary 140
4.9 Resources 141
5 Using expressions and functions 142
5.1 Understanding expressions 143
Using the Expression Editor 143
Expression syntax 145
Determining expression execution order 145
Understanding expression scope 146
Dealing with expression errors 147
5.2 Exploring the Report Object Model 148
Using the ReportItems collection 151
Using the Fields collection 155
Using the Parameters collection 157
Using the Globals collection 159
Using the User collection 159
5.3 Working with functions 160
Referencing external functions 160
Using aggregate functions 161
Using other internal functions 165
5.4 Designing reports with navigational features 167
Reports with hyperlinks 168
Reports with document maps 170
5.5 Report rendering considerations 173
Exporting reports to HTML 173
Exporting reports to MHTML 174
Exporting reports to HTML with Office Web Components 174
Exporting reports to other formats 176
5.6 Designing localized reports 177
Report localization basics 177
Localization techniques 179
5.7 Summary 181
5.8 Resources 182
6 Using custom code 183
6.1 Understanding custom code 184
Using embedded code 184
Using external assemblies 187
6.2 Custom code in action: implementing report forecasting 191
Forecasting with OpenForecast 192
Implementing report forecasting features 192
6.3 Using XML-based reports 204
Understanding XML exporting 205
Exposing the report content as an RSS feed 205
6.4 Summary 210
6.5 Resources 211
Part 2 Managing reports 213
7 Managing the Reporting Services environment 215
7.1 Managing RS with the Report Manager 216
How the Report Manager works 216
Managing Report Server settings 219
Managing content 223
Managing report execution 230
Managing linked reports 240
7.2 Managing RS with the Web service 242
Understanding the Web service management API 242
Tracing calls to the SOAP API 242
Deploying reports programmatically 245
Batching methods together 249
7.3 Managing RS with the WMI provider 249
Understanding the WMI provider 250
Implementing an RS management console 251
7.4 Other ways to manage Reporting Services 253
Managing RS with the script host 253
Using other management utilities 254
7.5 Analyzing report execution 255
Analyzing the Report Server execution log 255
Analyzing trace log files 257
7.6 Summary 259
7.7 Resources 259
8 Securing Reporting Services 260
8.1 Exploring Reporting Services role-based security 261
How Windows authentication works 262
Using role-based authorization 266
Managing role-based security with the Report Manager 272
Managing role-based security with the Web service 277
8.2 Understanding code access security 281
Defining code access terminology 281
Exploring the RS default security policy 285
Managing RS code access security 286
8.3 Best practices for securing reports 290
Filtering data 291
Using dynamic dataset queries 292
Implementing custom security models 294
Enforcing a secured connection to the Report Server 294
8.4 Summary 295
8.5 Resources 295
Part 3 Delivering reports 297
9 On-demand report delivery 299
9.1 How RS provides on-demand report delivery 300
9.2 URL-based report access 301
Understanding URL syntax 302
Requesting resources by URL 303
Requesting reports by URL 305
Working with report commands 306
Working with the HTML Viewer 309
URL access in action 312
9.3 Web service-based report access 317
Requesting reports with SOAP 318
Rendering images 321
Handing report sessions 324
Automating the report generation process 327
9.4 Evaluating URL and Web service access options 331
Evaluating URL access 332
Evaluating Web service access 334
Choosing an integration approach 334
9.5 Summary 335
9.6 Resources 336
10 Reporting for Windows Forms applications 337
10.1 Rich client wanted 338
Report-enabling rich clients 338
Using the Client-to-Report Server model 339
Using the Client-to-Fa硤e-to-Report Server model 341
10.2 Introducing the Adventure Works Report Wizard 342
Designing the Report Wizard 343
The Report Wizard step-by-step 344
10.3 Behind the scenes of the Adventure Works Report Wizard 348
Implementing the application framework 349
Selecting reports 354
Dealing with snapshot reports 359
Handling report parameters 359
Specifying the export format 368
Confirming the report request 368
10.4 Enhancing application performance 370
Using in-memory caching 371
Using multithreading 372
10.5 Summary 375
10.6 Resources 376
11 Reporting for web-based applications 377
11.1 Understanding web reporting 378
Reporting for intranet applications 378
Reporting for Internet applications 379
Reporting for extranet applications 382
Introducing the Adventure Works Web Reporter 383
11.2 Client-side reporting techniques 384
Requesting reports from hyperlinks 384
Creating write-back reports 388
Using HTTP-POST 390
Calling the RS Web service on the client side 392
11.3 Server-side reporting techniques 395
Using the ReportViewer control 396
Using the Adventure Works ReportViewer control 399
Reporting off application datasets 407
Business-to-consumer reporting 409
Business-to-business reporting 412
11.4 Summary 414
11.5 Resources 415
12 Reporting for OLAP applications 416
12.1 Understanding OLAP 417
OLTP vs. OLAP 417
How Reporting Services and Analysis Services compare 418
Understanding the OLAP storage model 419
Designing OLAP solutions 422
12.2 Implementing an OLAP solution: AW Data Miner 424
Implementing the data warehouse 426
Implementing the OLAP cube 427
Authoring OLAP-based reports with RS 440
Implementing AW Data Miner 443
12.3 Summary 453
12.4 Resources 454
13 Enterprise reporting 456
13.1 Understanding enterprise reporting 457
Evaluating enterprise reporting 457
Introducing the Adventure Works Enterprise Reporter 458
13.2 Behind the scenes of the Adventure Works Enterprise Reporter 461
Implementing the Report Configuration Store 462
Implementing the presentation layer 463
Implementing the Enterprise Reporting Fa硤e 466
Designing for scalability 470
13.3 Implementing custom application authorization 472
Understanding the Windows Authorization Manager 472
Securing the AW Enterprise Reporter 478
13.4 Summary 481
13.5 Resources 481
14 Subscribed report delivery 483
14.1 Understanding subscribed report delivery 484
Subscription-based reporting scenarios 484
The subscriber-publisher design pattern 484
How the Reporting Services subscription-based model works 485
14.2 Configuring subscribed report delivery 488
Creating a new subscription 489
Choosing the subscription type 490
Configuring delivery extensions 493
Managing subscriptions 495
14.3 Subscribed report delivery in action 497
“Pushing” reports via standard e-mail subscriptions 497
Archiving reports to a file share 499
Sending reports to a data-driven list of recipients 503
Triggering subscriptions programmatically 509
14.4 Summary 513
14.5 Resources 513
Part 4 Advanced reporting 515
15 Extending Reporting Services 517
15.1 Understanding Reporting Services extensibility 518
Understanding interface-based programming 518
Working with interface inheritance 519
15.2 Reporting off ADO.NET datasets with a custom dataset data extension 523
Design goals and tradeoffs 525
Authoring dataset-bound reports 526
Implementing the custom dataset extension 533
Debugging dataset extensions 537
15.3 Distributing reports to Web services using custom delivery extensions 537
Design goals and tradeoffs 538
Using the custom delivery extension 539
Implementing the custom delivery extension 540
Debugging custom delivery extensions 544
15.4 Implementing custom security 546
Design goals and tradeoffs 549
Intranet reporting with custom security 550
Implementing the custom security extension 553
Debugging the custom security extension 560
15.5 Using custom HTTP modules 560
The HTTP module design goals and tradeoffs 561
Implementing the custom HTTP module 561
15.6 Considerations for custom rendering extensions 563
15.7 Summary 563
15.8 Resources 564
16 Performance and scalability 566
16.1 Understanding capacity planning 567
Capacity planning fundamentals 567
The capacity planning process 572
16.2 Capacity planning with Reporting Services in action 577
Determining requirements 577
Setting up the testing environment 580
Performance testing 584
Analyzing performance results 585
Identifying resource constraints 587
Eliminating resource constraints 589
16.3 Summary 592
16.4 Resources 593
A Installing Reporting Services 594
A.1 Choosing components to install 595
A.2 Selecting the service account 596
A.3 Specifying RS virtual folders 597
A.4 Configuring the Report Server database 599
A.5 Configuring Reporting Services for e-mail delivery 600
A.6 Setting up the RS samples 601
A.7 Configuring RS licensing mode 601
A.8 Post-installation steps 603
Installing RS sample reports 603
Backing up the encryption key 604
A.9 Resources 604
index 605
商品描述(中文翻譯)
描述:
商業報告是企業的生命線,因此更好的報告環境至關重要。使用像 Microsoft SQL Server 2000 Reporting Services 這樣的先進現代工具,您可以為任何類型的應用程式提供報告功能,無論其目標平台或開發語言為何。
本書專為資訊工作者、系統管理員和開發人員撰寫,是一本詳細且實用的指南,介紹 Reporting Services 提供的功能。它系統性地展示了許多強大的 RS 功能,帶領您體驗各種可能的使用情境。按照典型的報告生命週期,本書將教您如何創建、管理和交付 RS 報告。
在前半部分,您將掌握創建報告所需的技能。系統管理員將學習管理和保護報告環境的基本知識。本書的後半部分教導開發人員如何將 RS 與其 WinForm 或基於網頁的應用程式整合。這部分內容通過各種真實世界的情境來實現,將為您提供使用 RS 的靈感,並教您基本知識。
Teo Lachev 是一位經驗豐富的軟體設計師和開發人員,現任惠普企業應用服務部的技術顧問。他是 Microsoft 認證解決方案開發人員和 Microsoft 認證培訓師。Teo 目前居住在喬治亞州亞特蘭大。
目錄:
前言 xix
序言 xxi
致謝 xxiii
路線圖 xxv
源代碼 xxviii
作者在線 xxxiii
關於書名和封面 xxxiv
1 介紹 Microsoft Reporting Services 1
1.1 什麼是 RS? 2
為什麼我們需要 RS? 2
RS 是如何實現的? 4
RS 與 Microsoft BI 平台 5
1.2 RS 概覽 6
創建功能 7
管理功能 8
交付功能 9
擴展功能 9
可擴展性功能 10
安全性功能 10
部署功能 11
1.3 RS 架構 11
報告伺服器 13
報告伺服器數據庫 14
報告管理器 15
1.4 理解報告處理 17
執行階段 18
渲染階段 18
1.5 交付報告 20
按需交付 20
訂閱交付 21
1.6 什麼是報告生命週期? 22
1.7 RS 實作 23
關於 Adventure Works Reporter 23
您的第一個報告 24
1.8 評估 RS 33
1.9 總結 35
1.10 資源 35
第一部分 創建報告 37
2 報告創建基礎 39
2.1 報告創建過程:逐步指南 40
分析 41
構建 42
測試 42
部署 42
2.2 在 VS.NET 中創建報告 43
使用報告精靈創建報告 43
使用報告設計器創建報告 44
從 Microsoft Access 導入報告 53
2.3 程式化創建報告 55
AW Ad Hoc Reporter 範例 56
實現細節 58
2.4 使用第三方工具創建報告 60
Cizer 的 Quick Query 60
日立的 RDL 生成器 62
2.5 總結 62
2.6 資源 62
3 數據處理 63
3.1 處理數據源 63
連接到數據庫 64
選擇身份驗證機制 69
部署數據源 77
3.2 處理報告數據集 77
理解數據集定義 78
創建報告數據集 79
使用多個數據集 83
3.3 創建數據集查詢 84
使用圖形查詢設計器 84
使用通用查詢設計器 86
3.4 參數驅動的報告 89
參數的角色 89
構建參數驅動的查詢 90
設置報告級別的參數 92
處理存儲過程 95
3.5 數據限制 100
數據源限制 100
參數限制 101
3.6 總結 101
3.7 資源 101
4 設計報告 102
4.1 報告的結構 103
開始新報告 104
理解報告部分 104
理解報告項目 105
理解數據區域 107
4.2 設計表格報告 109
參數化表格報告 113
具有互動功能的表格報告 117
表格區域限制 119
4.3 設計自由格式報告 119
具有嵌套區域的自由格式報告 119
分組自由格式數據 121
具有並排數據區域的自由格式報告 123
4.4 設計圖表報告 124
圖表數據區域 124
處理圖表 126
嵌套圖表區域 127
4.5 設計交叉表報告 129
矩陣區域的優勢 129
處理矩陣區域 130
調整報告佈局 134
4.6 設計子報告 135
佈局報告 136
將子報告與主報告同步 137
4.7 設計多欄報告 138
設置多個欄位 139
測試多欄報告 139
4.8 總結 140
4.9 資源 141
5 使用表達式和函數 142
5.1 理解表達式 143
使用表達式編輯器 143
表達式語法 145
確定表達式執行順序 145
理解表達式範圍 146
處理表達式錯誤 147
5.2 探索報告對象模型 148
使用 ReportItems 集合 151
使用 Fields 集合 155
使用 Parameters 集合 157
使用 Globals 集合 159
使用 User 集合 159
5.3 使用函數 160
引用外部函數 160
使用聚合函數 161
使用其他內部函數 165
5.4 設計具有導航功能的報告 167
具有超鏈接的報告 168
具有文檔地圖的報告 170
5.5 報告渲染考量 173
將報告導出為 HTML 173
將報告導出為 MHTML 174
使用 Office Web Components 將報告導出為 HTML 174
將報告導出為其他格式 176
5.6 設計本地化報告 177
報告本地化基礎 177
本地化技術 179
5.7 總結 181
5.8 資源 182
6 使用自定義代碼 183
6.1 理解自定義代碼 184
使用嵌入代碼 184
使用外部組件 187
6.2 自定義代碼實作:實現報告預測 191
使用 OpenForecast 進行預測 192
實現報告預測功能 192
6.3 使用基於 XML 的報告 204
理解 XML 導出 205
將報告內容公開為 RSS 源 205
6.4 總結 210
6.5 資源 211
第二部分 管理報告 213
7 管理 Reporting Services 環境 215
7.1 使用報告管理器管理 RS 216
報告管理器的工作原理 216
管理報告伺服器設置 219
管理內容 223
管理報告執行 230
管理鏈接報告 240
7.2 使用 Web 服務管理 RS 242
理解 Web 服務管理 API 242
追蹤對 SOAP API 的調用 242
以程式化方式部署報告 245
批量處理方法 249
7.3 使用 WMI 提供者管理 RS 249
理解 WMI 提供者 250
實現 RS 管理控制台 251
7.4 管理 Reporting Services 的其他方法 253
使用腳本主機管理 RS 253
使用其他管理工具 254
7.5 分析報告執行 255
分析報告伺服器執行日誌 255
分析追蹤日誌文件 257
7.6 總結 259
7.7 資源 259
8 確保 Reporting Services 的安全性 260
8.1 探索基於角色的 Reporting Services 安全性 261
Windows 身份驗證的工作原理 262
使用基於角色的授權 266
使用報告管理器管理基於角色的安全性 272
使用 Web 服務管理基於角色的安全性 277
8.2 理解代碼訪問安全性 281
定義代碼訪問術語 281
探索 RS 預設安全政策 285
管理 RS 代碼訪問安全性 286
8.3 確保報告安全性的最佳實踐 290
過濾數據 291
使用動態數據集查詢 292
實現自定義安全模型 294
強制與報告伺服器的安全連接 294
8.4 總結 295
8.5 資源 295
第三部分 交付報告 297
9 按需報告交付 299
9.1 RS 如何提供按需報告交付 300
9.2 基於 URL 的報告訪問 301
理解 URL 語法 302
通過 URL 請求資源 303
通過 URL 請求報告 305
處理報告命令 306
使用 HTML 查看器 309
URL 訪問實作 312
9.3 基於 Web 服務的報告訪問 317
使用 SOAP 請求報告 318
渲染圖像 321
處理報告會話 324
自動化報告生成過程 327
9.4 評估 URL 和 Web 服務訪問選項 331
評估 URL 訪問 332
評估 Web 服務訪問 334
選擇整合方法 334
9.5 總結 335
9.6 資源 336
10 Windows Forms 應用程式的報告 337
10.1 需要豐富的客戶端 338
為豐富客戶端提供報告功能 338
使用 Client-to-Report Server 模型 339
使用 Client-to-Fa硤e-to-Report Server 模型 341
10.2 介紹 Adventure Works 報告精靈 342
設計報告精靈 343
報告精靈逐步指南 344
10.3 Adventure Works 報告精靈的幕後 348
實現應用程式框架 349
選擇報告 354
處理快照報告 359
處理報告參數 359
指定導出格式 368
確認報告請求 368
10.4 提升應用程式性能 370
使用內存緩存 371
使用多線程 372
10.5 總結 375
10.6 資源 376
11 基於網頁的應用程式報告 377
11.1 理解網頁報告 378
內部網路應用程式的報告 378
互聯網應用程式的報告 379
外部網路應用程式的報告 382
介紹 Adventure Works Web Reporter 383
11.2 客戶端報告技術 384
通過超鏈接請求報告 384
創建寫回報告 388
使用 HTTP-POST 390
在客戶端調用 RS Web 服務 392
11.3 伺服器端報告技術 395
使用 ReportViewer 控制項 396
使用 Adventure Works ReportViewer 控制項 399
從應用程式數據集報告 407
商業對消費者報告 409