Click here to Skip to main content
15,909,656 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

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" />


inside httpHandlers tag in you web.config.


Hope this could help...

Regards,

Algem
 
Share this answer
 
Comments
Anele Ngqandu 6-Sep-11 5:15am    
this is my reportviewer and am using 4.0 framework. Ama try to add this httpHandler now.

<rsweb:ReportViewer ID="ReportViewer1" runat="server">
Al Moje 6-Sep-11 5:34am    
If you are using CrystalReportViewer Version 4.0 on ASP framework you must download some file needed
at CrystalDecisions web site...
Anele Ngqandu 6-Sep-11 6:41am    
do you know them sir??
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[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900