Issue with Crystal Report compatibility (version 13.0.20.0) to new WPF Application

-1

In existing web project, Crystal Reports(CR) are generated using version 13.0.2000.0 and it needs CR Runtime Engine 32 bit installed on the machine. The (CrystalDecisions) dlls are referenced from a folder 'dependancy' in the project. The project is hosted locally and Web Service is exposed for others to get reports.

Now, I have created WPF project and have consumed the web service. My plan is to get the Crystal Report and show it in my WPF App.

I am facing following issue: 1. To add Crystal Report Viewer control (in toolbox) in WPF project, I need software CRForVS. I am not getting its older version that will support CR 13.0.20.0. If I install relevant version of CRForVS i.e v20, it seems to be referring Crystal Decisions 13.0.35.0. Which is not compatible with 13.0.20.0. And I get exceptions like 'Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

I am reluctant to upgrade existing version 13.0.20.0 in Web app because it is a legacy app. Is there any other way? Or am I missing something?

c#
wpf
crystal-reports
asked on Stack Overflow Dec 11, 2019 by Pankaj Pawar

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0