Link to home
Start Free TrialLog in
Avatar of kishorebanda
kishorebanda

asked on

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

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
Avatar of topdog770
topdog770
Flag of United States of America image

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?


Avatar of kishorebanda
kishorebanda

ASKER

hi topdog770,

I am seeing it on client machine..
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

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??
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?
Opps!!!!!!!
I am using Bundled Version of Crystal Reports. n it doesnot accept the product key. :((
In Visual Studio do a help about the number after the Crystal Reports for Visual Studio .NET  is what you want to use.
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....
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.

:(( do u have any more suggestions for me????
Yeah.. was just looking to see how I've been doing it.. and realized that I HAD created a crystal reports for .net install
how did you do that???
I forgot about it, but the production install was made using Install Shield and the mergemodules
ASKER CERTIFIED SOLUTION
Avatar of topdog770
topdog770
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
for ur info, it worked topdog!!!!!!!!!!!!!!11
I'm glad to hear that it worked!  Crystal can be a really tough creature some times.
Can I get a copy of that install I am having same problem as above