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,428 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calling stored proc in EDMX 11 23
Memory Usage 2 50
Syntax error 9 45
SQL Query Producing decimal places when it shouldn;t be 8 35
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
A short film showing how OnPage and Connectwise integration works.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

911 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

19 Experts available now in Live!

Get 1:1 Help Now