http://technet.microsoft.com/zh-cn/library/cc732742(WS.10).aspx
上面的URL描述了如何启动/停止IIS 7应用程序池。但是,我的应用程序池名称中有空格。双引号不起作用。有想法吗?
C:\Windows>C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: My Ap
p Services
Failed to process input: The parameter 'App' must begin with a / or - (HRESULT=8
0070057).
C:\Windows>C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: "My A
pp Services"
ERROR ( message:The attribute "apppool.name" is not supported in the current com
mand usage. )
如果尚未启动WAS,则@KyleMit也会收到此消息,在这种情况下,您需要使用启动WAS
—
编程教授,
net start was
。
ERROR ( message:The WAS service is not available - try starting the service first.)
,则需要重新打开“管理特权”