zoukankan      html  css  js  c++  java
  • Unknown error (0×80005000) (type COMException) TFS 2010

    迁移源代码服务器,于是在一台装有Windows Server 2008的机器上安装TFS 2010。在配置到准备安装服务时出错,日志内容提示由于防火墙原因端口未开放,查看日志则是在配置应用程序池的时候抛出了0×80005000的COMException,调用堆栈显示在绑定IIS的目录服务出错:
    System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
    System.DirectoryServices.DirectoryEntry.Bind()
    System.DirectoryServices.DirectoryEntry.get_IsContainer()
    System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
    Microsoft.TeamFoundation.Admin.IISConfiguration.FindDirectoryChildByName(DirectoryEntry parent, String child)
    Microsoft.TeamFoundation.Admin.CreateAppPool.GetOrCreateAppPoolEntry(String name)
    Microsoft.TeamFoundation.Admin.CreateAppPool.Process()
    Microsoft.TeamFoundation.Admin.IISHandler.CreateOrUpdateAppPool(OperationContext context, ApplicationPool pool)
    Microsoft.TeamFoundation.Admin.ConfigurationNode.ApplyIfReady(OperationContext context)
    Microsoft.TeamFoundation.Admin.ApplicationWebSite.Apply(OperationContext context)
    Microsoft.TeamFoundation.Admin.ConfigurationNode.ApplyIfReady(OperationContext context)
    Microsoft.TeamFoundation.Admin.ApplicationTier.Install(OperationContext context)

    在MSDN Forums的一个帖子里看到http://social.msdn.microsoft.com/Forums/en-NZ/tfssetup/thread/df140446-947c-408c-9329-c8557b2429aa建议重装操作系统可以解决问题,但是给我解决问题启发的是John Qiao的一个blog链接:http://blogs.msdn.com/b/buckh/archive/2011/03/15/tfs-2010-sp1-unknown-error-0×80005000-type-comexception-make-sure-iis-6-compat-mode-is-turned-on.aspx。
    blog里提到是否安装了IIS6管理兼容性,但是我的源代码管理服务器确实已经安装了IIS6管理兼容性。于是我决定卸载一次IIS6管理兼容性,并重新安装。OK,问题解决。

  • 相关阅读:
    CF 980D Perfect Groups(数论)
    CF 983B XOR-pyramid(区间dp,异或)
    CF 984C Finite or not? (数论)
    CF 979D Kuro and GCD and XOR and SUM(异或 Trie)
    (可能)常用打比赛网站
    排序工作量之新任务(SHOI2001)
    【图楼】长期图楼~~不定期更新
    【题解】SHOI2014概率充电器
    【题解】NOIP2015推销员
    [NOI2015][bzoj4197] 寿司晚宴 [状压dp+质因数]
  • 原文地址:https://www.cnblogs.com/junchu25/p/2631151.html
Copyright © 2011-2022 走看看