我在本地PC上安裝了Visual Studio 2017社區和Team Foundation Server 2017。一切順利,但我無法創建第一個項目。TF400898:發生內部錯誤
--begin Exception entry---
Time: 2017-04-22T21:25:57
Module: Engine
Event Description: TF30162: Task "BuildTask" from Group "Build" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF400898: An Internal Error Occurred. Activity Id: f0024553-93bb-4320-812f-e12aa9e0f70a.
Exception Details:
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.Build.ProjectComponentCreator.ExecuteInternal(ProjectCreationContext context, XmlNode taskXml, Boolean validationOnly)
at Microsoft.VisualStudio.TeamFoundation.Build.ProjectComponentCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Message: TF400898: An Internal Error Occurred. Activity Id: f0024553-93bb-4320-812f-e12aa9e0f70a. (type BuildServerException)
Exception Stack Trace: at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
at Microsoft.TeamFoundation.Build.Client.BuildWebService4.CreateTeamProjectComponents(Uri projectUri, IEnumerable`1 permissions)
at Microsoft.TeamFoundation.Build.Client.BuildServer.CreateTeamProjectComponents(Uri projectUri, IEnumerable`1 permissions)
at Microsoft.VisualStudio.TeamFoundation.Build.ProjectComponentCreator.ExecuteInternal(ProjectCreationContext context, XmlNode taskXml, Boolean validationOnly)
Inner Exception Details:
Exception Message: TF400898: An Internal Error Occurred. Activity Id: f0024553-93bb-4320-812f-e12aa9e0f70a. (type SoapException)SoapException Details: <detail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExceptionMessage="The file exists.
" BaseExceptionName="System.IO.IOException" />
Exception Stack Trace:
和事件日誌:
Detailed Message: TF30065: An unhandled exception occurred.
Web Request Details
Url: http://server:8888/tfs/HOANAM/Build/v4.0/BuildService.asmx [method: POST]
User Agent: Team Foundation (devenv.exe, 15.112.26410.0, Other, SKU:59)
Headers: not available
Path: /tfs/HOANAM/Build/v4.0/BuildService.asmx
Local Request: True
Host Address: fe80::d173:b6d1:9535:2177%13
User: SERVER\Administrator [authentication type: NTLM]
Exception Message: The file exists.
(type IOException)
Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at Microsoft.TeamFoundation.Build.Server.ProcessTemplate.UpdateCachedProcessParameters(IVssRequestContext requestContext, VersionSpec versionSpec)
at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.AddProcessTemplates(IVssRequestContext requestContext, IList`1 processTemplates)
at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.CreateBuiltInProcessTemplates(IVssRequestContext requestContext, String teamProjectUri, Boolean isUpgrade)
at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.CreateTeamProject(IVssRequestContext requestContext, String projectUri, IList`1 permissions)
at Microsoft.TeamFoundation.Build.Server.BuildWebService4.CreateTeamProjectComponents(String projectUri, List`1 permissions)
我能達到http://server:8888/tfs/HOANAM/Build/v4.0/BuildService.asmx,http://server:8888/tfs/罰款。此外,我試圖刪除C:\ Users \ Administrator \ AppData \ Local \ Microsoft \ Team Foundation中的所有文件。
如果您通過網絡訪問創建團隊項目,結果如何? (轉到tfs管理頁面([url]/tfs/_admin)>選擇一個集合>點擊創建一個新的團隊項目) –