Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ReportViewer bug

Thread Tools

ReportViewer bug

Chris Botha
Posts: n/a
I have a report that uses 2 datasets (2 tables on the report)
VS2005 correctly generates 2 ObjectDataSource objs when selecting the report
in the smart tag of the ReportViewer.

Depending on values the user enter, example start/end date, the report must
display only that data, so I have 2 classes that selects the data and return
the relevant data sets (set up in the TypeName and SelectMethod properties
of the ObjectDataSource objs). The framework calls these classes when the
report is being generated.
These user entered values are stored in session variables and the 2 classes
get the values from the session variables.
This works fine for the first class being called. When the second class is
being called, trying to get the session object throws an error.

I've been using this technique a number of times for reports with 1 dataset.
My workaround for the time being is static variables rather than session
variables to store the user entered values, which will of course blow up if
2 users run the report simultaneously.

Reply With Quote
Posts: n/a
You might want to post this at
microsoft.public.sqlserver.reportingsvcs, although admittedly the
response level is not very high over there.

Otherwise, can you provide any more info about the error?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ReportViewer BUG: duplicate 'style' attribs in the first column Bogdan ASP .Net 0 10-03-2009 03:43 PM
ReportViewer control LocalReport PDF Bug andyclap ASP .Net Web Controls 1 01-09-2008 03:18 PM
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
Microsoft.ReportViewer.WebForms assembly =?Utf-8?B?Sm9obiBCYWlsZXk=?= ASP .Net 0 07-04-2005 08:20 PM
Re: dropdown overlaps reportviewer in IE S. Justin Gengo ASP .Net 0 07-31-2004 03:29 PM