简体   繁体   English

TFS电子邮件配置

[英]TFS Email Configuration

We have moved our TFS data tier server to another machine. 我们已将TFS数据层服务器移至另一台计算机。 Everything was reconfigured and is working EXCEPT email alerts. 一切都已重新配置,并且除电子邮件警报外均正常工作。 Test emails are sent just fine. 测试电子邮件发送得很好。 However, alerts are not happening. 但是,没有发生警报。 When I checked the event viewer, I'm seeing the following error: 当我检查事件查看器时,看到以下错误:

ds:OLDSERVERINSTANCE db:Tfs_Configuration errors:-1 exception:System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. ds:OLDSERVERINSTANCE db:Tfs_Configuration错误:-1异常:System.Data.SqlClient.SqlException(0x80131904):建立与SQL Server的连接时发生了与网络相关或特定于实例的错误。 The server was not found or was not accessible. 服务器未找到或无法访问。 Verify that the instance name is correct and that SQL Server is configured to allow remote connections. 验证实例名称正确,并且已将SQL Server配置为允许远程连接。 (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (提供者:SQL网络接口,错误:26-指定服务器/实例时出错)

So, it appears that the email is still looking at the old database (which has been retired). 因此,该电子邮件似乎仍在查看旧数据库(已淘汰)。 Where/how can I change this? 我在哪里/如何更改?

In case anyone else runs into this scenario. 万一其他人遇到这种情况。 The TFSJobAgent wasn't smart enough on reboot to recognize the data tier change. TFSJobAgent在重新引导时不够智能,无法识别数据层更改。 Doing the following worked: 1. Stop iis 2. Stop the TFSJobAgent 3. Start the TFSJobAgent 4. Start iis 执行以下操作:1.停止iis 2.停止TFSJobAgent 3.启动TFSJobAgent 4.启动iis

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM