kel*_*oti 10 msdtc transactionscope
我正在尝试TransactionScope用于单元测试,并且我在构建服务器上不断出错.在关注了几个有用的SO答案和博客之后,我安装了DTCPing并在两个server1&上运行它server2.当我以相反的顺序运行它时,它似乎在一个方向上连接而在另一个方向上失败:
++++++++++++Validating Remote Computer Name++++++++++++
Please refer to following log file for details:
D:\KPAHQDEV043372.log
Invoking RPC method on teamcity
RPC test is successful
++++++++++++RPC test completed+++++++++++++++
++++++++++++Start DTC Binding Test +++++++++++++
Trying Bind to teamcity
Binding call to teamcity Failed
Session Down
Run Code Online (Sandbox Code Playgroud)
但是当我按照预期的方向运行它时,它就失败了
++++++++++++Validating Remote Computer Name++++++++++++
Please refer to following log file for details:
C:\TEAMCITY3024.log
Invoking RPC method on kpahqdev04
Problem:fail to invoke remote RPC method
Error(0x6BA) at dtcping.cpp @303
-->RPC pinging exception
-->1722(The RPC server is unavailable.)
RPC test failed
Run Code Online (Sandbox Code Playgroud)
您需要在防火墙中添加分布式事务协调器服务作为例外。另请确保 RPC(端口 135)已启用并在防火墙中添加为例外。
您还可以通过关闭防火墙并重新运行 DTCPing 来检查防火墙是否是罪魁祸首。
| 归档时间: |
|
| 查看次数: |
11759 次 |
| 最近记录: |