Solved

Cannot find KeycodeV2.dll, or invalid keycode.

Posted on 2006-11-08
3
838 Views
Last Modified: 2011-04-14
hi experts,
  I m doing a project in asp.net in which i need to have one report. I m using crystal report, which works fine on my machine but when i uploaded the pages on server it is giving me error like "Cannot find KeycodeV2.dll, or invalid keycode. " 
wht is the problem? Plz help

thanx
0
Comment
Question by:s_monani
3 Comments
 
LVL 1

Accepted Solution

by:
siobi earned 500 total points
ID: 17911460
This error message appears because the following registry keys do not have rights for the ASPNET account:


- HKEY_CLASSES_ROOT\Interface\{4A4D268A-DF9B-4FC1-8301-D9FEEEF69F9C}


- HKEY_CLASSES_ROOT\TypeLib\{8D43D0B9-C14E-4577-9E67-A9A1EEF82302}


To resolve this error message, give these two registry keys ASPNET read rights. If you are running ASPNET under the System account, then the System account must have the rights to this key.


To give ASPNET read rights to a registry key:


1. Go into the 32-bit Registry Editor (Start > Run > then type "regedt32"). For Windows XP computers, type "regedit" instead of "regedt32".


2. Go to 'HKEY_CLASSES_ROOT' and select the 'Interface' key.


3. Highlight "{4A4D268A-DF9B-4FC1-8301-D9FEEEF69F9C}" and select the "Security" menu then click "Permissions…". (When using regedit in Windows XP, select the "Edit" menu then click "Permissions…".)


4. In the permissions dialog, add the "ASPNET" account from the local computer and give this account read rights.


5. Go to 'HKEY_CLASSES_ROOT' and select the 'TypeLib' key. Repeat steps 3 to 4, except use the "{8D43D0B9-C14E-4577-9E67-A9A1EEF82302}" key.


====================

NOTE:


In order to have access to these registry keys, keycodev2.dll must be registered. To register keycodev2.dll, go to Start > Run and type:


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

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
increase words that display in widget 6 76
specific questions about shipping a coat 4 43
Shopping Cart 2 72
what are list of ebay api errors 1 19
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question