Mar*_*tój 4 c# iis administration remote-administration servermanager
当我尝试使用以下代码从远程服务器获取IIS应用程序池列表时
List<ApplicationPool> appPools;
using (ServerManager serverManager = ServerManager.OpenRemote("XXX")) {
  appPools = serverManager.ApplicationPools.ToList();
}
我得到一个例外:
System.Runtime.InteropServices.COMException (0x800706BA): Retrieving the COM
class factory for remote component with CLSID
{2B72133B-3F5B-4602-8952-803546CE3344} from machine XXX failed due to the
following error: 800706ba.
可能导致这种情况的任何想法?
事实证明,可以通过在防火墙中添加适当的规则来解决问题:
上述解决方案的灵感来自于此线程:Windows防火墙阻止OAB连接.
| 归档时间: | 
 | 
| 查看次数: | 4520 次 | 
| 最近记录: |