我們正在運行TFS 2010年和2010年VS在我的機器,我不斷收到「TF26173:小組基礎無法連接到應用層」TFS 2010得到錯誤TF26173無法連接到應用層
我有VS2010 ,Windows 7 x64上連接到服務器的TeamCompanion 4.2和TFS Power Tools。我找到了一個解決方法,即關閉所有內容並清除「C:\ Users \ 」用戶 \ AppData \ Local \ Microsoft \ Team Foundation \ 3.0 \ Cache「文件夾。
然後這允許我再次連接,但在幾次操作中錯誤重新發生。雖然機器處於錯誤狀態,但我可以執行源代碼控制操作,但是我無法查看或更改工作項或修改區域和迭代。
服務器上的所有其他用戶都沒有問題,所以我認爲它必須是客戶端問題。我試圖查詢緩存文件中的Web服務URL,並全部響應。我的機器與OK用戶(所有內部用戶)位於同一網絡中,因此不認爲這是網絡問題。
任何其他想法如何解決或解決問題將不勝感激。
編輯:我已經找到了錯誤
Microsoft.TeamFoundation.WorkItemTracking.Client.ConnectionException: TF26173: Team Foundation could not connect to the application tier. Check that you have a network connection and that the Team Foundation Server is available. If the problem persists, contact your Team Foundation Server administrator. ---> System.Net.WebException: The request failed with HTTP status 404: Not Found.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientServiceProxy.GetMetadataEx2(MetadataTableHaveEntry[] metadataHave, String& dbStamp, Boolean useMaster, Int32& locale, Int32& comparisonStyle, Int32& mode)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.GetMetadataEx2(String requestId, Boolean useMaster, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata, Int32& locale, Int32& comparisonStyle, Int32& displayMode)
at CProdStudioBackendChannel.GetMetadata(CProdStudioBackendChannel* , tagVARIANT* pvarLocale, tagVARIANT* pvarComparisonStyle, PsUserDisplayModeEnum* pDisplayMode, Boolean* pfUseSIDSecurity, Int32 fNoFire, Int32 fByPassFireOnThis, WorkItemServer clientService)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr)
at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString, String defaultCachePath, String instanceId, String userSamName, String userFriendlyName, String userSid, WorkItemServer clientService)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation.Client.ITfsTeamProjectCollectionObject.Initialize(TfsTeamProjectCollection teamProjectCollection)
at Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.InitializeTeamFoundationObject(String fullName, Object instance)
at Microsoft.TeamFoundation.Client.TfsConnection.CreateServiceInstance(Assembly assembly, String fullName)
at Microsoft.TeamFoundation.Client.TfsConnection.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.GetServiceInstance(Type serviceType, Object serviceInstance)
at Microsoft.TeamFoundation.Client.TfsConnection.GetService(Type serviceType)
at Attrice.TeamFoundation.Controllers.ServerWrapper.GetWorkItemStore()
at Attrice.TeamFoundation.Controllers.TfsController..ctor(ServerWrapper server)
at Attrice.TeamFoundation.Sidekicks.VisualStudio.TeamFoundationContext.ProjectContextChanged(Object sender, EventArgs e)
at Microsoft.VisualStudio.TeamFoundation.TeamFoundationServerExt.OnActiveContextChanged(ActiveContextChangedEventArgs args)
EDIT 2的完整堆棧跟蹤:我已經提交了這個問題,以微軟,因爲似乎沒有一個答案。您可以在
感謝事先查看車票
戴夫
Windows事件查看器中是否有任何內容? – DaveShaw
Dave,可悲的是,在發生問題的時候客戶端或服務器事件日誌中沒有任何內容 – DJIDave