我使用Visual Studio 2010连接到远程TFS 2010实例。除了一个数据库备份文件外,我可以获取特定项目中所有文件的最新版本。当我尝试获取此文件的最新版本时,我收到以下错误:
TF30063:您无权访问Microsoft-IIS / 6.0
我已经尝试清除我的本地VS客户端缓存,但这没有帮助。事件日志中没有条目可以提供有关正在进行的操作的任何线索。
任何帮助表示赞赏,或者我可以通过任何想法找到更多诊断信息。
科林。
更新:跟踪信息显示以下内容,没有真正的指针
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
答案 0 :(得分:1)
听起来您可能在服务器上有一个损坏的缓存文件。我建议登录到服务器并擦除缓存(通常在C:\ program files \ microsoft team foundation server 2010 \ Application Tier \ Web Services \ _tfs_data \ {guid} \ proxy下)
删除那里的所有文件(它不会破坏任何东西,该文件夹只是一个缓存)并再次尝试获取最新版本(无需重新启动服务器)。如果这不起作用,我建议您联系MS客户支持。
答案 1 :(得分:1)
好的,所以我修好了。我通过从中删除过时的数据集,将数据库备份文件的大小降低到1.5Mb,并且工作正常。
不确定是TFS问题还是工作代理问题 - 可能是25Mb文件传输限制。后者似乎对我更有可能。