Last post Jan 27, 2019 01:12 AM by KathyW
Jan 26, 2019 10:04 AM|tmatiwure|LINK
l have created an rdlc report that extracts data using a dataset linked to a stored procedure in VS and ASP.Net 2017 MVC app. When l run the report, l get the following error:
System.ArgumentException: 'The report data source object must be of the type System.Data.DataTable, System.Collections.IEnumerable, or System.Web.UI.IDataSource.'
May you kindly assist me
Jan 26, 2019 04:07 PM|Johnson S|LINK
I am facing the same issue and received error as below:
"The report data source object must be of the type System.Data.DataTable, System.Collections.IEnumerable, or System.Web.UI.IDataSource". The stack trace I noticed as ""Microsoft.ReportViewer.WebForms" at Microsoft.Reporting.WebForms.ReportDataSource.set_Value(Object
value) at Microsoft.Reporting.WebForms.ReportDataSource".
Researched to resolve the issue and there is no reference that I could find to resolve it. I am using MVC and VS 2017. Calling DB procedure linked to the data source. Any help will be greatly appreciated.
Jan 27, 2019 01:12 AM|KathyW|LINK
Are you populating a DataTable and using that as the report source?