This is a migrated thread and some comments may be shown as answers.

'ReportViewer' is ambiguous in the namespace

3 Answers 666 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 07 Jan 2010, 01:35 AM
I upgraded from Q3 2009 to Q3 2009 SP1 (1211) and now I get the following error anytime I try to open a report
System.Web.HttpCompileException = {"C:\PMB\Integration\Certificate\printCEcertificate.aspx(48): error BC30560: 'ReportViewer' is ambiguous in the namespace 'Telerik.ReportViewer.WebForms'."}
Any Ideas?

Nevermind, I still had the old versions in my Bin folder.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Jan 2010, 08:57 AM
Hello Michael,

Have you updated the reporting assemblies in the bin folder - i.e. remove the previous version and add the new one?

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Charlie
Top achievements
Rank 1
answered on 04 Sep 2010, 03:28 AM
I had to upgrade from 3.5 to 4.0 because I am taking code over from another firm.  However, I am getting 6 errors all worded: 

Error 4 'ReportViewer' is ambiguous in the namespace 'Telerik.ReportViewer.WebForms'. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\be764665\68ad8220\App_Web_3kpcrt5l.4.vb 396 
if I delete the following code







<telerik:ReportViewer runat="server" ID="radViewer" Width="842" Height="1000">
         </telerik:ReportViewer>

and the
radViewer.Report = report

line...my form becomes not as presentable How can I put the format in with the new format?
0
Steve
Telerik team
answered on 06 Sep 2010, 04:13 PM
Hi Charlie,

Can you confirm that as outlined in the Best Practices help article, you have created a class library that holds the Telerik Reports instead of adding them directly to your application? Then you've referenced the class library in your web site, so you can use the reports in the viewer. Additionally verify that you're not targeting .NET 4 Client profile framework, which is not supported.

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Steve
Telerik team
Charlie
Top achievements
Rank 1
Share this question
or