Skip to Content

Resolving a conflict between Crystal Reports versions/runtimes

Hello,

We use a third-party application, which depends on Crystal Reports 32-bit runtime 13.0.5 in order to be able to view reports within the application.

We also have a need to write our own console app in Visual Studio which would leverage the CrystalDecisions libraries in order to write a process which can open Crystal files and save them as PDFs.

The problem seems to be that when I install Crystal Reports for Visual Studio (13.0.24 is the newest), I'm able to run my console app, but it seems to break the third-party app. I can no longer open reports in that application (which appears to use the Crystal Reports Viewer), as it seems to be looking for references/assemblies that aren't there.

If I uninstall Crystal Reports for Visual Studio and re-install the Crystal Reports 32-bit runtime, the third party app works again, but my console app fails, throwing the following error:

{"Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.":"CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"}

I'm wondering if these two installations (Crystal Reports for Visual Studio and Crystal Reports 32-bit runtime 13.0.5) are overwriting the same files. Is there a way that I can have both of these installed and working without being affected by the other?

I greatly appreciate the assistance!

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Feb 04, 2019 at 06:31 PM

    Read the info on the WIKI page, copy the file on that page and rename it to the other exe name and it will redirect the other program to use the 2000 version.

    https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

    Don

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 04, 2019 at 10:04 PM

    2719939 - Crystal Reports for Visual Studio Runtime versioning - side by side ability - what to do with WinFormCRViewer.zip from download WIKI

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 05, 2019 at 03:13 PM

    Don,

    Thanks for the link, and for referring me to the instructions in the info about knowledge base #2719939.

    If I'm reading correctly, the instructions appear to suggest that I update the third party application's config file. Assuming this is not an option for us, would it be possible to have the Visual Studio app.config file redirect to the old version of Crystal instead?

    When I try flipping the binding redirect OldVersion and NewVersion attributes in Visual Studio, I run into this error:

    {"Method 'PrintReportWithDialog' in type 'CrystalDecisions.CrystalReports.Engine.FormatEngine' from assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' does not have an implementation.":"CrystalDecisions.CrystalReports.Engine.FormatEngine"}

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 07, 2019 at 07:23 PM

    Hi Bob,

    Is that error happening in your app or the third party app?

    Did you:

    Uninstall the old version

    Install SP 24 MSI, may need both 32 and 64 bit MSI, not sure what the other app uses.

    Edit their app.config if they have one and add in the redirect.

    If that's what you did try adding that redirect.

    If you look at the original config file it has a line for each component.

    You do not need to use that redirect in your app.

    Don

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.