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

Plz help with report viewer

2 Answers 180 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
nile
Top achievements
Rank 1
nile asked on 11 Mar 2011, 08:45 PM
HI
I am trying to create a WPF application and want to use data reports
I have added all the references as mentioned in http://www.telerik.com/help/reporting/wpf-report-viewer-embedding-the-viewer.html
I can see report viewer control on the window after draging it onto it
But when i build my application i get the below error

Error 7 The tag 'ReportViewer' does not exist in XML namespace 'clr-namespace:Telerik.ReportViewer.Wpf;assembly=Telerik.ReportViewer.Wpf'. Line 7 Position 10. C:\Users\Nilesh\Documents\Visual Studio 2010\Projects\Impulse1\Impulse1\rep_window.xaml 7 10 Impulse1

Also I can see certain warnings

Warning 1 The referenced assembly "Telerik.Reporting, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Impulse1

Warning 2 The referenced assembly "Telerik.ReportViewer.Wpf, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Impulse1

Warning 3 The referenced assembly "Telerik.Reporting.XamlRendering, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Impulse1

Warning 4 The referenced assembly "Telerik.Reporting, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Impulse1

Warning 5 The referenced assembly "Telerik.ReportViewer.Wpf, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Impulse1

Warning 6 The referenced assembly "Telerik.Reporting.XamlRendering, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Impulse1




Please assist me
I am using Visual Studio 2010 .net Framework 4 

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 16 Mar 2011, 04:50 PM
Hi nile,

Please check out the How to: Add report viewer to a WPF application help article that elaborates on the topic and make sure that you are not using the .NET Client Profile as Framework.

Kind regards,
Peter
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
veena
Top achievements
Rank 1
answered on 21 Mar 2011, 05:36 PM
I was getting this error too, my project was using 4.0 framework Client profile, after I changed it to 4.0 framework and reloaded the project the error disappeared.
Tags
General Discussions
Asked by
nile
Top achievements
Rank 1
Answers by
Peter
Telerik team
veena
Top achievements
Rank 1
Share this question
or