Problem with .NET loading wrong Crytal Reports runtime during execution
Posted on 2006-07-09
i'm having a very annoying problem that i can't seem to resolve. On one of our test machiens we installed our C# .NET client software, which, as part of the installer, installs the crystal reports 11.0 runtime environment.
This laptop has the libraries for Crystal Reports 9.0 installed as well (back when Business Objects was Crystal Decisions).
.NET won't use the 11.0 libraries. How can I either tell my app or .NET to use 11.0 libraries. I can change this globally on the machine if that is easiest. Nothing, to my knowledge, cares about 9.0 (I am willing to uninstall it and break something if it does).
When I examine the loaded libraries using Process Explorer by Sys Internals, i can see when i run the app on my machine, the Crystal Reports libraries loaded on my machine are all coming from the GAC and
c:\program files\common files\Business objects\3.0\
Where as on the bad laptop, they are all coming from the GAC and
c:\program files\common files\Cyrstal Decisions\1.0.
On both of the machines, i have done a full install of Crystal Reports 11.0 but nothing stopped the bad laptop from loaded the 9.0 libraries.