-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: baskarpv
Message 7 in Discussion

hi,   here are some steps to set it right for the Crystal report error "cannot 
find keycodev2.dll or invalid keycode."   This solution applies only to Visual 
Studio .NET web applications. 
This error message appears because the ASPNET account does not have rights to 
the following registry keys: 
• HKEY_CLASSES_ROOT\Interface\{4A4D268A-DF9B-4FC1-8301-D9FEEEF69F9C}
• HKEY_CLASSES_ROOT\TypeLib\{8D43D0B9-C14E-4577-9E67-A9A1EEF82302} 
To resolve this error message, give the ASPNET account Read rights to these two 
registry keys.   If you have configured the ASP.NET worker process 
(aspnet_wp.exe) to run under the System account, then the System account must 
have the rights to these keys.
To give the ASPNET account read rights to a registry key perform the following 
steps:
 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.
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"
The path to Keycodev2.dll is the same for Visual Studio .NET 2002 and Visual 
Studio .NET 2003. 
If the file fails to register, download the Dependency Walker utility from 
http://www.dependencywalker.com/. This utility will list all the Keycodev2.dll 
dependency files and should indicate what files are missing or outdated.       
Hope it worx here after... ..Baskar

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to