我正在构建一个应用程序,但出现错误。有人可以帮助我了解如何解决这个问题吗?
异常消息:请求被服务器拒绝。技术信息:HTTP 代码 400:错误请求(类型 TeamFoundationServerInvalidRequestException)异常堆栈跟踪:
在 Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage) 在 Microsoft.TeamFoundation.Client .Channels.TfsHttpWebRequest.SendRequest() 在 Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout) 在 Microsoft.TeamFoundation.Client.Channels.TfsHttpRetryChannel.Request(TfsMessage message, TimeSpan timeout) 在 Microsoft.TeamFoundation .Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation 操作,Object[] 参数,TimeSpan 超时,Object[]& 输出)
在 Microsoft.TeamFoundation.TestImpact.Client.TestImpactServer.Microsoft.TeamFoundation.TestImpact.Client.ITestImpactServer.PublishBuildChanges(Uri buildUri, CodeChange[] changes) 在 Microsoft.TeamFoundation.TestImpact.BuildIntegration.BuildActivities.GetImpactedTests.Execute(CodeActivityContext context) 在System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)Inner 异常详细信息:异常消息:远程服务器返回错误:(400)错误请求。(类型 WebException)状态:ProtocolErrorResponse 状态代码:BadRequestResponse 状态消息:
在 System.Net.HttpWebRequest.GetResponse()