【发布时间】:2015-12-06 23:54:39
【问题描述】:
我在 Team Foundation Server 2013 中为我的项目创建了一个新的构建定义。但是,当我对新构建进行排队时,我收到一个错误,即找不到 GitUpgradeTemplate.xaml(错误代码 404)。原始错误消息是德文的,所以我为你们翻译了它。你有什么想法可以解决这个问题吗?
德语:
Ausnahmemeldung: Fehler beim Herunterladen von Datei
"#/4/BuildProcessTemplates/GitTemplate/GitUpgradeTemplate.xaml". Details
404:Not Found - {"$id":"1","innerException":null,"message":"Der
Container 4 wurde nicht
gefunden.","typeName":"Microsoft.VisualStudio.Services.FileContainer.ContainrNotFoundException,
Microsoft.VisualStudio.Services.WebApi, Version=12.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a","typeKey":"ContainerNotFoundException","errorCode":0,"eventId":4700} (Typ FileNotFoundException)
Ausnahmestapelüberwachung: bei Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFile(TfsTeamProjectCollection projectCollection, String itemPath, Stream outputStream)
bei Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFileAsString(TfsTeamProjectCollection projectCollection, String itemPath)
bei Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion)
bei Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
bei Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)
我的翻译:
Exception handling: error on downloading the file "#/4/BuildProcessTemplates/GitTemplate/GitUpgradeTemplate.xaml".
Details 404:Not Found -
{"$id":"1","innerException":null,"message":"The container 4 was not found.","typeName":"Microsoft.VisualStudio.Services.FileContainer.ContainerNotFoundException, Microsoft.VisualStudio.Services.WebApi, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","typeKey":"ContainerNotFoundException","errorCode":0,"eventId":4700} (Typ FileNotFoundException)
Exception stack monitoring: at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFile(TfsTeamProjectCollection projectCollection, String itemPath, Stream outputStream)
at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFileAsString(TfsTeamProjectCollection projectCollection, String itemPath)
at Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion)
at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)
【问题讨论】: