Keyset does not exist (Exception from HRESULT: 0x80090016)

Danny Berry 20 Reputation points
2024-04-02T22:25:32.92+00:00

adding new site in IIS. when i try to use specific user domain\user i receive this error

Internet Information Services
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,586 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,526 Reputation points Microsoft Vendor
    2024-04-03T02:48:07.6+00:00

    @Danny Berry

    This issue happens when your IIS specific machine keys are corrupt or missing. if the machine keys are corrupted the configuration in IIS and the keys go out of sync and any encryption or decryption task will start failing. That is the reason you might see the above error while changing the application pool identity to a domain or custom account. If you change the application pool identity to an account like local system or network service or service accounts which doesn’t need password and hence no encryption the task won’t fail.

    How to fix the issue?

    Most of the times we suggest to rebuild or reinstall IIS.

    Besides, you can also regenerate machine keys without reinstalling IIS completely.

    More information you can refer to this link: Keyset does not exist.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.