Solved

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

Posted on 2004-03-23
11
2,933 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
11 Comments
 
LVL 101

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 101

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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

631 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