none
Report Viewer Configuration Error RRS feed

  • 问题

  • VS2010,这次把AjaxControlToolkit升级到了.NET4.0下的DLL,以前是用的3.5的DLL,其它的一切都正常,就是ReportView报表查看器无法用了。还有就是本来VS2010中的ScriptManager和UpdatePanel如果我不在ASPX页面中注册AjaxControlToolkit.NET4.0的控件,就会报错Element is not a known element. This can occur if there is a compilation error in the Web site, or the web.config files is missing.

    报表报错提示如下:

    Report Viewer Configuration Error

    The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.

    请问该如何解决!

    2011年1月2日 3:26

答案