VB.Net/Crystal Report missing Keycodev2.dll

Posted on 2006-03-24
Last Modified: 2012-05-05
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?
Question by:directred
    LVL 1

    Expert Comment

    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?
    LVL 34

    Expert Comment

    by:Brian Crowe
    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.
    LVL 4

    Expert Comment

    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  

    Author Comment

    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.

    LVL 4

    Accepted Solution

    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.
    LVL 4

    Expert Comment

    Did you get it to Work?

    Author Comment

    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.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 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

    17 Experts available now in Live!

    Get 1:1 Help Now