cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal report runtime version dependency

sg2707
Participant

Hello All,

I have this issue always when the application is built with a particular crystal report version for VS [windows application built in visual studio], to run the application always need the exact same runtime version in the target system.

say, i use version 13_0_16 then i need 13_0_16 runtime in the machine where i run my application. Else i will get an exception. what is contradictory here is that, now a days crystal report runtime cant be installed if there is a new runtime already installed in the system. So how should i handle this if there is already a runtime installed which is used by one application and now i need to use this new program which uses another version of runtime.

Is there a way other than rebuilding both applications to the same runtime? why crystal report doesnt use the latest version when it run. so weird.

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor

There have been a lot of changes in the CR for VS SDK over time - some of them bug fixes, some for working with newer OS's, some to improve the overall functionality. So, when you compile your application with one version of the SDK, that's the version it expects to have for the runtime.

The reason why you can't install two versions of the runtime is because much of the SDK is still based on COM objects internally. COM objects need to be registered on the machine and you can't register two versions with the same name and GUID.

-Dell

sg2707
Participant
0 Kudos

So the answer will be, there is no option other than rebuilding the application to the correct version of CR?
I even tried to use the options like 'copy local' for the references so that the application can use the required references from the application folder. Tried using the VS option 'Specific Version - False'. But this too doesn't work. Its really difficult to handle this rebuilding tasks for each and every version.

sg2707
Participant
0 Kudos

How ever one interesting thing to note is. if we use version 10.5.3700.0, we can install the runtime related to it in the machine without removing the other installed versions.

DellSC
Active Contributor

That is because that's an older version of the SDK - it's 10.x instead of 13.x. With each service pack of the Crystal for VS SDK, the "x" part of 13.x changes, but the "13" doesn't. Also, using the 10.X version of the SDK is not supported in VS 2010 or newer - it may or may not work (probably not).

-Dell

Answers (1)

Answers (1)

János_at_SAP
Advisor
Advisor
0 Kudos

Hi ,

You can find some useful information at the SAP Crystal Reports Developer for VS Wiki at s

Also you can find the answer for your question in this post:

Best Regards,

János

sg2707
Participant
0 Kudos

The post doesnt answer my question. My question is more about the version of crystal referenced in the application v. runtime installed in the client.