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


azharrahi
November 28th, 2007, 05:17 PM
Hello all here.

I am working on a web application.I am using VS.Net 2005 and using crystal reports embeded with VS.Net 2005. I am facing a problem regarding Crystal Reports.

When I tried to generate a report, the following error occurs:

"Cannot find KeycodeV2.dll, or invalid keycode"

Now I have searched it over web and what I found and their results are:

Solution A:

1. Open the 32-bit Registry Editor by going to Start, click Run, then type "regedt32". For Windows XP computers, type "regedit" instead of "regedt32". Click OK.

2. Go to the HKEY_CLASSES_ROOT section and expand the Interface key.

3. Select the {4A4D268A-DF9B-4FC1-8301-D9FEEEF69F9C} key.

4. Click the Security menu and then click Permissions…. (When using regedit in Windows XP, click the Edit menu then click Permissions….)

5. In the Permissions dialog box, add the ASPNET account from the local computer and give this account Read rights.

6. In the HKEY_CLASSES_ROOT section, select the TypeLib key. Repeat steps 3 to 5 above, using the {8D43D0B9-C14E-4577-9E67-A9A1EEF82302} key.

Result :

I have no found any {4A4D268A-DF9B-4FC1-8301-D9FEEEF69F9C} key in HKEY_CLASSES_ROOT in registry.

Soultion 2:

In order to have access to these registry keys, Keycodev2.dll must be registered. To register Keycodev2.dll, go to Start, click Run , then type:

Regsvr32 "C:\Program Files\Common Files\Crystal Decisions\1.0\bin\Keycodev2.dll"

Result:

I have not found any "Crystal Decisions" folder in C:\Program Files\Common Files\.

Rather there is a "Business Object" folder. If visited to "C:\Program Files\Common Files\Business Objects\2.7\Bin", there is some dll files of crystal reports, but also could not find any KeycodeV2.dll, rather there exists keycode.dll.

Now I am totally unabled to understand the reason of this issue and how to resolve it.

Can anybody tell why this happens and what is the solution.

If you want to refer any site, kindly refer that site which is giving a complete information about this issue and its resolve.

Thanks