cancel
Showing results for 
Search instead for 
Did you mean: 

error runtime

0 Kudos
238

Hi support,
I developed applications with Visual Studio 2010 which I distributed with CRforVS_redist_install_32bit_13_0_22 and all ok.

Now I have installed Visua Studio pro 2019 on W10 and the extension for Crystal Report.
I updated one of my projects dll to the new version replacing dll reference.

I tried the project that uses Crystal, but I get error:
Error file "xxxxxxx" {"...xxxx ID xxxx ..."}.rpt:
Could not load database information.

What should I do?
I am in the situation that I can no longer update my apps to customers otherwise everything freezes (since they have the previous version of runtime).

I ask for support
thanks

A.

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

Your customers are going to have to install the same version of the runtime that was used to compile the latest application update. There is no way around this if you want it to work.

Since you have applications that were developed in different versions of VS with different versions of the SDK, take a look at the wiki. Specifically search for "2719939" - that line is a link to instructions for how to run applications that have been compiled with different versions of the SDK. Beneath that, there is a download for "WinFormCRViewer.zip" which is an example of the configuration changes.

-Dell

Answers (1)

Answers (1)

0 Kudos

Hi Dell,

thanks for reply.

If I have a customer with 3pc 32 bit and 5pc 64 bit, and I develop with VS2019 with engine for Visual Studio and runtime 13.0.27.3480 64bit, what should I distribute? I don't know how to get out of it. If I install one, don't others work? and viceversa?

thanks

0 Kudos

in my Pc with Visual Studio 2019 I have installed:

SAP Crystal Reports for Visual Studio (SP27) installation package for Microsoft Visual Studio IDE

and

SAP Crystal Reports for Visual Studio (SP27) runtime engine for .NET framework MSI (64-bit)

Then, I distribute this to my customers (because app developed in visual studio is x86):

SAP Crystal Reports for Visual Studio (SP27) runtime engine for .NET framework MSI (32-bit)

it is correct?

thanks

0 Kudos

Should I have to uninstall the 64-bit runtime that installed itself when I did put the package for IDE? And then install the 32 bit runtime so that I use these dlls in my x86 (32bit) projects?

DellSC
Active Contributor
0 Kudos

Which "bitness" of the Runtime gets installed is based on the bitness of your application - NOT on the bitness of the OS!

If your app is compiled as 32-bit, you'll install the 32-bit runtime, regardless of which OS the user has. If your app is compiled as "Any CPU", you'll install the 32-bit runtime on the 32-bit OS and the 64-bit runtime on the 64-bit OS. Also, you must use one of the runtime installation packages - you cannot just copy the assemblies to the user's machine as part of your install. There are a bunch of registry keys that are added or updated in order for everything to work correctly and that won't happen without the runtime installer from SAP.

On your development computer where VS is installed, you do NOT install any of the runtimes. The package that installs the integration with VS gets you everything you need.

-Dell