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
Starting in 2019, the Reporting control is no longer included in Essential Studio. If you're experiencing issues with the Syncfusion Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion and appreciate your understanding.

Report Viewer throwing exception

When i try to use Report Viewer following exception is shown on the page
'ReportViewer' is ambiguous in the namespace 'Syncfusion.JavaScript.Web'.
what can be the cause for this? 
the code i have on the page is :

<%@ Register Assembly="Syncfusion.EJ.Web, Version=14.1451.0.41, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ej:ReportViewer ID="ReportViewer1" runat="server"></ej:ReportViewer>
    </div>
    </form>
</body>
</html>





1 Reply

YD Yuvaraj Devarajan Syncfusion Team June 21, 2016 06:51 AM UTC

Hi Dejan, 
 
Thanks for contacting Syncfusion support. 
 
The mentioned problem might have occurred due to different assembly version referred in your application and control render page. So, please ensure that the assembly version referred in application and control render page is same as shown in the code example.  
 
<%@ Register Assembly="Syncfusion.EJ.Web, Version=14.1451.0.41, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %> 
<!DOCTYPE html> 
<head runat="server"> 
    <title></title> 
</head> 
<body> 
    <form id="form2" runat="server"> 
    <div> 
        <ej:ReportViewer ID="ReportViewer2" runat="server"></ej:ReportViewer> 
    </div> 
    </form> 
</body> 
</html> 

We have prepared the sample in ASP.NET and it can be downloaded from below location, 

Please refer the below UG documentation link to create sample in ASP.NET, 

You can obtain the ASP.NET ReportViewer samples from the below build installed location, 
%userprofile%\AppData\Local\Syncfusion\EssentialStudio\version\Web\Samples\Web 

Regards, 
Yuvaraj D 


Loader.
Up arrow icon