Solved

Problem with .NET loading wrong Crytal Reports runtime during execution

Posted on 2006-07-09
7
226 Views
Last Modified: 2010-04-16
Hi All,

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.

Any thoughts?
0
Comment
Question by:jjacksn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 11

Accepted Solution

by:
vo1d earned 500 total points
ID: 17067908
in your project path reference folder, setup all crystal reports dlls with specific version = true and copy local = true.
then you will have to deploy your app with the local copied dlls of crystal report, so you won't have to install on every machine the dll's.
0
 
LVL 5

Author Comment

by:jjacksn
ID: 17070903
I see the copy local property , but I do not see the "specific version" property.  Is that property found by clicking on the specific library or the References folder in its properties?

I do see a Strong Name property but i can't change it.
0
 
LVL 11

Expert Comment

by:vo1d
ID: 17074039
which net version do you use?
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 5

Author Comment

by:jjacksn
ID: 17075195
1.1
0
 
LVL 11

Expert Comment

by:vo1d
ID: 17075394
oh, i only have vs2005 installed on my homemachine, will take a look at may workmachine tomorrow. think, that this is a property for net2.0.
i think there is no need for that property because its only net 1.
so give it a try what you have setuped right now.
0
 
LVL 5

Author Comment

by:jjacksn
ID: 17083682
vo1d, this seems to work.  

there is a follow up issue, however.  

the copy local options copies the dlls and creates two xml files with the same name as the libraries minus the .dll part.  these files contain what looks like a list of methods available.  Does these .xml files need to go with the dlls in the deployment?
0
 
LVL 11

Expert Comment

by:vo1d
ID: 17083846
no, that is only the method documentation(for intellisense) for the developers.
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question