"Cannot find keycodev2.dll or invalid keycode"

Hi,
   I created winforms and was able to deployed it using NTD. I used VS.Net 2002 and VB.Net. I have crystal reports in my forms. Everything is working except when i tried to view the reports in client (Win 2000, installed w/ .Net framework only not VS.Net 2002). I got this error:  "Cannot find keycodev2.dll or invalid keycode" 
    Please help, i really don't know how to solve this problem. Thanks


Answer this question

"Cannot find keycodev2.dll or invalid keycode"

  • Dr.9

    Hi:
    I have read about the problem of "cannot find KeycodeV2.dll"  but I still haven't found the solution. I open the Crystal_regwiz2003.msm file but I don`t see where I have to put the license key. My OS is Xp . Could explain me more in detail  
    Thank you

  • dvferretm

    I would like to thank you DAVIDT very very much for your helpful contribution to this problem. You have solved a 12 months old problem that kept me sleepless. Thank you very very much.
  • baty

    Just expand the Mergemodule properties. You'll find it there
  • wpfeffer

    You will find all the soultions here

    http://msdn.microsoft.com/vstudio/team/crystalreports/gettingstarted/default.aspx

  • Raviatr

    Excellent!  Crystal Reports for .Net Registered on Development Machine, Webserver setup with CR for .Net Key... Nasty Keycode Error Gone.  Nice work sifting through all those white papers, I read through that.. whole lotta explanation, you filled in the "How to" .. well done  DavidT, thanks for posting that. :-D 

    Sb

  • Tellek Liberty

    Argh! I have done everything above and still have the same issue.  Is there somthing I amy have missed.  I ran the setup and it created a virtual directory with the file in it.  I still have the same problem.
  • Adam Gregrory

    I was having the same problem, make sure that you have the right merge modules, and make sure you add the 19 digit code that they give you when you buy the product, you can find this on VS under help>About


  • grysauto2002

    Did u find any solution to this problem
  • Yuriy T

    Thank you to both saldrett and DavidT_macktool.

    Thanks to saldrett for the location of the key.
    It only took 6 HOURS and literally hundreds of search results before I found this simple piece of information that Business Objects was nice enough to NOT supply.

    Thanks to DavidT_macktool for the merge modules to include.
    Again, after hours of sifting through search results, I finally found THIS simple piece ov information that Business Objects does not supply completely.

    My reports work perfectly now. :0)

    Thanks,
    Kerry Wano
    Senior Programmer/Analyst
    Family Health Partners
    Kansas City, MO

  • AlexanderPovalyaev

    Make sure you have all the needed CR run time files.
    http://support.businessobjects.com/library/kbase/articles/c2012421.asp

    If you do check out this link:
    http://support.businessobjects.com/library/kbase/articles/c2011205.asp

    If that does not work search for keycodev2.dll at:
    http://support.businessobjects.com/search/default.asp

    Hope this helps
    James

  • Marketa Pobudova

    I've done everything listed here and still have the same problem.
    It doesn't appear that after I enter the license key and build the project that it picks this file up.  I've made sure all of the files that DavidT listed are in there but still nothing.
    Looks like more research is in my future!

  • Bumba

    The crystal viewer uses a couple of dll's which are installed on your development machine. They are part of CR for VS.NET but not of the .NET framework. If there is no vs.net installed on the webserver these files will be missing on the server. A deployment project in VS.NET will not see the dependencies and will not include them in the setup. What worked for me (destilled out of the loads of CR docs) was creating a setup project with a couple of merge modules

    Crystal_Database_Access2003.msm 
    Crystal_Database_Access2003_enu.msm 
    Crystal_Managed2003.msm 
    Crystal_regwiz2003.msm 
    VC_User_CRT71_RTL_X86_---.msm (used for reports based on ADO.NET) 
    VC_User_STL71_RTL_X86_---.msm (used for reports based on ADO.NET) 
    The regwiz module has an License key property, here you enter the Crystal license key found in the help about of VS.NET. It will read something like AAP50-GS00000-U7000RN.


  • Basil Brunner

    Double check that you are entering the License Key and not the Registration Code. I've tripped over on that a couple of times myself... :)
  • fcastell

    DavidT,

    Thanks for the solution... worked like a charm!

    -r

  • "Cannot find keycodev2.dll or invalid keycode"