We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Report Datasources

Thread ID:





146491 Aug 6,2019 07:52 AM UTC Aug 6,2019 11:07 AM UTC Report Platform 3
Tags: Report Viewer
Yoab Youssoufou
Asked On August 6, 2019 07:52 AM UTC

I am trying to use the report viewer with parameters and had a bit of a snag, I tried to reproduce your own example but I get an error message: "Error    CS1503    Argument 1: cannot convert from 'Syncfusion.Reporting.Models.ReportViewer.ReportDataSource' to 'Syncfusion.Reporting.Web.ReportDataSource'"
Pls find atached the code from my webapi controller, is it a problem with the report version? I am using latest Reporting nuget packages V 4.1.025. without using parameters, I've gotten the report to work fine. Note my only objective is to use parameters that are hidden and passed to the report at runtime I was thinking a simple solution maybe using session variables? Thanks in advance 

Attachment: reperror_b4296ba3.7z

Vinoth Srinivasan [Syncfusion]
Replied On August 6, 2019 09:15 AM UTC

Hi Yoab, 

Thanks for your interest in Syncfusion products. 

We have validated your shared snap and the issue occurs due to the namespace mismatch. Since you are using latest ReportPlatform nuget then we suggest you to use “Syncfusion.Reporting.Web.ReportDataSource” namespace to resolve this issue in your sample application. 

Vinoth S. 

Yoab Youssoufou
Replied On August 6, 2019 10:31 AM UTC

Thanks, its ok now

Vinoth Srinivasan [Syncfusion]
Replied On August 6, 2019 11:07 AM UTC

Hi Yoab, 

Thanks for your update. Please let us know if you require further assistance. 

Vinoth S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon