We help IT Professionals succeed at work.

File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found.

PradeepYadhav
on
3,209 Views
Last Modified: 2007-12-19
I have developed few reports using vs.net. Its working fine on my machine.
I want to make this run on a client machine where he doesn't have crystal reports installed.


I am getting this following error.
File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found.

.netframework is instatlled and version is 1.1
Comment
Watch Question

Mike McCrackenSenior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013

Commented:
How did you install the VB.Net application?

Did you create an installation package that include all the required support files?

mlmcc
Senior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
additionally you'll need the license-key (found in studio -> help -> info). the key shown there fits to the mergemodules automatically installed with your studio below your program files-folder\common files\merge modules.

Author

Commented:
I havent tried your above suggestions.

Steps I did till now.

CrystalDecisions.Web.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.CrystalReports.Engine.dll
CrystalKeyCodeLib.dll

Stuck in this error now.

Cannot find KeycodeV2.dll, or invalid keycode





Commented:
have a look at my last post. i'll explain in some minutes. wait a minute...

Author

Commented:
I haven't tried your above suggestions.

I am using vs.net and c#

Steps I did till now.

Copied all these dlls from development machine to bin directory of my testing machine which doesnt have crystal reports.

CrystalDecisions.Web.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.CrystalReports.Engine.dll
CrystalKeyCodeLib.dll

Stuck in this error now.

Cannot find KeycodeV2.dll, or invalid keycode
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
perhaps informations on manually registerings are found at links provided by mlmcc. i know that there ARE infos, but not exactly where this topic is located.

Commented:
only info - key is located in registry at
HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\Crystal Reports\VSNET\Keycodes\CR9 NET
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.