Windows进程激活服务错误2:系统找不到指定的文件 [英] Windows Process Activation Service Error 2:The system cannot find the file specified

查看:406
本文介绍了Windows进程激活服务错误2:系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的开发计算机上的IIS停止工作.我刚刚将最新更新安装到Windows 10(1803),现在当我尝试启动"Windows Process Activation Service"时,出现"Windows无法在本地计算机上启动Windows Process Activation Service.错误2:系统找不到指定的文件"错误.我已经尝试过的事情:

IIS on my development computer stopped working. I just installed the latest update to windows 10 (1803) and now when I try to start the "Windows Process Activation Service" I get an "Windows could not start the Windows Process Activation Service on Local computer. Error 2: The System cannot find the file specified" error. Things I have already tried:

  • 多次重新安装IIS和Windows进程激活服务
  • 我确认我确实有一个"C:\ inetpub \ temp \ appPools"文件夹

不确定下一步该怎么做.

Not sure what to do next.

推荐答案

在Windows更新后,我两次遇到此问题.问题似乎是Windows将错误的参数添加到WAS服务启动参数.我通过以下步骤解决了该问题:

I have had this problem twice after a windows update. The issue seems to be, that windows adds an incorrect parameter to the WAS service startup parameters. I fixed the issue using the following steps:

  • 启动regedit(只需将其键入start)
  • 导航到HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ WAS \ Parameters
  • 删除NanoSetup变量.此变量阻止WAS启动
  • 使用任务管理器或在命令提示符下键入"net start WAS"来启动WAS服务
  • 以相同的方式启动W3SVC服务
  • 您现在可以再次在IIS中启动您的网站

这篇关于Windows进程激活服务错误2:系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆