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,问题解决。

  • 相关阅读:
    线性表的相关操作
    jq实现登陆页面的拖拽功能
    js实现登陆页面的拖拽功能
    HTML5存储
    js函数声明
    js打字机效果实现
    js日期显示效果
    js实现倒计时效果
    js中如何去获取外部css样式
    面向对象的几种方法详解(后)
  • 原文地址:https://www.cnblogs.com/junchu25/p/2631151.html
Copyright © 2011-2022 走看看