|
-
Sep 13th, 2002, 08:10 PM
#1
Thread Starter
Addicted Member
ASPNET registry rights
After deploying VB.NET application on a client’s computer and trying to open reports, the such error message appears:
"Cannot find keycodev2.dll or invalid keycode".
I found a solution for this problem at Crystal’s Web site (http://support.crystaldecisions.com/...s/c2011205.asp).
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}
Briefly, it suggests:
1. Go into the 32 bit Registry Editor (Start > Run > then type "regedt32").
2. Go to the 'HKEY_CLASSES_ROOT' window and select the 'Interface' key.
3. Highlight "{4A4D268A-DF9B-4FC1-8301-D9FEEEF69F9C}" and select the "Security" menu then click "Permissions…".
4. In the permissions dialog, add the "ASPNET" account from the local machine and give this account at least read rights.
Do anyone knows the way to set such permissions from a code (or to perform an import those registry entries at the clients computer), without manually editing registry?
A would appreciate any ideas.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|