2011-06-01 85 views
1

我使用Visual Studio 2010連接到遠程TFS 2010實例。對於特定項目中除一個數據庫備份文件以外的所有文件,我可以獲得最新。當我嘗試以獲得最新的這個文件我得到以下錯誤:連接到遠程TFS 2010實例給出TF30063錯誤

TF30063:您沒有權限來訪問Microsoft-IIS/6.0

我試圖清除我的地方VS客戶端緩存,但沒有按沒有幫助。在事件日誌中沒有任何條目可以提供有關正在發生的事情的線索。

任何幫助表示讚賞,或任何想法,我可以找到更多的診斷信息,將不勝感激。

Colin。

更新:跟蹤信息顯示以下,沒有真正的指針

06/01/2011 15:45:09 (pid 5560, tid 5216, 115007 ms) Completed download: id = 0 in 61866   ms, active = 1 
06/01/2011 15:45:09 (pid 5560, tid 5216, 115007 ms) Web method response: [xxxxx.homeserver.com] Ver-Download: Napier.bak 61866 ms 
06/01/2011 15:45:09 (pid 5560, tid 5216, 115007 ms) Recorded m_exception in UpDownAsyncResult.Completed(): Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access Microsoft-IIS/6.0. at  Microsoft.TeamFoundation.VersionControl.Client.FileUploader.HandleErrorResponse(HttpWebResponse response) 
06/01/2011 15:45:09 (pid 5560, tid 5216, 115008 ms) Caught and converted to non-fatal error: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access Microsoft-IIS/6.0. at Microsoft.TeamFoundation.VersionControl.Client.Client.EndDownloadFile(IAsyncResult asyncResult, Stream& downloadStream) at Microsoft.TeamFoundation.VersionControl.Client.AsyncGetFileState.Completed(IAsyncResult asyncResult) 
06/01/2011 15:45:09 (pid 5560, tid 5216, 115008 ms) Converted to non-fatal: Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: C:\code\Remote\Napier\Trunk\Database Backups\Napier.bak: TF30063: You are not authorized to access Microsoft-IIS/6.0. Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access Microsoft-IIS/6.0. at Microsoft.TeamFoundation.VersionControl.Client.Client.EndDownloadFile(IAsyncResult asyncResult, Stream& downloadStream) at Microsoft.TeamFoundation.VersionControl.Client.AsyncGetFileState.Completed(IAsyncResult asyncResult) 
--- End of inner exception stack trace --- 
06/01/2011 15:45:09 (pid 5560, tid 2784, 115193 ms) DownloadFiles: 62061 ms 
06/01/2011 15:45:09 (pid 5560, tid 2784, 115193 ms) Acknowledgements: 0 ms 
06/01/2011 15:45:09 (pid 5560, tid 2784, 115349 ms) CreateWebRequest() -- Uri: https://xxxxxx.homeserver.com/tfs/DefaultCollection/VersionControl/v1.0/repository.asmx 
06/01/2011 15:45:09 (pid 5560, tid 2784, 115355 ms) request.AutomaticDecompression: GZip 
06/01/2011 15:45:09 (pid 5560, tid 2784, 115355 ms) Web method running: [https://xxxxxx.homeserver.com/tfs/DefaultCollection/VersionControl/v1.0/repository.asmx] QueryItemsExtended[VersionControl] 
06/01/2011 15:45:09 (pid 5560, tid 2784, 115649 ms) HTTP headers: 
Content-Length: 1247 
Cache-Control: private, max-age=0 
Content-Type: application/soap+xml; charset=utf-8 
Date: Wed, 01 Jun 2011 14:43:27 GMT 
Server: Microsoft-IIS/6.0 
Via: 1.1 Clearswift SECURE Web Gateway 
X-AspNet-Version: 4.0.30319 
X-Powered-By: ASP.NET 
+2

您可以嘗試啓用跟蹤並查看是否有任何其他信息:http://blogs.msdn.com/b/edhintz/archive/2007/03/30/tfs-client-tracing.aspx? – 2011-06-01 14:09:41

+0

謝謝指向跟蹤設置的指針。我已更新問題以包含結果 – Col 2011-06-01 14:52:44

+0

您可以對此文件執行任何其他操作,例如檢查歷史記錄,檢查編輯等,而不是獲取最新的內容。我猜不是,但我只是想知道。 – 2011-06-01 15:18:06

回答

1

好的,所以我修好了。我通過從數據庫中刪除過時的數據集,將數據庫備份文件的大小降至1.5Mb,並且工作正常。

不確定它是否是TFS問題或工作代理問題 - 可能是25Mb文件傳輸限制。後者似乎對我更有可能。

1

這聽起來像你可以在服務器上有一個損壞的緩存文件。我建議登錄到服務器並擦除緩存(通常在C:\ program files \ microsoft team foundation server 2010 \ Application Tier \ Web Services \ _tfs_data \ {guid} \ proxy)

刪除所有文件它不會破壞任何東西,該文件夾只是一個緩存),然後再次嘗試GetNew(無需重新啓動服務器)。如果這不起作用,我建議聯繫MS客戶支持。

+0

這一個實際上解決了我們的問題。謝謝! – Anton 2014-03-14 13:38:40