vb console app won't work on server
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 184.108.40.2060 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.
Ludek Uher replied
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:
Note that v 12 was 32 bit only.