000011599 - RKM C/C# Client: Error code 4780001 (KMS_INVALID_ARGUMENT) or 10002 (R_KM_ERROR_IO)

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000011599
Applies ToRSA Key Manager C Client
RSA Key Manager C# Client
IssueRKM C/C# Client: Resolve error code 4780001 (KMS_INVALID_ARGUMENT) or 10002 (R_KM_ERROR_IO)
RKM C/C# Client returns error 4780001 or 10002
RKM C# Client returns

Error: Unexpected RKMException with error code [10002]:
10002: Generic IO error occurred. This error is also returned if the cache password is not correct for an existing persistant cache file.
CauseThe cache password does not match the one used for an existing persistent cache file
The configuration directive "persistentCacheFile" points to a file that does not exist
KMSDecrypt() is called with the allocated size for the output data buffer less than the output length parameter
ResolutionMake sure that the cache password specified matches the one used for the existing persistent cache file (or delete the cache file)
Make sure that the configuration directive "persistentCacheFile" points to a file that exists and is readable.
Make sure that the output data buffer is large enough to hold the decrypted data
Legacy Article IDa50131

Attachments

    Outcomes