我正在尝试在bootcamp上安装Windows10的双引导macpro上安装TFS 2015 Express。我有visual studio pro 2015,SQL Express 2014。所有预检查都顺利通过,且IIS已完全配置。安装程序坚持在Macintosh HD (D:驱动器)上写入缓存文件夹,这个文件夹恰好是只读的,我不希望这样做。我想不出一种方法来进行自定义安装或覆盖默认操作。以下是配置日志的摘录。
[Info @23:44:29.298] +-+-+-+-+-| Running CreateATFileCacheFolder: Creating Application Tier file cache folder ... |+-+-+-+-+-
[Info @23:44:29.314]
[Info @23:44:29.314] +-+-+-+-+-| Creating Application Tier file cache folder ... |+-+-+-+-+-
[Info @23:44:29.314] Starting Node: CCRTATFILECACHE
[Info @23:44:29.314] NodePath : Container/Progress/CCRTATFILECACHE
[Info @23:44:29.314] Creating 'D:\TfsData\ApplicationTier\_fileCache' ...
[Error @23:44:29.314]
Exception Message: Access to the path 'D:\TfsData\ApplicationTier\_fileCache' is denied. (type UnauthorizedAccessException)
Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Microsoft.TeamFoundation.Admin.ConfigureCreateFolder.Run(ActivityContext context)
[Info @23:44:29.314] Node returned: Error
[Error @23:44:29.314] The Application Tier file cache folder could not be created. See the configuration log for additional details.
[Info @23:44:29.314] Completed CreateATFileCacheFolder: Error
[Info @23:44:29.314] -----------------------------------------------------
[Info @23:44:29.314] Execution results:
[Info @23:44:29.314] Overall result: Failure
[Info @23:44:29.314] Nodes completed: 1
[Info @23:44:29.314] Nodes succeeded: 0
[Info @23:44:29.314] Nodes skipped: 0
[Info @23:44:29.314] Nodes with errors: 1
[Info @23:44:29.314] Nodes with warnings: 0
[Info @23:44:29.314] Number of error messages: 1
[Info @23:44:29.314] Number of warning messages: 0
[Info @23:44:29.314] Number of info messages: 0
[Error @23:44:29.314] Activity failed.有什么方法可以覆盖这个行为吗?您的帮助我们将不胜感激。
发布于 2015-11-10 19:26:07
TFS文件缓存文件夹用于缓存经常访问的TFS资源,以便与服务器进行更高效的通信。您应该将此目录放在至少有50 of可用空间的磁盘上。
您可以先给DriverD写权限安装TFS,然后进入TFS管理控制台,在应用层选项卡下,您可以更改文件缓存文件夹的路径。
发布于 2015-11-12 07:34:19
谢谢@Cece,但是我找到了另一个解决方案,可以避免更改其他驱动器的权限或安装额外的软件。我认为windows会在文件路径前加上驱动器号(即D:),通过删除它,我基本上会使资源不可见。经过搜索,我找到了这个http://www.thewindowsclub.com/show-hide-a-drive-in-windows,并按照它删除了驱动器号。配置器只看到了一个驱动器,并且没有任何故障。完成后,我重新分配了驱动器号,一切正常。谢谢你的帮助。
https://stackoverflow.com/questions/33621025
复制相似问题