This error means that you did not provide a data source with the same name that the report is expecting. if you look at RDL (or RDLC) in a text editor, there is a DataSources section, and there each data source has a name. In this case, it is called "dataset1".
How did you add ReportDataSource? If you do this at run time, you need to provide it with the same name that the report expects
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dataset1", myDataSource));
Note the βdataset1β because the report associates this input with its internal dataset definitions.
source share