locked
IIS set error HRESULT: 0x80090016 MachineKeys file empty RRS feed

  • Question

  • User37103272 posted

    I recently had to install a new hard drive (recovered backed up files) and reinstall Windows 10. I am trying to set up (again) an FTP site. [I had one up and running before the original drive failed.] I installed the IIS components (FTP server and IIS Management Console). I completed the Add FTP Site... dialog. When I try to update the authentication to a specified user I got "Keyset does not exist (Exception from HRESULT: 0x80090016)". My research led me to believe my MachineKeys file may not have the proper configuration information. When I looked in ...\system32\Microsoft\Crypto\RSA\MachineKeys, I found it is empty. I uninstalled and reinstalled IIS features with no change. Am I missing something from the Windows 10 install?

    Wednesday, March 24, 2021 5:17 PM

All replies

  • User1065476709 posted

    Hi Bleahuer,

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

    First you can try to run the iisreset command(run as administrator) and check if it works.

    If it still can't work, you can try to delete the existing keys inside the configProtectedData section in applicationhost.config and then running "%windir%\system32\inetsrv\iissetup.exe /install SharedLibraries".

    More information about this error: https://docs.microsoft.com/zh-cn/archive/blogs/chiranth/keyset-does-not-exist-exception-from-hresult-0x8009000d-while-changing-application-pool-identity-in-iis.

    Best regards,

    Sam

    Thursday, March 25, 2021 2:07 AM
  • User37103272 posted

    Thanks, Sam. I've been down that path. The iisreset comman doesn't fix the problem. I cleared out the  <configProtectedData> content in ApplicationHost.config. When I run the iissetup utility I get the error "Failed = 0x80070005". I uninstalled IIS and reinstalled it with the same results - no MachineKeys for IIS.

    Thursday, March 25, 2021 3:07 PM
  • User1065476709 posted

    Hi Bleaguer,

    Thanks, Sam. I've been down that path. The iisreset comman doesn't fix the problem. I cleared out the  <configProtectedData> content in ApplicationHost.config. When I run the iissetup utility I get the error "Failed = 0x80070005". I uninstalled IIS and reinstalled it with the same results - no MachineKeys for IIS.

    About 0x80070005 error you can refer to this link:

    HRESULT code 0x80070005

    Best regards,

    Sam

    Friday, March 26, 2021 7:44 AM