Windows进程激活服务(WAS)将无法启动 [英] Windows Process Activation Service (WAS) will not start
问题描述
IIS 10将不会在我的PC上重新启动.当我导航到localhost时,收到"localhost拒绝连接"消息.浏览事件查看器后,事实证明问题出在Windows进程激活服务(WAS)无法启动.
IIS 10 will not restart on my PC. When I navigate to localhost, I get a 'localhost refused to connect' message. After looking through the event viewer, it turns out that the issue is that the Windows Process Activation Service (WAS) will not start.
给出的错误消息是:
'The Windows Process Activation Service (WAS) encountered an error while handling key generation. This will prevent WAS from starting corrently. The data field contains the error number.'
当我尝试从服务应用程序手动启动服务时,得到以下信息:
When I try to start the service manually from the services app, I get the following:
有人曾经遇到过这个问题吗?任何帮助将不胜感激,我已经拖延了几天的互联网,试图找到无济于事的解决方案.
Has anyone experienced this issue before? Any help would be greatly appreciated, I've been trawling the internet for several days trying to find a solution to no avail.
推荐答案
在最近的Windows Update之后,我们已经多次遇到此问题.在所有情况下,以下方法均有效(从Microsoft支持代表处获得):
We've run into this issue several times after recent Windows Updates. In all cases, the following worked (got from a Microsoft support rep):
在管理员Powershell提示符下运行以下命令:
Run the following from an admin Powershell prompt:
reg delete HKLM\SYSTEM\CurrentControlSet\Services\WAS\Parameters /v GenerateKeys /f
net start w3svc
将重新生成密钥,然后可以启动IIS AppPools
The keys will be regenerated, then the IIS AppPools can be started
这篇关于Windows进程激活服务(WAS)将无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!