大部分网站需要 Internet Information Services (IIS) Windows Process Activation Service (WAS),因为此服务支持可处理 HTTP 请求的 World Wide Web 发布服务 (W3SVC)。WAS 进程管理器将应用程序池映射到现有工作进程,并根据需要生成可托管新应用程序池的 W3SVC 新实例。 如果 WAS 不可用,则大部分网站将无法启动。
手动重新启动 WAS 或将其配置为自动重新启动
可能的解决方法包括:
手动重新启动 WAS。
配置 WAS 为自动重新启动。
配置其他在 WAS 失败时采取的操作。
如果问题仍然存在,附加调试器以解决此问题,或呼叫客户服务。
手动重新启动 WAS
若要手动重新启动 WAS,请执行以下操作:
注意:由于 World Wide Web 发布服务 (W3SVC) 依赖于 WAS,你可能需要在启动 WAS 后启动 W3SVC。
打开提升的命令提示符窗口。单击“开始”,指向“所有程序”,再单击“附件”,右键单击“命令提示符”,然后单击“以管理员身份运行”。
在命令提示符处,键入 net start was。
若要重新启动 W3SVC,请从命令提示符处键入 net start w3svc。同时启动在关闭 WAS 时停止的任何其他服务。
配置 WAS 为自动重新启动
若要配置 WAS 为自动重新启动,请执行以下操作:
单击“开始”,再单击“控制面板”,然后单击“管理工具”。
右键单击“服务”并选择“以管理员身份运行”。
右键单击 Windows Process Activation Service 并选择“属性”。
单击“恢复”选项卡。
在“首次失败:”列表中,选择“重新启动服务”。
“恢复”选项卡还提供其他在 WAS 失败时可以指定的操作。这些功能包括:
配置 WAS 以在一段时间(秒)和/或再次出现失败后自动重新启动
配置 WAS 以在指定的分钟数后重新启动
配置失败计数以在指定天数后重置
指定在 WAS 失败时运行的程序以及程序的可选参数
有关这些选项的详细信息,请在“恢复”选项卡上单击“帮助我设置恢复操作”。
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 5030 |
Event Source | Microsoft-Windows-WAS |
Alert Generate | False |
Remotable | True |
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription | Default |