【问题标题】:TFS 2013.2 Installation ErrorTFS 2013.2 安装错误
【发布时间】:2014-06-04 22:52:25
【问题描述】:

昨晚尝试从 TFS 2013 RTM 升级到 TFS 2013.2 时,我收到以下错误。我以管理员身份运行安装,我是我们组织的 TFS 管理员,我在暂存环境中从 TFS 2013 RTM 升级到 TFS 2013.2 没有问题。两种环境的唯一区别是集合 DB 并不完全相同。

[Error  @22:27:44.807] 
Exception Message: TF255077: The access control list (ACL) could not be set on the following path:  D:\TFS\CacheRoot . (type ConfigurationException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Admin.FileSystemHandler.SetAcls(String[] identities, String[] pathsForAccess, Boolean skipIfAclExists, ITFLogger logger)
   at Microsoft.TeamFoundation.Admin.ConfigureSetAcls.Run(ActivityContext context)

Inner Exception Details:

Exception Message: Invalid name.
Parameter name: name (type ArgumentException)
Exception Stack Trace:    at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
   at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType, String name, AccessControlSections includeSections, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
   at System.Security.AccessControl.DirectorySecurity..ctor(String name, AccessControlSections includeSections)
   at System.IO.Directory.GetAccessControl(String path)
   at Microsoft.TeamFoundation.Admin.FileSystemHandler.AddAccessToDirectory(String groupName, FileSystemRights rights, String path, Boolean skipIfAclExists, ITFLogger logger)
   at Microsoft.TeamFoundation.Admin.FileSystemHandler.SetAcls(String[] identities, String[] pathsForAccess, Boolean skipIfAclExists, ITFLogger logger)

[Info   @22:27:44.807] Node returned: Error
[Error  @22:27:44.807] TF255077: The access control list (ACL) could not be set on the following path:  D:\TFS\CacheRoot .
[Info   @22:27:44.807] Completed SetApplicationACLs: Error
[Info   @22:27:44.807] -----------------------------------------------------
[Info   @22:27:44.808] Execution results:
[Info   @22:27:44.808] Overall result: Failure

【问题讨论】:

    标签: tfs visual-studio-2013 installation


    【解决方案1】:

    发现如下位置的web.config文件中文件夹位置条目的两端有空格; C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web 服务。

    add key="dataDirectory" value="D:\TFS\CacheRoot"

    我删除了空格,安装效果很好。我不知道他们是如何到达那里的,但我假设最初的 TFS 2013 RTM 安装可能已经完成了这一点,因为我在安装过程中给出选项时将安装指向该文件夹。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-10-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多