Solved

ERROR: Could not load a file or assembly 'CrystalDecisions.Shared, version=9.1.5000.0,culture=neutral,publickeytoken=692fbea551e1304' or one of teh dependencies .

Posted on 2006-07-06
18
2,435 Views
Last Modified: 2011-01-18
Hello experts,

I am having a reallly bad time today as i am  not able to  overcome the following error

***********
Could not load a file or assembly 'CrystalDecisions.Shared, version=9.1.5000.0,culture=neutral,publickeytoken=692fbea551e1304' or one of teh dependencies .

*****************

I have added merge modules: Crystal_RegWiz2003.msm, Crystal_Database_Access2003_enu.msm, Crystal_Database_Access2003.msm and Crystal_Managed2003.msm and even VC_User_CRT71_RTL_X86_---.msm and VC_User_STL71_RTL_X86_--- .msm in my setup file.

I have read in a link as to
*****************
......Reports will have to be loaded from disk. ****Reports can be loaded from disk by specifying a file path using the .Load() method of the Reportdocument object. When deploying applications that do not embed report files, the report files must be manually added to the setup projects****.

****************************

what do we mean by manually loading the Reportdocument object and how do we do that

Any help would be greatly appriciated

Kishore
0
Comment
Question by:kishorebanda
  • 9
  • 8
18 Comments
 
LVL 12

Expert Comment

by:topdog770
ID: 17054556
Hi!  I can certainly relate to what you are feeling.

Are you seeing the can not load assembly error when running the program on your computer or on a 'client' machine?


0
 

Author Comment

by:kishorebanda
ID: 17054608
hi topdog770,

I am seeing it on client machine..
0
 
LVL 12

Expert Comment

by:topdog770
ID: 17054618
Have you seen this document yet?

http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf



We've had problems at times getting the .net setup & deployment project to work correctly so I frequently will 'cheat' and install crystal reports on the client computer using this ( a self -contained msi that installs the needed crystal reports components )

http://support.businessobjects.com/communityCS/FilesAndUpdates/cr9netredist.zip.asp

0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:kishorebanda
ID: 17054668
wow ur very fast."Hats of to u""
yes i did n i followed every step. But i did not understand except for the one i have mentioned earlier
***"manually loading the Reportdocument object and how do we do that". I am downloading the file..
where should i install them on client??
0
 
LVL 12

Expert Comment

by:topdog770
ID: 17054696
yeah.. using the cr9netredist.zip file.. install the msi on the client machine.

On your development machine, do you have crystal report, I'm presuming, that's used by your application and displays correctly?
0
 

Author Comment

by:kishorebanda
ID: 17054770
Opps!!!!!!!
I am using Bundled Version of Crystal Reports. n it doesnot accept the product key. :((
0
 
LVL 12

Expert Comment

by:topdog770
ID: 17054784
In Visual Studio do a help about the number after the Crystal Reports for Visual Studio .NET  is what you want to use.
0
 

Author Comment

by:kishorebanda
ID: 17054795
sorry i mean when try to run the cr9netredist.msi file its asking for product key and as i have Bundled Version of Crystal Reports on server. So, the product key is not accepted....
0
 

Author Comment

by:kishorebanda
ID: 17054805
i opened up Visual studio ide n selected help->about microsoft development environment -crystal reports for visual studio .net and the 19 digit code besides it.

0
 

Author Comment

by:kishorebanda
ID: 17054824
:(( do u have any more suggestions for me????
0
 
LVL 12

Expert Comment

by:topdog770
ID: 17054834
Yeah.. was just looking to see how I've been doing it.. and realized that I HAD created a crystal reports for .net install
0
 

Author Comment

by:kishorebanda
ID: 17054847
how did you do that???
0
 
LVL 12

Expert Comment

by:topdog770
ID: 17054860
I forgot about it, but the production install was made using Install Shield and the mergemodules
0
 
LVL 12

Accepted Solution

by:
topdog770 earned 250 total points
ID: 17054889
i put a copy of the installation here...

http://www.thomastucker.us/a/

I'll remove in a few minutes but feel free to download it

0
 

Author Comment

by:kishorebanda
ID: 17055210
thanks a lot topdog ur a saviour( i am an intern and this is my first real time experience).
 I have come back from my office. I will install it as soon as i get back to offfice.
Do i need any product key to install this.
once again thanks a lot for the support
0
 

Author Comment

by:kishorebanda
ID: 17057769
for ur info, it worked topdog!!!!!!!!!!!!!!11
0
 
LVL 12

Expert Comment

by:topdog770
ID: 17059014
I'm glad to hear that it worked!  Crystal can be a really tough creature some times.
0
 

Expert Comment

by:Paul_Schroeder
ID: 34629504
Can I get a copy of that install I am having same problem as above
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 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