Solved

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

Posted on 2004-03-23
11
2,891 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

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. …
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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