问题
I am trying to start WAS service and I got this error from Event Viewer.
Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.
So then I checked the error from iis.log file
[04/21/2020 11:31:00] [ ***** IIS 10.0 Component Based Setup ***** ]
[04/21/2020 11:31:00] .\inetsrv\iissetup.exe /keygen
[04/21/2020 11:31:00] Created NetFrameworkConfigurationKey key containter
[04/21/2020 11:31:00] Created NetFrameworkConfigurationKey user key
[04/21/2020 11:31:00] Set ACLs on NetFrameworkConfigurationKey
[04/21/2020 11:31:00] Failed to create iisCngConfigurationKey key container (result=0x80090009)
[04/21/2020 11:31:00] < !!FAIL!! > Failed to create the iisCngConfigurationKey key container (result=0x80090009)
[04/21/2020 11:31:00] < !!FAIL!! > Generating IIS CNG Configuration Key Container (result=0x80090009)
[04/21/2020 11:31:00] < !!FAIL!! > Key Generation result=0x80090009
[04/21/2020 11:31:00] [ End of IIS 10.0 Component Based Setup ]
I went to to my RSA machine keys folder: C:\Users\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
I understand I am supposed to back up and delete the three old RSA machine keys (1) NetFrameworkConfigurationKey
(2) iisWasKey
(3) iisConfigurationKey
, however I only can find NetFrameworkConfigurationKey
in my RSA folder that I backed up and deleted the file.
This is why you can see in iis.log error that it already created NetFrameworkConfigurationKey
but not iisWasKey
nor iisConfigurationKey
What I am looking in my RSA folder only contains two files which are NetFrameworkConfigurationKey (d6d986f09a1ee04e24c949879fdb506c_) and another file that I do not know what it is (5402d5bd55de56397226e45a085a4bbc_)
I could not find iisWasKey file contains (76944fb33636aeddb9590521c2e8815a_) and iisConfigureationKey file contains (6de9cb26d2b98c01ec4e9e8b34824aa2_) in my RSA folder.
Are they somewhere else or am I supposed to import the rest of keys?
Thanks
来源:https://stackoverflow.com/questions/61349096/was-server-event-viewer-error-and-iis-log-error