2010年10月28日

在IIS7的環境佈署 Reportviewer 卻無法正常顯示的問題

由於IIS7新架構的關係, 導致ReportViewer的報表成果無法正確展示在頁面下,目前可透過兩種方式解決。
第一個是將網站所屬的應用程式集區的管線模式由整合式變更為傳統。
第二個則是設定網站的 處理常式對應,程序如下:


1. Go to IIS 7 admin screen.
2. Go to your Virtual Directory (Application actually).
3. Click on Handler Mappings.
4. Click on Add Managed Handler.
5. Add the following Handler:
Request Path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a  (This can be selected from the drop down, just make sure you select the correct one).
Name: Reserved.ReportViewerWebControl.axd

沒有留言: