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

The tag 'ReportViewer' does not exist in XML namespace 'clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight'.

1 Answer 428 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William Cook
Top achievements
Rank 1
William Cook asked on 05 Apr 2012, 09:29 PM
Hi,

I'm hitting an error building the Reporting samples (or any other project using them):

Error 1 The tag 'ReportViewer' does not exist in XML namespace 'clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight'. C:\Program Files (x86)\Telerik\Reporting Q3 2011\Examples\CSharp\SilverlightDemo\MainPage.xaml 48 14 CSharp.SilverlightDemo

* Telerik Reporting Q3 2011 SP1 (5.3.12.119)
* Visual Studio 2010 Ultimate (10.0.40219.1 SP1Rel)
* Building C# Silverlight applications

What I've found so far:
1. The samples (and my own applications) work fine on multiple Windows Server 2003 environments that I've tried it on.
2. The samples (and my own applications) all fail to compile on the one Windows Server 2008 R2 environment that I've tried it on. Not certain if the OS difference is a factor, or if this is just a coincidence.
3. Uninstalling / re-installing Telerik Reporting on the Windows Server 2008 R2 environment has not resolved it.
4. Yes, I am running Visual Studio as an Administrator.
5. Commenting out the ReportViewer in the .xaml file and creating it programmatically in the .cs file works fine.
6. Autocomplete when editing the .xaml works fine and appears to correctly resolve; however, compilation fails.
7. Other Telerik components are NOT affected. RadControls for Silverlight works great on all environments.

Any thoughts on what I should look at next? Any assistance appreciated...

Thanks,

William Cook

1 Answer, 1 is accepted

Sort by
0
Chris Gillies
Top achievements
Rank 1
answered on 06 Apr 2012, 09:01 AM
According to previous posts about this error, the problem could be the target framework. Check those:
  • http://www.telerik.com/community/forums/reporting/telerik-reporting/plz-help-with-report-viewer.aspx
  • http://www.telerik.com/community/forums/reporting/telerik-reporting/the-tag-reportviewer-does-not-exist-in-xml-namespace.aspx
Tags
General Discussions
Asked by
William Cook
Top achievements
Rank 1
Answers by
Chris Gillies
Top achievements
Rank 1
Share this question
or