当我查看查看网页源代码时,发现了以下错误消息,但网页工作正常。我们的测试负责人在执行声明测试时发现错误。报告查看器配置错误 - 在查看网页的源码
报表查看器配置错误
报表查看器Web控制HTTP处理程序还没有被登记在 应用程序的web.config文件。添加
<add verb=" * " path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
对System.Web/HttpHandlers的web.config文件的 部分,或添加
<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" />
到system.webServer /处理器 部分为Internet Information Services 7或更高版本
为什么这是错误消息鉴于源上来..
注意:这个错误消息有一个div标签,它的style =“display:none”
我想知道为什么,但是每个人都只讨论了这个错误消息,并将其作为一个引发到网页中的错误消息。建议对web.config所做的更改已经存在于我们的配置文件中。
你在IIS6运行?这是IIS 7配置。 – nunespascal 2012-07-11 09:33:50