This is a migrated thread and some comments may be shown as answers.

An error has occured while processing Report ''

5 Answers 566 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 19 Jan 2010, 02:33 PM
Hi All,

I am getting a very weird error that only appears when I refresh a report or try to export it.  I am guessing that both times the code behind is doing the same requery on the db or something.

The error is: An error has occured while processing Report '':
member

I have no idea where the member bit comes from - there are no variables called member.  Any immediate ideas where this comes from?  If not then I'll create a support ticket with the report inside it.

Regards,

Jon

5 Answers, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 19 Jan 2010, 03:22 PM
Also worth mentioning on this is that this error seems to appear before the report is processed.  ie I run the report and it works, hit the refresh button and no breakpoints are hit - I just get the error shown as red with two red boxes around it where the report would normally go...
0
Accepted
Chris Gillies
Top achievements
Rank 1
answered on 19 Jan 2010, 04:59 PM
The fact that it runs fine the first time leads me to think that it is something related to your code. I would take a wild guess here, but are you are binding the report through NeedDataSource? If so do you use the processing report object as listed here: http://www.telerik.com/help/reporting/designing-reports-adding-data-source-needdatasource.html?
Another similar thing to check is usage of report params, how you instantiate them, whether they have a default value etc.
In any case providing more info on your report would be required even for the Telerik guys... (might be wrong though :D )

Cheers!
0
Jon
Top achievements
Rank 1
answered on 20 Jan 2010, 09:19 AM
Chris, you are the man!

It fixed it.  I didn't even bother looking there before as the breakpoint didn't trigger and in any event it worked on the first report.

For some reason I had got it tied to the processing report but was binding the DS to the InnerReport.Datasource.  Not sure where I found that code!!!

Many thanks for the help.

Regards,

Jon
0
Jyoti
Top achievements
Rank 1
answered on 26 Nov 2012, 07:27 AM
I am getting the similar issue
when i am exporting the table its showing as "
An error has occurred while processing Table 'table1':
Index was out of range. Must be non-negative and less than the size of the
collection."
Parameter name: index
could you please help me.
its really urgent
0
Steve
Telerik team
answered on 26 Nov 2012, 12:45 PM
Hi Jyoti,

This is a generic error that could happen in various cases and without a runnable report that exhibits the problem, we cannot offer any concrete suggestions. First thing to check would be whether you're using the latest version of Telerik Reporting and how you create the Table item.

The fastest way to get to the bottom of a problem is if you attach a sample project, so we can review it locally and advise you.

Greetings,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Chris Gillies
Top achievements
Rank 1
Jyoti
Top achievements
Rank 1
Steve
Telerik team
Share this question
or