Test Controller 2013.4出错,拒绝访问路径"CopyApp.config.bat" [英] Error with Test Controller 2013.4 Access to the path 'CopyApp.config.bat' is denied

查看:143
本文介绍了Test Controller 2013.4出错,拒绝访问路径"CopyApp.config.bat"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

Hello,

我有3台服务器,1个AP层,1个构建控制器和1个测试控制器的TFS 2013.4改进版.在事件视图中的测试控制器"上,看到以下错误:

I have TFS 2013.4 einvorment with three servers, one AP Tier, one Build Controller and one Test Controller. On Test Controller in event view is see following error: 

(QTController.exe,PID 4260,线程22)异常:System.UnauthorizedAccessException

(QTController.exe, PID 4260, Thread 22) Exception: System.UnauthorizedAccessException

消息:拒绝访问路径"CopyApp.config.bat".

Message: Access to the path 'CopyApp.config.bat' is denied.

堆栈跟踪:在System.IO.Directory.DeleteHelper(字符串fullPath,字符串userPath,布尔递归,布尔throwOnTopLevelDirectoryNotFound)

Stack Trace:    at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)

  在System.IO.Directory.Delete(字符串fullPath,字符串userPath,布尔值递归,布尔值checkHost)

   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

  在Microsoft.VisualStudio.TestTools.TestManagement.Tmi.ObliterateRun(Guid runId,布尔notifyTips)

   at Microsoft.VisualStudio.TestTools.TestManagement.Tmi.ObliterateRun(Guid runId, Boolean notifyTips)

  在Microsoft.TeamFoundation.TestManagement.Controller.TcmRunner.StartTmiRun()

   at Microsoft.TeamFoundation.TestManagement.Controller.TcmRunner.StartTmiRun()

BaseExceptionMessage:访问路径"CopyApp.config.bat"被拒绝.

BaseExceptionMessage: Access to the path 'CopyApp.config.bat' is denied.

有什么想法吗?谢谢.

推荐答案

Hi,

根据错误消息,我认为您在运行测试之前正在运行脚本.

Base on the error message, I think you are running the script before run the test.

您是否在测试设置文件中指定了bat文件?请提供您执行的详细步骤.

Do you specify the bat file in the testsetting file? Please provide the detail steps that you do.

另一方面,请检查测试控制器的帐户是否可以访问该文件.

On the other hand, please check the account of test controller whether it could accesses that file.

致谢

Starain


这篇关于Test Controller 2013.4出错,拒绝访问路径"CopyApp.config.bat"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆