Solved

Problem with .NET loading wrong Crytal Reports runtime during execution

Posted on 2006-07-09
7
225 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp.net repeater server posting 5 38
GET INFO ABOUT WHAT THE PRINTER IS DOING ? 11 76
Timeouts during development 3 28
C# Change the instruction to user. 11 39
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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