TFS 2013 间歇性错误:TF400732:请求已被取消

TFS 2013 间歇性错误:TF400732:请求已被取消

最近,我们安装了 TFS 2013。自安装以来,在使用浏览器打开 TFS 或从 Visual Studio 执行某些任务时,我们不断收到错误“TF400732:请求已被取消。”。

如果我查看事件日志,我唯一能找到的是以下内容:

事件代码:3005 事件消息:发生了未处理的异常。事件时间:2014 年 8 月 29 日下午 1:33:46 事件时间(UTC):2014 年 8 月 29 日凌晨 3:33:46 事件 ID:32182dd8dc6447af8d6915a3ec4916eb 事件序列:5 事件发生:1 事件详细信息代码:0 应用程序信息: 应用程序域:/LM/W3SVC/2/ROOT/tfs-9-130537568240022662 信任级别:完整 应用程序虚拟路径:/tfs 应用程序路径:C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\ 计算机名称:ISMY-SVN-PC 进程信息: 进程 ID:2676 进程名称:w3wp.exe 帐户名称:NT AUTHORITY\NETWORK SERVICE 异常信息: 异常类型:RequestCanceledException 异常消息:TF400732:请求已取消。 at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext.GetServiceT at Microsoft.TeamFoundation.Server.WebAccess.TfsHelpers.GetProjectFromName(TeamFoundationRequestContext tfsRequestContext, String projectName) at Microsoft.TeamFoundation.Server.WebAccess.TfsWebContext.Initialize()
at Microsoft.TeamFoundation.Server.WebAccess.TfsController.get_TfsWebContext() at Microsoft.TeamFoundation.Server.WebAccess.TfsController.get_TfsRequestContext() at Microsoft.TeamFoundation.Server.WebAccess.TfsController.SetCurrentThreadCulture(ITfsController controller) at Microsoft.TeamFoundation.Server.WebAccess.TfsController.OnActionExecuting(ActionExecutingContext ctx) at System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeActionMethodFilterAsynchronously(IActionFilter filter, ActionExecutingContext preContext,Func 1 nextInChain) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__31(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调,对象状态,Int32 超时)在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate1 endDelegate,对象标记)在 System.Web.Mvc.Async.AsyncControllerActionInvoker。<>c__DisplayClass25.b__1e(AsyncCallback asyncCallback,对象 asyncState)在 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult 1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate1 endDelegate,对象标记,Int32 超时)在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag) at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__17(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调,对象状态,Int32 超时)在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调,对象状态,Int32 超时)在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate endDelegate, Object tag) at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__2(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调,对象状态,Int32 超时) 在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate`1 endDelegate,对象标记,Int32 超时) 在 System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate endDelegate,对象标记) 在 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext,AsyncCallback 回调,对象状态) 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep 步骤,布尔值和完成同步)

Request information: 
Request URL: http://ismy-svn-pc:8080/tfs/DefaultCollection/Call Scripter/_admin 
Request path: /tfs/DefaultCollection/Call Scripter/_admin 
User host address: 172.16.8.160 
User: JLRXMELB\meno 
Is authenticated: True 
Authentication Type: NTLM 
Thread account name: NT AUTHORITY\NETWORK SERVICE    Thread information: 
Thread ID: 26 
Thread account name: NT AUTHORITY\NETWORK SERVICE 
Is impersonating: False 
Stack trace:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext.GetService[T]()

at Microsoft.TeamFoundation.Server.WebAccess.TfsHelpers.GetProjectFromName(TeamFoundationRequestContext tfsRequestContext, String projectName) at Microsoft.TeamFoundation.Server.WebAccess.TfsWebContext.Initialize()
at Microsoft.TeamFoundation.Server.WebAccess.TfsController.get_TfsWebContext() at Microsoft.TeamFoundation.Server.WebAccess.TfsController.get_TfsRequestContext() at Microsoft.TeamFoundation.Server.WebAccess.TfsController.SetCurrentThreadCulture(ITfsController controller) at Microsoft.TeamFoundation.Server.WebAccess.TfsController.OnActionExecuting(ActionExecutingContext ctx) at System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeActionMethodFilterAsynchronously(IActionFilter filter, ActionExecutingContext preContext, Func 1 nextInChain) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__31(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback callback, Object state, Int32 超时)位于 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调、对象状态、BeginInvokeDelegate beginDelegate、EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate1 endDelegate、对象标记)位于 System.Web.Mvc.Async.AsyncControllerActionInvoker。<>c__DisplayClass25.b__1e(AsyncCallback asyncCallback、对象 asyncState)位于 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult 1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate1 endDelegate、对象标记、Int32 超时)位于 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调、对象状态、BeginInvokeDelegate beginDelegate、EndInvokeDelegate 1 endDelegate, Object tag) at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__17(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调、对象状态、Int32 超时)位于System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调,对象状态,Int32 超时) 在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate endDelegate, Object tag) at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__2(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback 回调,对象状态,Int32 超时) 在 System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback 回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate`1 endDelegate,对象标签,Int32 超时) 在System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback 回调、对象状态、BeginInvokeDelegate beginDelegate、EndInvokeDelegate endDelegate、对象标签) 在 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext、AsyncCallback 回调、对象状态) 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep 步骤、布尔值和完成同步)

重新启动服务器通常可以解决问题,但一段时间后问题又会再次出现。

有任何想法吗?

答案1

我们正在处理同样的问题,并且我们发现唯一有效的解决方案(到目前为止)是重新安装应用程序层。

答案2

1:重启服务器

2:删除 Team Foundation 缓存数据 tfs_data

3:更改服务器密码

4:重新启动 IIS 中存在的所有 TFS 服务。

相关内容