gpt4 book ai didi

tfsbuild - TF26006 : Team Foundation could not find 0

转载 作者:行者123 更新时间:2023-12-04 17:46:45 26 4
gpt4 key购买 nike

我们的 TFS 版本(2012 年更新 3)出现了一些问题。对于团队项目,所有构建都以错误告终:
异常消息:TF26006:Team Foundation 找不到 0。(类型 DeniedOrNotExistException)

症状是:

  • 对于其他团队项目,构建运行良好。有一个问题
    对于特定团队项目中的所有构建。
  • 构建生成将工件放入文件夹但不更新测试服务器(这是一个带有 powershell 命令的 xcopy 操作,在
    build )。

  • 到目前为止,我们已经尝试重新启动我们的 Controller 和代理。它没有成功。
    还有什么我们可以尝试的吗?
    Edit: Full expection stack trace is here:
    Exception Message: TF26006: Team Foundation could not find 0. (type DeniedOrNotExistException)
    Exception Stack Trace:
    Server stack trace:
    at Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectCollection..ctor(WorkItemStore store)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.get_Projects()
    at Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionCollection..ctor(WorkItemStore store, Boolean filtered)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.get_FieldDefinitions()
    at Microsoft.TeamFoundation.WorkItemTracking.Client.ClientWiqlAdapterHelper.FindField(String name, String prefix, Object tableTag)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.Wiql.NodeFieldName.Bind(IExternal external, NodeTableName tableContext, NodeFieldName fieldContext)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.Wiql.Node.BindChildren(IExternal external, NodeTableName tableContext, NodeFieldName fieldContext)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.Wiql.NodeFieldList.Bind(IExternal external, NodeTableName tableContext, NodeFieldName fieldContext)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.Wiql.NodeSelect.Bind(IExternal external, NodeTableName tableContext, NodeFieldName fieldContext)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.Query.Initialize(WorkItemStore store, String wiql, IDictionary context, Int32[] ids, Int32[] revs, Boolean dayPrecision)
    at Microsoft.TeamFoundation.WorkItemTracking.Client.Query..ctor(WorkItemStore store, String wiql)
    at Microsoft.TeamFoundation.Build.Workflow.Activities.WitQueryWorkItems.RunCommand(WorkItemStore workItemStore, IEnumerable`1 ids, IEnumerable`1 fields, Int32 pageSize, Boolean includeParentWorkItems)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
    at System.Func`6.EndInvoke(IAsyncResult result)
    at Microsoft.TeamFoundation.Build.Workflow.Activities.WitQueryWorkItems.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
    at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
    at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

    最佳答案

    一旦构建服务器的 Team Foundation 缓存完全清除,问题就解决了(您最好在此之前停止构建服务,这样您就不必处理被锁定的文件)。
    为此,我清理了 内容 下面的文件夹:
    C:\Users\username(Team Explorer 用户名)\AppData\Local\Microsoft\Team Foundation\4.0\Cache

    关于tfsbuild - TF26006 : Team Foundation could not find 0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31802431/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com