Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem with .NET loading wrong Crytal Reports runtime during execution

Posted on 2006-07-09
7
Medium Priority
?
227 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 2000 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
Industry Leaders: 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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

704 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