Dan Griffin's Blog
Comments on security, PKI, smart cards, cryptography, and entrepreneurship.
Getting ASP.NET ReportViewer working on IIS
July 5, 2009
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:
- You need to install the latest ReportViewer redistributable.
- You need to either use the classic app pool in IIS, or setup a custom managed handler for the reporting control. Info is here.
1 Comment »
RSS feed for comments on this post. TrackBack URL
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
Comment by Stuart McLean — July 13, 2009 @ 5:52 am