I'm getting the errors x80090016 and 0x80280185 from NCryptOpenKey occasionally. What are all the possible reasons for these errors.
You can refer COM Error Codes(Seurity and Setup)which provides a list of error codes used by COM-based APIs.
NTE_BAD_KEYSET 0x80090016 Keyset does not exist
You can also check the NCryptOpenKey documentation to determine the error message
I did not find the error message about 0x80280185, please help to check the error code.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
When using the platform provider (e.g., the TPM) is there a case where an error in the TPM can cause this error to occur? IOW: If there were an error in the TPM would that always return a different error?
I'll double check on the other error code.
5 people are following this question.