110,025
社区成员




using (TransactionScope scope = new TransactionScope())
{
using (SqlConnection conn = new SqlConnection(ConnectionString))
{
//这里Open的时候就报错了啊,老是连接不上,报超时!!
conn.Open();
}
scope.Complete();
}
/////////////////////////////////////////////////////////////
Log from Test client:SVCTAG-G2HFY1X
Start DTC connection test with remote host as WANGSU-4D7CC8CE
WANGSU-4D7CC8CE is resolved to 192.168.0.51
This IP address is back traced to WANGSU-4D7CC8CE
Invoking RPC method on WANGSU-4D7CC8CE
Problem:fail to invoke remote RPC method
Error(status=1722): at dtcping.cpp (Line:265)
RPC pinging failure
Description:1722-RPC 服务器不可用。
Invalid partner CID while constructing binding handle
/////////////////////////////////////////////////////////////
using (TransactionScope scope = new TransactionScope())