我安装了TFS 2013 Update 2 on Windows Server 2012 R2
。
我还安装了TFS on a separate Windows 7 machine
作为构建机器。
但是,当我在构建机器上重新启动构建服务时,控制器和代理程序运行大约10秒钟,然后显示一个红色方块。在“详细信息...”链接下,消息为
Please contact your administrator. There was an error contacting the server.
Technical information (for administrator):HTTP code 500: ServiceModel.ServiceActivationException
我已经尝试了所有建议的解决方案(缺少可用内存,多个http标头,配置不正确的web.config),似乎没有适用。
我尝试过几次测试 -
我将TFS数据库恢复到构建计算机上,并将构建服务指向其中一个项目 - 服务运行良好。
我在现有的Windows Server TFS安装上设置了构建服务,我收到500错误。
我还在Windows Server上从头开始重新安装TFS 2013无济于事。还有其他人遇到过类似的东西吗?
编辑 -
我现在在应用程序事件日志中发现了这个错误 -
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/30405502
Exception: System.ServiceModel.ServiceActivationException: The service '/tfs/queue/Greenzone_2014/Services/v4.0/MessageQueueService2.svc' cannot be activated due to an exception during compilation. The exception message is: The extended protection settings configured on IIS do not match the settings configured on the transport. The ExtendedProtectionPolicy.PolicyEnforcement values do not match. IIS has a value of WhenSupported while the WCF Transport has a value of Never.. ---> System.NotSupportedException: The extended protection settings configured on IIS do not match the settings configured on the transport. The ExtendedProtectionPolicy.PolicyEnforcement values do not match. IIS has a value of WhenSupported while the WCF Transport has a value of Never.
at System.ServiceModel.Activation.HostedAspNetEnvironment.ValidateHttpSettings(String virtualPath, Boolean isMetadataListener, Boolean usingDefaultSpnList, AuthenticationSchemes& bindingElementAuthenticationSchemes, ExtendedProtectionPolicy& extendedProtectionPolicy, String& realm)
编辑我找到了解决方案 -
转到IIS Management Studio - >验证 - > Windows身份验证 - >高级设置
关闭'扩展保护'