Solved

Problem with .NET loading wrong Crytal Reports runtime during execution

Posted on 2006-07-09
7
221 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
  • 4
  • 3
7 Comments
 
LVL 11

Accepted Solution

by:
vo1d earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
which net version do you use?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 5

Author Comment

by:jjacksn
Comment Utility
1.1
0
 
LVL 11

Expert Comment

by:vo1d
Comment Utility
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
Comment Utility
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
Comment Utility
no, that is only the method documentation(for intellisense) for the developers.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Article by: Ivo
Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now