"Unable to install or run the applcation. The application requires that assembly Telerik.ReportViewer.Wpf Version 6.2.12.1025 be installed in the Global Assembly Cache (GAC) first.
I looked and I made a change so that my reference of Telerik.ReportViewer.Wpf CopyLocal =True
but that didn't help. I'm still getting this error. It's probably something in my configuration I need to change. Any suggestions?
8 Answers, 1 is accepted
Since Q3 2012 the Telerik.ReportViewer.Wpf control is built against .NET Framework 4.0 and therefore .NET 4 is required as otherwise we cannot install the WPF viewer assembly into GAC. We have already made some changes in the installer to improve this behavior, but for the time being you would need to install .NET 4 in order for the installer to succeed.
Greetings,
Steve
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
I checked the version looking at
%systemroot%\Microsoft.NET\Framework
and the version installed before and after I re-downloaded was
v4.0.30319
Please excuse me for the confusion - I originally assumed that you are having problems installing Telerik Reporting on your machine. On second read of your post, I now see that you are installing your own WPF application.
In that case, the error you get means that it cannot locate the Telerik.ReportViewer.Wpf.dll. Make sure the reference to this assembly is to the bin folder of your application and not to assembly from GAC. Rebuild your project after setting Copy Local = true.
Generally as long as the .NET CLR can locate the required assemblies (see: How the Runtime Locates Assemblies) you should be fine, but in your scenario this seems to be the problem. If the problem persists, please run the fuslogvw (Assembly Binding Log Viewer) which would yield pointers where your project looks for the assemblies and which assemblies are being loaded.
Regards,
Steve
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
My application is in WPF against .Net 4.5, and uses a reporting library that compiles against 4.5 as well. Both projects refer to Telerik Reporting 6.2.13.110, and the UI library uses Telerik. Windows.Controls 2012.3.1129.45. All assemblies are set with Copy Local = true, and the publish status is set to Include (Auto) or Include for all Telerik assemblies in the projects. The UI project uses Telerik.ReportViewer.Wpf 6.2.13.110.
I know the ReportViewer requires Telerik.Windows.Controls, and I'm wondering if it requires the .40 version instead of the .45 version. Can I not use reporting in 4.5 yet?
J
Thanks,
J
There are no problems expected when using a WPF app that targets .NET 4.5 and RadControls for WPF built against .NET 4.5. I've just made a sample test and everything works correctly on my end, so I suspect you kept a reference to the RadControls for WPF 4.0 version somewhere.
If you're still having problems, please run the fuslogvw (Assembly Binding Log Viewer) which would yield pointers where your project looks for the assemblies and which assemblies are being (trying to be) loaded.
Regards,
Steve
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!