-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: s_hashim
Message 2 in Discussion
Hi
A VB .NET web application uses Crystal Reports for Visual Studio .NET as the reporting
development tool.
When you run the application on the development computer, the following error message
appears:
"Cannot find keycodev2.dll or invalid keycode"
Why does this error message appear in this VB .NET web application?
====================
NOTE:
This issue only exists on the development computer when working with a web
application. This issue does not apply to deployment.
====================
Solution
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.
====================
NOTE:
To give ASPNET read rights to a registry key:
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.
Repeat steps 2 to 4, except use the "{8D43D0B9-C14E-4577-9E67-A9A1EEF82302}" key under
the "TypeLib" key.
====================
NOTE: After All above steps you have to Recompile your Program........
**********
Keep Smiling,
Regards.
Sayad Hashim Ali Kazi
Microsoft India Community Star.
************************
SQL Star International Ltd.
SQL House, #13,Infocity,Madhapur,
Hyderabad 500 081.
Tel: +91-40-2310 1640(Off) +91-40-55683272(Resi)
http://www.mugh.net
http://sayadhashim.blogspot.com/
************************
-----------------------------------------------------------
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]