我想从远程 IIS 中检索站点列表:
using Microsoft.Web.Administration;
ServerManager serverManager = ServerManager.OpenRemote("myserver");
我收到 COMException
Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine {ip} failed due to the following error: 80040154.
有小费吗?
请,我不想要其他方法如何在不使用 Microsoft.Web.Administration 的情况下获取信息