• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 494
  • Last Modified:

VB.Net/Crystal Report missing Keycodev2.dll

I get the message "Invalid or Missing Keycodev2.dll" when I try and run a Crystal Report in a PC that I have deployed a system that uses Crystal Reports.

1. The deployed PC does not have Crystal Reports package
2. I created the reports in CR 8.5 and link the viewer Reportsource to the file paths
3. I have tried registering keycodev2.dll

I read something that I should have Crystal references should be version 9.2.3300.0. but where would I get these versions without having to upgrade to version 9.

Any ideas on what I have done wrong?
0
directred
Asked:
directred
1 Solution
 
reclusiveCommented:
Have you included the dependancies in the solution for Crystal Reports on the client application? T
I had this a while back and it fixed after I did that...

What version of Studio are u using?
0
 
Brian CroweCommented:
did you include the merge modules in your deployment package?  One of the merge modules has a property where you will need to enter your keycode (I can't remember which one off hand).  The keycode is the same one you used to install crystal reports.
0
 
sr101880Commented:
The merge module is Crystal_regwiz2003.msm.  Right click and select properties once you have imported it into your setup project.  Then hit the plus key next to merge module properties and enter your key under license key without any dashes.  Also, make sure MDAC is same version as the developement machine or better.  It can be downloaded from Microsoft at http://msdn.microsoft.com/data/mdac/default.aspx 
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
directredAuthor Commented:
I am getting confused and apoligise for these silly questions but I am new to VB.Net version 2003.

What I am getting confused at is the following....

1. Do I add the file Crystal_regwiz2003.msm to my deployment package. I did this and could not see any property that said license key

2. Where abouts do I then put this merge file and how do I get it. I done a search on my PC and added it from the location found.

3. I have added all the Crystal Reports dlls to the setup dependancies.

Help!!!
0
 
sr101880Commented:
Don’t apologize for your questions they aren’t silly when you don’t understand.  You are on the right track adding the msm to your deployment package.  I will walk you threw the steps to make sure you didn’t miss one.

1.      Open the solution explorer.  Right click on your solution and select add, new project.

2.      Under project types select setup and deployment projects.

3.      Create a new setup wizard project. (Only do this if you don’t have one already.  You could also remove your old one from the project after if you wanted to create a new one.)

4.      Follow the instructions on the screen for the wizard.

5.      Select Create a setup for a windows application if that is what you will be deploying.

6.      You shouldn’t need to include your source files as an output for this project.

7.      After you have completed the wizard, right click on your setup project in the solution explorer.

8.      Select Add, Merge Module.

9.      Find Crystal_regwiz2003.msm and select open.

10.      Crystal_regwiz2003.msm should now show up in the solution explorer under your setup project.

11.      Right click on Crystal_regwiz2003.msm, and then select properties.

12.      At the top of the properties window there should be a property called MergeModuleProperties.  Click on the + sign next to it.

13.      This will reveal the License Key property.

14.      Place your license key code in this box without any “–“in it.

15.      You license key code can be found on the help menu by clicking on about Microsoft development environment.  Under installed products your key code should appear next to crystal reports for visual studio .net

16.           After you get your setup project the way you want it.  Just right click on it and select build.  To deploy it just copy the contents of the debug or release folder under the setup project folder on your Hard drive to the desired setup location.  Then click on setup, if all goes well your program will be running in no time.

Sometimes you need to add another msm file or two if you hit some snags with the install.  Let me know if you run into anything.
0
 
sr101880Commented:
Did you get it to Work?
0
 
directredAuthor Commented:
Excellent. Now not getting the error. The report is not showing but that must be something in my code which I will investigate.

Really appreciated your time and effort in answering this question. Thanks again.



0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now