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,414 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
 

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

16 Experts available now in Live!

Get 1:1 Help Now