Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I have a created and deployed a vb.net class library that includes a crystal report. I have followed all the deployment steps advised by crystal decisions - including adding the licence key code in the properties field in the regwiz.msm file included in the setup package and I have the .net framework on the server on which I am deployed the package, I have also tried installing the .net service pack 2.

I am getting the 'keycodev2.dll file is missing or not valid error message. I have tried manually adding this file to the package, but with no luck. Crystal Decisions mention something about new and old dll packages, but I'm not sure what they are talking about and if it has anything to do with this error. If anyone could offer any assistance I would be a very happy kiwi, since losing the america's cup I haven't been the same.

Posted

I too had this same problem. What I did to solve the issue was:

 

Added a new blank setup project to my current solution. Once the project is created in your solution. Right click on the project. Click Add, then Merge Module. Find the regwiz.msm module and add that. Then under the properties for that file, add the license key you received from Crystal Decisions in the License Key field.

 

Make sure you enter the correct key. I believe you get a few keys/registration numbers back from Crystal Decisions when you register your product.

 

Also, you can try running this on both the dev machine, (then rebuild solution and deploy again) and the client machine.

 

ftp://ftp.crystaldecisions.com/outgoing/EHF/cr10netwin_en.zip

If it works... don't worry, I'll fix it.
Posted

Thanks for the advise, but for some reason it didn't work.

 

I tried adding another setup project with the merge module regwiz with the licence contained inside. I didn't add any of the other merge modules in the new project, was I supposed to? And I didn't delete my old setup project, which contained all my other required merge modules. Once I deployed the solution to my database server and used .nets regasm and gacutil utilities to register the class library to enable my stored procedure (COM CLIENT) to instantiate the setup package was unable to.dll error', I also tried installing that patch, but nothing came of it.

 

I think I better explain a little more what I am trying to do:

 

I have wrote a little .net class library that reads xml from a file, when received I use this xml to pass to a crystal report (within a dataset) as a datasource and then I print the result in PDF. Everything works cool in development. The thing is a want to instantiate the class library via a stored procedure, therefore I have to use interoperability to enable my COM CLIENT to see it. Within my setup package I have included all the required merge modules - Database access, Database access enu, VC_CRT, VC_STL (I have set the module retargetable folder to the Systems Folder - in VC_CRT, VC_STL) and regwiz and I have included the 19 digit key code in the licence properties value. I have the .net framework installed on my destination database server as well. I don't have a clue why I am still getting this error.

 

Someone must have deployed a setup, which included a crystal report. If someone could offer any help or some detailed instuctions I would be extremely happy, cause this is really, really anoying me now.

Posted

This error it is deu to an invalid keycode. When you use crystal reports from VS.NET you need to enter the keycode, or at least in the merge module of the instalation. (license)

 

A valid One: 1231456789

Posted

I did enter the correct 19 digit keycode posted to me by Crystal.

To double check all I did was go to help-about and there it is - has documented by Crystal deployment pdf. I have posted this problem also to Crystal Decisions and I am awaiting their reply. But can anyone tell me something I don't already know?

  • 2 months later...
Posted

KeycodeV2 mess

 

Hope this helps... I've fought this battle and here are my lessons learned.... First, if you are using .NET 2003 drop the regwiz.msm and add the Crystal_Regwiz2003.msm.

 

When entering the keycode, you must enter it as YOU ORIGINALLY ENTERED IT.. If you entered it with dashes, do that in the respective version of the .msm you are using. The standard is usuall xxxxx-xxxxxxx-xxxxxxx

 

Hope this helps

  • 2 weeks later...
Posted
grimmersnee...did you solve the missing KeyCodev2.dll...I to am having this problem. I'm creating a setup package for my app and I'm using Crystal Reports in it...
  • 3 weeks later...
Posted

Hi,

 

I have also come across this problem and i have added all the necessary merge modules. However, according to sort resource, it say that when u add REGWIZ.MSM merge module, you will have to key in a license key. But i can't find where to key in.

Posted
If you're using the CR in VS.NET you can go to help>about and the code it there. If you're using 9.2 or whatever, you need to register the product that they'll send you the keycode.
  • 8 months later...
Posted

keycodev2 error fixed, yet another error

 

I too had a problem with the keycodev2.dll, I registered Crystal Reports, entered the serial number into the merge module, deployed the package, and all was good. But now I get another error when I try to print or display the Crystal Report in my program. The error is: Load crpe32.dll failed. Any ideas?

 

Thanks in advance.

  • 1 month later...
Posted
I too had a problem with the keycodev2.dll, I registered Crystal Reports, entered the serial number into the merge module, deployed the package, and all was good. But now I get another error when I try to print or display the Crystal Report in my program. The error is: Load crpe32.dll failed. Any ideas?

 

Thanks in advance.

 

 

 

The error Load crpe32.dll failed is related to the Crystal Reports Print Engine.

try the following:

 

1. this applies only to the Crystal Reports for VS.NET:

check if the version of your crpe32.dll is at least 9.1.2.555 dated 10/10/2003. if it's not then consider updating your Crystal Reports files using the latest merge modules ( Managed.msm, Database_Access.msm,Database_Access_enu.msm and RegWiz.msm for VS.NET 2002 or Crystal_Managed2003.msm, Crystal_Database_Access2003.msm, Crystal_Database_Access2003_enu.msm and Crystal_RegWiz2003.msm for VS.NET 2003 ) posted on:

http://support.businessobjects.com/mergemodules.

this hot fix should solve the problem.

 

2. check if the crpe32.dll is properly registered. you should consider registering it manually or modifing the existing registry keys pointing to crpe32.dll. be aware that this could mess up things rather than solving your problem.

  • 11 months later...
Posted

crpe32.dll

 

version of crpe32.dll is 9.1.1.155 and downloaded Crystal_Managed2003.msm, Crystal_Database_Access2003.msm, Crystal_Database_Access2003_enu.msm and Crystal_RegWiz2003.msm for VS.NET 2003 but still it does not work :o

 

hope someone has the solution

Posted (edited)

Welcome shailee, :)

 

Suggest you have a look at the following link.

 

Link

 

http://support.businessobjects.com/fix/topkb.asp

http://support.businessobjects.com/library/kbase/articles/c2010681.asp

 

Just a quick note, instead of re-openning a old thread start a new one. :)

Edited by SonicBoomAu

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

Posted

well I did go through that,

 

I want to know that do i need to register crpe32.dll??

when i try to register it I got the error dllregisterserver entry point not found which means it cannot be registered.

do any one has any idea :rolleyes:

Posted

crnetruntime.msm

license.msm

mapping.msm

reportengine.msm

 

you can download these at business objects

 

if you are using ado as the connection then include

 

vc_user_crt71_rtl_x86.msm

vc_user_stl71_rtl_x86.msm

 

I always had problems deploying crystal but since i downloaded these modules and included them in my project no problems.

Posted (edited)

:eek: I am using Bundled version of Crystal report for VS2003 AND according to the document of business object we have only four module for crystal report bundled version for VS2003 they are

1)Crystal_Database_Access2003.msm

2)Crystal_Database_Access2003_enu.msm

3)Crystal_Managed2003.msm

4)Crystal_regwiz2003.msm

of which last two modules I included in my project.

merge modules u suggested was for full version of crystal report

 

:mad: but i did downloaded these modules and added to the set up

and agian I get the same error Load crpe32.dll failed. :(

 

 

help!help!help! :(

Edited by shailee
Posted (edited)

 

 

this is rhe same document I was talking about which says:Bundled version of Crystal report for VS2003 have only four modules:

1)Crystal_Database_Access2003.msm

2)Crystal_Database_Access2003_enu.msm

3)Crystal_Managed2003.msm

4)Crystal_regwiz2003.msm

of which last two modules I included in my project.

merge modules u suggested was for full version of crystal report.

 

what do u suggest? :(

Edited by shailee
Posted

Bundled version of Crystal report for VS2003 have only four modules:

1)Crystal_Database_Access2003.msm

2)Crystal_Database_Access2003_enu.msm

3)Crystal_Managed2003.msm

4)Crystal_regwiz2003.msm

 

when I include all the four mergemodules it worked . :)

thanks :)

Posted
If you have a registered your visual studio version which according to previous post you have and you've followed the instructions in the above document there is no reason why it shouldn't work short of weird things like the report was created using a different version of crystal or something similar. I think you will have to contact crystal support. Sorry couldn't be more help.
  • 6 months later...
Posted

KeyCodev32.dll

 

Hello,

 

I have been seen this thread, with all this replays since 2002.

But now is when i have seen the problem when i developed an app in vb.net 2003 with my reports in Crystal Reports 9.

 

When i go to my Client PC to install the app the reports does not work. I have seen the license in the help-about of my vs.net 2003. I included the files that crystal says that i have to include(license.msm, database_Access2003.msm,Crystal_Database_Access2003_enu.msm,

Crystal_Managed2003.msm, Crystal_regwiz2003.msm) in my project setup(i create that package project and add the files).

 

What i don't know is where i have to insert the license key in the msm files, so i can do the test in the Client PC. Can someone tell me?

 

Regards,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...