当我跑
C:\Windows\System32\inetsrv\appcmd.exe start site /site.name:"Some_site_name"
在 Windows Server 2008 R2 上,它失败并显示消息
ERROR ( hresult:800710d8, message:Command execution failed.
The object identifier does not represent a valid object.
)
...虽然该网站存在。