ASP-NET Report Viewer Control Issues

Rendering Problem in Internet Information Services 7:

When using the SQL Server Reporting Services (SSRS) Report Viewer control, an issue can occur when published through Visual Studio 2008 and used under Internet Information Services (IIS) 7. This Issue occurs because Visual Studio 2008 compiles the Report Viewer web project for use within IIS 6, and sets the Web.Config file settings to reflect this. In order for the report viewer control to work under IIS 7 the Http Handler setting must be added to the Web.Config file.

Find the system.web and httpHandlers tags and insert the add tag as illustrated below:

<system.web>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
</httpHandlers>
</system.web>







Return to all articles