Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 840784 - Last Review: November 27, 2007 - Revision: 2.4
You may receive the "The keyset is not defined" error message when the provider name of a CSP contains extended characters
If you try to establish a virtual private network (VPN)
connection by using a smart card where the provider name of a custom
Cryptographic Service Provider (CSP) contains extended characters, you may
receive the following error message:
Error 0x80090019:
The keyset is not defined
This behavior is caused when the provider name of the CSP is
converted to Unicode characters by using the
MultiByteToWideChar function that is present in the kernel32.dll file. The extended
characters in the provider name may be lost during this conversion, and the
provider name is converted incorrectly.
Make sure that the name of the CSP contains only ASCII
characters.
This
behavior is by design.
Generally, the
MultiByteToWideChar function accepts CP_UTF8 as an input format. The
CPGetProvParam function returns the data about the CSP that is passed to the
MultiByteToWideChar function. When the
CPGetProvParam function returns a format other than CP_UTF8, the returned
provider name is incorrectly converted.
The Microsoft Crypto API does
not support Unicode very well. Also, there is no mechanism to return the code
page that the CSP uses. Therefore, the behavior of the
CPGetProvParam function may be inconsistent when it is used.
For additional information, visit the following Microsoft
Developer Network (MSDN) Web sites:
APPLIES TO
- Microsoft Windows XP Professional
- Microsoft Windows XP Embedded
| kberrmsg kbprovider kbcrypt kbconvert kbtshoot kbprb KB840784 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please