Dll conflicts with telerik reporting dll

4 posts, 1 answers
  1. Ramesh
    Ramesh avatar
    4 posts
    Member since:
    Jul 2012

    Posted 29 Jul Link to this post

    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)

  2. Answer
    Katia
    Admin
    Katia avatar
    308 posts

    Posted 03 Aug Link to this post

    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 resolved 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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ramesh
    Ramesh avatar
    4 posts
    Member since:
    Jul 2012

    Posted 11 Aug in reply to Katia Link to this post

    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

  5. Katia
    Admin
    Katia avatar
    308 posts

    Posted 12 Aug Link to this post

    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
Back to Top