Solved

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

Posted on 2004-03-23
11
2,874 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
0
Comment
Question by:PradeepYadhav
  • 5
  • 2
  • 2
11 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10657670
How did you install the VB.Net application?

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

mlmcc
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 100 total points
ID: 10657702
0
 
LVL 4

Expert Comment

by:kolpdc
ID: 10658254
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.
0
 

Author Comment

by:PradeepYadhav
ID: 10658778
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





0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 4

Expert Comment

by:kolpdc
ID: 10658800
have a look at my last post. i'll explain in some minutes. wait a minute...
0
 

Author Comment

by:PradeepYadhav
ID: 10658802
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
0
 
LVL 4

Assisted Solution

by:kolpdc
kolpdc earned 100 total points
ID: 10658915
no. only copying does not work. you will have to register the dlls and put the license-key-entry into registry. dunno how to do manually, but if you have the possibility to create an installshield-setup, create a new project (using the computer that has vstudio (and with it crystal and its mergemodules) installed) and add following modules (i cut the words short):
(CR = Crystal Rep...)

CR Runtime .Net (Data Access)
CR Runtime .Net (Managed Code)
CR9 - Seagate Registration Wizard
CR9 - .NET Managed components
CR9 - Crystal Reports Engine components

for CR9 - Seagate Registration Wizard set the property license-key to the key-value you'll find in your vstudio -> help -> info -> cr-key

then run this setup at clientcomputer you wish to use cr. it installs all required dlls and the registration-key.

if you have no possibility to build setup you will have to try to get the information how to register the dlls and the license-key.
0
 
LVL 4

Expert Comment

by:kolpdc
ID: 10658960
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.
0
 
LVL 4

Expert Comment

by:kolpdc
ID: 10659174
only info - key is located in registry at
HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\Crystal Reports\VSNET\Keycodes\CR9 NET
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

746 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

11 Experts available now in Live!

Get 1:1 Help Now