2012-10-12 39 views
1

的IP地址后,我们搬到我们的Win2k8 MSSQL2008服务器不同的IP地址后TransactionManagerCommunicationException,我们从出建立剂SQL服务器上运行单元测试对数据库的麻烦。在我们移动数据库服务器之前一切正常。现在,它使用多个数据库事务单元测试失败,出现此错误消息:MSDTC:改变MSSQL服务器

System.Data.EntityException: The underlying provider failed on Open. 
---> System.Transactions.TransactionManagerCommunicationException: 
Communication with the underlying transaction manager has failed. 
---> System.Runtime.InteropServices.COMException: The MSDTC transaction manager 
was unable to pull the transaction from the source transaction manager due to 
communication problems. 
Possible causes are: a firewall is present and it doesn't have an exception for the 
MSDTC process, the two machines cannot find each other by their NetBIOS names, or the 
support for network transactions is not enabled for one of the two transaction 
managers. 

我们检查防火墙设置,并从一台服务器到另一个ping通,没有问题的能力。可能必须在某处存储SQL Server的旧IP地址,否则会导致此问题?

感谢您的帮助!

+0

一个ping测试并不总是意味着连接可以使用SQL服务器端口上的telnet会话(1433是默认值)建立的尝试。你也可以有陈旧的DNS记录,如果你正在使用的服务器名称或别名,重复的SPN也是冲突的一个可能的原因。你可能会更好地在'ServerFault'上问这个问题 – Kane

回答

1

问题被遗忘了旧的IP地址在构建服务器上的文件,将其固定DTC再次工作后。谢谢大家的意见。