Results 1 to 4 of 4

Thread: Cannot find keycodeV2.dll, or invalid keycode

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    Sri Lanka
    Posts
    2

    Cannot find keycodeV2.dll, or invalid keycode

    I have create a setup package for reporting purpose, after installed it, i tried to run the application, prompt a meassage like this "Cystal report windows forms Viewer, Cannot find keycodeV2.dll, or invalid keycode". Anyone pls help me on this.

  2. #2
    Member EagleEye's Avatar
    Join Date
    May 2002
    Location
    South Carolina, USA
    Posts
    43
    In your report project you need to ensure your references include:

    * CrystalDecisions.CrystalReports.Engine

    * CrystalDecisions.ReportSource

    * CrystalDecisions.Shared

    * CrystalDecisions.Windows.Forms

    * CrystalKeyCodeLib

    * KEYCODEV2Lib <= This one is a COM used to verify your Crystal Decisions license



    In your Setup Project you need to add:

    * managed.msm

    * regwiz.msm <= This one requires you to put your AlphaNumeric KeyCode (not the numeric one) from HELP ... ABOUT ... INSTALLED PRODUCTS ... Crystal Reports for Visual Studio.Net {This Number is the one you need} and put it in it's properties under (MergeModuleProperties) ... License Key

    * VC_CRT.msm

    * VC_STL.msm
    Eagle Eye

    "Programming is easy ... when you are done."

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    Sri Lanka
    Posts
    2

    Re: Cannot find keycodeV2.dll, or invalid keycode

    i did all the thing that you mentioned. it is working. but the setup size is very high.

    but,
    vb.net setup project automatically added the "database_access.msm" as a ditect dependency . i exclude this file from the setup because i am not using any database thing. now it isn't working.... same error... must i have to add the database_access.msm too ??

    where is the problem ?? can't i use cristal report without database_access.msm ?


    /shammie

  4. #4
    Member EagleEye's Avatar
    Join Date
    May 2002
    Location
    South Carolina, USA
    Posts
    43
    If you are making a report then you are most likely pulling data from a database. Am I wrong in thinking this? If I am right then that is why it quit working.

    If you give me a little better idea of the use of the program I may answer your question better.
    Eagle Eye

    "Programming is easy ... when you are done."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width