我想寻求一点帮助。 我有一个新安装的 TFS 服务器,我无法运行构建服务。 TFS 和构建服务器在同一个网络上,但有 2 个不同的虚拟机。 构建服务器可以将 Controller 和构建代理注册到 TFS 服务器,因此不存在“连接”问题。
我在interwebz上搜索了一下,发现这个问题一般出现在TFS服务器有多个绑定(bind)的时候,而我的只有一个。 (SSL 强硬)
详细信息:
Build machine opv-builder lost connectivity to message queue tfsmq://buildservicehost-1004/. Reason: Please contact your administrator. There was an error contacting the server. Technical information (for administrator): HTTP code 500: System.ServiceModel.ServiceActivationException
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <protocolMapping> <remove scheme="http" /> <add scheme="http" binding="customBinding" bindingConfiguration="TfsSoapBinding"/> <add scheme="https" binding="customBinding" bindingConfiguration="TfsSoapBindingHttps"/> </protocolMapping> <bindings> <customBinding> <binding name="TfsSoapBinding"> <textMessageEncoding messageVersion="Soap12WSAddressing10" /> <httpsTransport authenticationScheme="Ntlm" manualAddressing="true" /> </binding> </customBinding> </bindings> <behaviors> <serviceBehaviors> <behavior name="LongPollingThrottleBehavior"> <serviceThrottling maxConcurrentCalls="5000" /> </behavior> </serviceBehaviors> </behaviors> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> <services> <service name="Microsoft.TeamFoundation.Server.Core.WebServices.MessageQueueWebService" behaviorConfiguration="LongPollingThrottleBehavior" /> <service name="Microsoft.TeamFoundation.Server.Core.WebServices.MessageQueueWebService2" behaviorConfiguration="LongPollingThrottleBehavior" /> </services> </system.serviceModel>
最佳答案
检查托管 TFS 存储库的计算机上的内存利用率。每当它超过 95% 时,我们就会得到与您的问题相匹配的症状。必须对 SQL Server 进行技术共享,然后一切都很好。
我希望我能告诉你原因。
https://stackoverflow.com/questions/16416207/
相关文章:
.net - 将 .NET 项目从非托管项目切换到托管 ODP.NET 程序集时出现问题
azure - 如何解压或获取存储在 Azure DevOps Build Piplines 变量组
stack - 在 O(1) 中实现堆栈(push、pop 和 findmin)
visual-studio-code - 如何在Visual Studio Code中启用语言服务器
assembly - 在实模式下使用 BIOS 格式化磁盘时出错
r - 使用 `colnames` 的数值使用 `dplyr` 的 `mutate_at` 或替代方
powershell - 如何从 Mediainfo 中获取特定信息