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

Dll conflicts with telerik reporting dll

3 Answers 188 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ramesh
Top achievements
Rank 1
Ramesh asked on 29 Jul 2016, 06:00 PM

Hi telerik support

I have a telerik license for the wpf controls and we are using 2012 version (2012.2.725.40).

Now, i want to try the telerik reports. 

For this i'd created a separate solution (Visual studio solution) which contains 2 projects (one for reporting lib and another one for wpf) which is working fine with no issues.

Now the problem is when i try to integrate with my existing wpf application, what i did as follows

1. Added the ReportLib project to the existing solution

2. Added new window for the report in which added a reportViewer control ( as given by the telerik samples, which is also working fine as i said above)

Now the issue is, Since i'm already using telerik controls inside my application, the report viewer is not showing in the window

Can you please help me, how to resolve this?

NOTE: I'd also tried adding the latest dlls(  Telerik.Windows.Data.dll, Telerik.Windows.Controls.Input,Telerik.Windows.Controls.Navigation, Telerik.Windows.Controls). by doing so, my existing controls are not working (build error)

3 Answers, 1 is accepted

Sort by
0
Accepted
Katia
Telerik team
answered on 03 Aug 2016, 10:54 AM
Hello Ramesh,

It seems like the version of Telerik UI Controls for WPF is older than the one required by WPF Report ViewerThe dependencies for Telerik Reporting and UI for WPF are described in the Upgrade Path help article where you need to select the version of Telerik Reporting in use and check the corresponding WPF Report Viewer Dependencies section.

For example, the latest version of the viewer is built with Telerik UI Controls for WPF 2016.2.613.40. If you are using a newer version consider adding binding redirects.

You can also check Deploying WPF Applications help article for additional details.


In case, the issue is not feel free to open a support ticket for Telerik Reporting and attach the problematic application so we can check the settings.


Regards,
Katia
Telerik by Progress
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 Feedback Portal and vote to affect the priority of the items
0
Ramesh
Top achievements
Rank 1
answered on 11 Aug 2016, 07:41 AM

Thanks for the reply

Its working fine now after i upgraded all the dlls to the latest one.

Here comes one more issue with WCF Services

We are using the WCF service for the wpf application to load all the data from the backend. And for the reporting also we need to give input to the telerik reporting engine from the wcf service. We tried giving the ObjectSource, but the data is not loading in the report engine

Can you please help me with a small sample project which uses WCF service as the datasource for the reporting engine?

I tried find on the forum/google but doesnot help me much

Thanks in advance

Ramesh R

0
Katia
Telerik team
answered on 12 Aug 2016, 01:56 PM
Hi Ramesh,

Check if the type of data you want to load into ObjectDataSource is supported by this component - Supported object types. Also, verify that the project with reports references the assembly with data objects.

Attached is a working example demonstrating how to show the data in the report with ObjectDataSource component in WFP application using WCF service. You might need to run the Upgrade Wizard in Visual Studio to update Telerik Reporting references to the version installed on your machine.

If the above information does not help, please open a support ticket for Telerik Reporting and attach a demo project reproducing the issue (or modify the attached one) so we can give you further suggestions.


Regards,
Katia
Telerik by Progress
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Ramesh
Top achievements
Rank 1
Answers by
Katia
Telerik team
Ramesh
Top achievements
Rank 1
Share this question
or