#Error in ReportViewer

Hello all

I'm working with .net objects as DataSources, and it's working very well in DataGridViews. Now I'm trying to build a Report using the ReportViewer control (VS 2005 Professionnal).

The data displayed in the dataGridView is correct, but in the report I've build, I get a "#Error" for some values.

In the .rdlc report, I just display the fields already displayed in the dataGridView, so I don't see from where the error comes !

I've searched and think I've found the issue : The dataSource binds to an abstract class which is derivated. This mother class contains properties and default values. If a public property is overriden in one of the child, I get the "#Error" in the reportViewer (no reason for that, it works perfectly in the dataGridView !!)

I've tried to catch the ReportError event, but nothing occurs.

Is it a known bug ?

Thanks for help !

[938 byte] By [nico193] at [2007-12-22]
# 1
I may provide a sample to reproduce the problem if someone is interested ...
nico193 at 2007-8-30 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...
# 2

Please give me an Email, I have a very simple example that will give a #Error in the report with no reason.

This is urgent, thanks

nico193 at 2007-8-30 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...

Visual Studio

Site Classified