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

error when declare a reportviewer in aspx

my aspx:

                                    <ej:ReportViewer ID="rvSF" ReportPath="..\Reports\SubDiario.rdlc" runat="server"></ej:ReportViewer>

Im getting this error and cant understand why...

the base class includes the field 'rvSF' but its type (Syncfusion.JavaScript.Web.ReportViewer) its not compatible with the type of control (Syncfusion.JavaScript.Web.ReportViewer)


1 Reply

MM Mageshyadav M Syncfusion Team February 28, 2019 04:54 AM

Hi Ariel, 
We have validated the mentioned query at our end. We suspect that mentioned issue occurred due to Report Viewer reference doesn’t referred properly at your end. We have prepared standalone sample for Asp.Net web forms in version ( and please find the code snippet to load RDLC report as given below, 
    <form id="form1" runat="server"  onsubmit="return false" style="overflow: hidden; padding:0; margin: 0;height:100%;width:100%;"> 
         <ej:ReportViewer ID="ReportViewer1" runat="server" ReportPath="~/App_Data/MainReport.rdlc" ProcessingMode="Local"/>          
The sample can be downloaded from the below location, 

Live Chat Icon For mobile
Up arrow icon