PDA

Click to See Complete Forum and Search --> : Cannot find keycodeV2.dll, or invalid keycode


shammie
Jan 30th, 2003, 02:35 AM
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.

EagleEye
Jan 30th, 2003, 03:14 PM
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

shammie
Jan 30th, 2003, 10:57 PM
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

EagleEye
Jan 31st, 2003, 03:07 AM
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.