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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Report Viewer throwing exception

Thread ID:

Created:

Updated:

Platform:

Replies:

124639 Jun 20,2016 01:26 PM UTC Jun 21,2016 06:51 AM UTC ASP.NET Web Forms 1
loading
Tags: ReportViewer
Dejan Lukic
Asked On June 20, 2016 01:26 PM UTC

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>





Yuvaraj Devarajan [Syncfusion]
Replied On 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 


CONFIRMATION

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.

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

;