首页 > 解决方案 > WAS 服务器 - 事件查看器错误和 IIS 日志错误

问题描述

我正在尝试启动 WAS 服务,但我从事件查看器中收到此错误。

Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.

然后我从 iis.log 文件中检查了错误

[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 ]

我去了我的 RSA 机器密钥文件夹:C:\Users\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

我知道我应该备份并删除三个旧的 RSA 机器密钥 (1) NetFrameworkConfigurationKey(2) iisWasKey(3) iisConfigurationKey,但是我只能NetFrameworkConfigurationKey在我备份并删除文件的 RSA 文件夹中找到。

这就是为什么您可以在 iis.log 中看到它已经创建NetFrameworkConfigurationKey没有 iisWasKey 也没有的错误 iisConfigurationKey

我在我的 RSA 文件夹中查看的内容仅包含两个文件,它们是 NetFrameworkConfigurationKey (d6d986f09a1ee04e24c949879fdb506c_)另一个我不知道它是什么的文件 (5402d5bd55de56397226e45a085a4bbc_)

我在我的 RSA 文件夹中找不到包含 (76944fb33636aeddb9590521c2e8815a_) 的 iisWasKey 文件和包含 (6de9cb26d2b98c01ec4e9e8b34824aa2_) 的 iisConfigureationKey 文件。

他们是在其他地方还是我应该导入其余的密钥?

谢谢

标签: iisrsa.net-framework-versionwasmachinekey

解决方案



推荐阅读