ReportViewer 在调试模式下可以正常显示,
但是发布到IIS后就无法显示
需要在web.config文件中的<httpHandlers>节点下添加
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />