Getting ASP.NET ReportViewer working on IIS

Been playing around with building a “Key Performance Indicators” dashboard, based on QuickBooks data, accessible from a phone with a browser (mine’s a Motorola Q with WM6). My first attempt has been to use the ASP.NET ReportViewer control. But when I attempted to deploy the page to IIS instead of the Visual Studio development web server (in order to make the page accessible to my tethered phone; http://localhost isn’t routable), I hit two problems.

Solutions are here for posterity:

  1. You need to install the latest ReportViewer redistributable.
  2. You need to either use the classic app pool in IIS, or setup a custom managed handler for the reporting control. Info is here.

3 Responses to “Getting ASP.NET ReportViewer working on IIS”

  1. Actually, instead of installing the latest report viewer distributable you should be able to copy 2 assemblies – Microsoft.ReportViewer.Common.dll and Microsoft.ReportViewer.WebForms.dll into the bin directory.

    We do this on our production servers where we try to install as little as possible.

    Stuart

  2. Dan,

    Thanks for your help!

    Here I just changed the app pool and worked correctly.

    I tried to solve this problem about 3 days.

    Paulo

  3. Here is the complete solution that should help.
    http://praveenbattula.blogspot.com/2010/03/fix-to-report-viewer-problems-in-iis-7.html

Leave a Reply