积极答复者
Team Foundation services are not available from server

问题
-
Built $/product/TeamBuildTypes/dev/TFSBuild.proj for default targets.
C:\s\product\dev\BuildType\TFSBuild.proj (1226): TeamFoundationServiceUnavailableException: Team Foundation services are not available from server tfssever\tfssever.
Technical information (for administrator): The underlying connection was closed: An unexpected error occurred on a receive.
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.Build.Client.BuildWebService.QueryBuildsByUri(Uri[] uris, String[] informationTypes, QueryOptions options, QueryDeletedOption deletedOption)
at Microsoft.TeamFoundation.Build.Client.BuildServer.QueryBuildsByUri(Uri[] buildUris, String[] informationTypes, QueryOptions queryOptions, QueryDeletedOption queryDeletedOption)
at Microsoft.TeamFoundation.Build.Client.BuildServer.QueryBuildsByUri(Uri[] buildUris, String[] informationTypes, QueryOptions queryOptions)at projectQueueBuild.WaitForBuildComplete.BuildCompleteInTime() in D:\product\main\project\internal\source\projectQueueBuild\WaitForBuildComplete.cs:line 128 WebException: The underlying connection was closed: An unexpected error occurred on a receive.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.AsyncWebRequest.ExecRequest(Object obj) IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
TF270015: 'MSBuild.exe' returned an unexpected exit code. Expected '0'; actual '1'.通过代理连接美国的服务器,经常遇到这个错误。不知道是网络问题?TFS proxy的问题?还是 TFS server的问题?
答案
-
Hi laofo,
欢迎来到MSDN中文论坛!
不知道您是否装了TFS Power Tools, TFS Power Tools 可以帮助您检查TFS Server的配置情况是否正常,哪里出现问题等等。
你可以从下面的链接进行下载:
最新版本的下载http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f/
希望能对您有所帮助!
Best Regards,
Cathy
Cathy Kong [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Cathy KongModerator 2011年3月15日 9:39
全部回复
-
Hi laofo,
欢迎来到MSDN中文论坛!
不知道您是否装了TFS Power Tools, TFS Power Tools 可以帮助您检查TFS Server的配置情况是否正常,哪里出现问题等等。
你可以从下面的链接进行下载:
最新版本的下载http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f/
希望能对您有所帮助!
Best Regards,
Cathy
Cathy Kong [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Cathy KongModerator 2011年3月15日 9:39