Skip to Content

Getting error on Server but not on Development Machine

On my local development machine I am able to run my application just fine, whether in debug or running the executable from the command line. However, when I deploy the executable to the Server I get the following error:

CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The document has not been opened.

I have checked that all paths and permissions are good. Is this a version discrepancy issue?

On my local I have:

  • CrystalReports version for Visual Studio - version 13.0.24.2970
  • CrystalReports runtime engine for .NET Framework (64 bit) v. 13.0.24.2970
  • CrystalReports runtime engine for .NET Framework (32 bit) v 13.0.1.220

On the server I tried installing the same, but we do not have visual studio installed on the Prod server, so I can't use the same install tools I used on my local which have been provided by my company - the CR for VS install included the 64 for my local install: CRforVS_13_0_24.exe

So instead on my Server I have:

  • CrystalReports runtime engine for .NET Framework (32 bit) v 13.0.1.220 (same as local)
  • CrystalReports runtime engine for .NET Framework (64 bit) v. 13.0.5.891 (lower version than local)

Is this version difference with the 64 bit the source of my issue? How can I find the correct version to download the 13.0.24.2970 without Visual Studio ( I assume I don't need to install VS on the Server to get this to work). I have been going around in circles looking for the msi version for CrystalReports runtime engine for .NET Framework (64 bit) v. 13.0.24.2970. Any help or suggestions are much appreciated!

UPDATE: I was able to find the download for CRRuntime_64bit_13_0_24.msi Once I installed that on the machine I was able to run my application with no problem. It took me over a week to track down this issue, so for anyone else getting the error I had, best bet is a version descrepancy between your dev machine and the deployment server.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 08, 2020 at 08:30 PM

    You'll need to have the SP24 version of both the 32-bit and 64-bit SDK runtimes installed because it sounds like your application was compiled for 32-bit. You need to go to the Crystal for VS wiki page to get to the download link. I just moved to a new computer, so I don't have all of my bookmarks transferred yet.

    -Dell

    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.