我的aspx页面中的ReportViewer发出错误 [英] ReportViewer in my aspx page giving an error
问题描述
大家好
我在我的aspx页面中拖动了一个ReportViewer,然后尝试调试页面。我收到此错误错误:Sys.ArgumentNullException:值不能为空。
参数名称:panelsCreated [1]这是正常的还是什么?因为我希望至少在这里可以看到查看者标题而不是aam错误,所以没有代码。
第一次创建报告时帮助这个
Hi guys
I draged and droped a ReportViewer in my aspx page then tried to debug the page. I got this error "Error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsCreated[1]" Is this normal or what?? Because am expecting atleast the viewer header to be visible here not aam error, there is no code behind.
Help this the first time am creating reports
推荐答案
您使用的是哪个ReportViewer?你使用的ASP框架是什么?
如果这是3.5框架那么:
它是:
CrystalReportViewer
或
MicrosoftReportViewer
如果您使用的是CrystalReportViewer,则应该没有错误
但如果您使用的是MicrosoftReportViewer
那么您必须添加:
Hi,
Which ReportViewer are you using? and what ASP framework are you using?
If this is 3.5 framework then:
Is it a:
CrystalReportViewer
or
MicrosoftReportViewer
If you are using CrystalReportViewer there should be no error
but if yor are using MicrosoftReportViewer
then you must add:
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
在你的web.config中的 httpHandlers 标签内。
希望这可以帮助...
问候,
Algem
inside httpHandlers tag in you web.config.
Hope this could help...
Regards,
Algem
问题是ReportViewer控件无法正确生成报告。
问题的解决方案是在这个链接上: http://support.microsoft.com/kb/2407088 [ ^ ]
The issue is that ReportViewer control does not generate the report correctly.
The solution to the issue was on this link : http://support.microsoft.com/kb/2407088[^]
这篇关于我的aspx页面中的ReportViewer发出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!