Solved

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

Posted on 2004-03-23
11
2,913 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 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rounding duration within 20 min intervals 3 53
Null as value for Dynamic parameter in CR2008? 9 67
Parameter Requester showing comma in number field 7 56
Timezone help 5 45
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

734 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