有朋友問我如何在 asp.net 網頁上顯示 Report Service 的報表資料。
最近也剛好在試用 SQL 2008 R2 ,順便試著鏈結報表
首先,要先登入 Reporting Server 需要作 Windows 驗證,也就是需要 Windows Credentials
也就是需要一組 Power User 給報表使用。
準備事項:
- .NET FRAMEWORK 3.0 以上 ( Reporting Server 2008 元件有利用到 AJAX擴充元件 )
- Reporting Server 2008
- VS2010 ( 開發IDE )
這篇將介紹鏈結報表的前置動作,也就是設定完整的報表伺服器以利網頁鏈結
也就是利用原的報表伺服器專案上傳至 Reporting Server
1.登入 Reporting Server 進行設定,電腦按裝好 Reporting Server 後,開始瀏覽器鍵入以下網址,強烈建議以 IE7.0 以上進行設定及上傳,因微軟本身對其他瀏覽器支應程度並不高。
http://localhost/reports