Windows Server 2008下如果什么操作没能正常完成, 请尝试run as administrator

想要查看不同Application Pool对应的w3wp.exe进程ID, 运行如下命令:

%windir%\system32\inetsrv\appcmd.exe list wp

返回结果:

ERROR ( message:The WAS service is not available - try starting the service first. )

 

经过检查, WAS(Windows Process Activation Service) 服务已经开启.

 

解决方法:

开启一个command prompt, 注意要选run as administrator.

 

Windows Process Activation Service (WAS) Overview

http://technet.microsoft.com/en-us/library/cc770745.aspx

原文地址:https://www.cnblogs.com/awpatp/p/1692326.html