Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

vb console app won't work on server

Hi,

I have Crystal Reports 2013 Pro, VS 2013 Pro, on a Windows 7 machine.  I wrote a simple crystal report, and a simple console app to export the crystal as a PDF.  Just starting "simple". The process described below was done in both 32 and 64 bit.

It works fine on my dev computer.  Move the crystal and exe to a server, and it fails.  On the server I've installed both 32 and 64 bit runtime, also installed SAP CR for Visual Studio.  currently only 64 bit runtime and CRVS installed on server (ver 13.0.15.1840 both).

Server is Windows 2008 R2.

Error is "An error has occurred while attempting to load the Crystal Reports runtime.  Either the Crystal Reports registry key permissions are insufficient or not installed correctly".

vb code below.

Hopefully you can help with this.

Thanks,

Bill

vbcode.txt.zip (773 B)
Former Member
replied

Hi Bill

This is your problem:

c:\program files (x86)\Business Ojbects\Common\4.0\managed\dotnet2\CrystalDecisions.CrystalReports.Engine.dll version 12.3.2000.1596

As it is, the project is using version 12.x assemblies. You are deploying version 13.x assemblies. Thus you have two choices;

1) Deploy version 12 runtime.

2) Recompile the app with version 13 assemblies.

Version 12 runtime is available from here:

Downloads for SAP Crystal Reports and others

Note that v 12 was 32 bit only.

- Ludek

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question