IIS应用池未启动,因为Windows进程激活服务(WAS)未启动

IIS应用池未启动,因为Windows进程激活服务(WAS)未启动,iis,iis-8,windows-server-2012,application-pool,was,Iis,Iis 8,Windows Server 2012,Application Pool,Was,我的应用程序池未在IIS中启动。我最初在“appPools”路径上有一个错误(它被意外删除)。我重新创建了文件夹 由于这并没有解决问题,我尝试重新启动WAS并重置IIS。但是,一旦WAS停止,甚至WAS也不会重新启动 我试过了 使用过程监视器对问题进行故障排除。但是,关于文件访问权限问题,我现在没有看到任何错误 从c:/inetpub/history文件夹中替换applicationHost.config文件 操作系统:Windows Server 2012 IIS:IIS 8.0 当我尝试

我的应用程序池未在IIS中启动。我最初在“appPools”路径上有一个错误(它被意外删除)。我重新创建了文件夹

由于这并没有解决问题,我尝试重新启动WAS并重置IIS。但是,一旦WAS停止,甚至WAS也不会重新启动

我试过了

  • 使用过程监视器对问题进行故障排除。但是,关于文件访问权限问题,我现在没有看到任何错误

  • c:/inetpub/history
    文件夹中替换
    applicationHost.config
    文件

操作系统:Windows Server 2012

IIS:IIS 8.0

当我尝试通过services.msc启动Windows Process Activation Service时,出现以下错误

请在下面的事件日志中找到错误消息。 请给出我如何再次启动应用程序池的建议

Source : WAS
Event ID : 5036
Error : The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.

Source : Service Control Manager
Event ID : 7023
Error : The Windows Process Activation Service service terminated with the following error: The system cannot find the path specified.

Source : Service Control Manager
Event ID : 7001
Error : The World Wide Web Publishing Service service depends on the Windows Process Activation Service service which failed to start because of the following error: The system cannot find the path specified.

确保applicationHost.config具有有效的xml。另外,您重新创建的哪个文件夹被意外删除了?我将“c:\intepub\temp\appPools”移动到另一个位置,以查看它是否被重新创建。但它没有,所以我把它移回去了。applicationHost.config文件似乎具有有效的XML(我尝试在IE中打开它),但它没有显示任何错误。这不是你的意思吗?试着以管理员的身份运行命令提示符,然后运行“net start was”,看看是否遇到相同的错误。谢谢你的建议。我确实执行了命令。我收到了相同的错误“发生了系统错误3。系统找不到指定的路径。”谢谢回复。最终,此问题是由于was注册表项“ConfigIsolationPath”中的文件路径末尾有额外空间造成的。它是“%systemdrive%\inetpub\temp\appPools”,而不是“%systemdrive%\inetpub\temp\appPools”。当条目错误地指向另一个驱动器时,已对其进行了修改。