MSDTC已取消分布式事务

时间:2013-09-24 21:59:37

标签: c# wcf msdtc

我在生产服务器上出现DTC错误randamly.i在Windows 2008R2服务器中的IIS7中托管WCF服务,托管在同一服务器上托管的Windows服务托管的另一个WCF服务和另一个集群服务器托管的数据库服务器sql 2008 Windows 2003。 从IIS托管的wcf服务到另外4个作为Windows服务托管的wcf服务的事务支持按如下顺序进行:

客户端 - > WCF服务(IIS) - > WCF服务1(winService) - > WCF服务2(winService) - > WCF服务3(winService) - > WCF服务4(winService)

所有服务之间的绑定是net.tcp绑定。 我的问题是我得到这个错误randamly,我不知道为什么或如何麻烦拍摄它的错误是:

  

System.ServiceModel.FaultException`1 [System.ServiceModel.ExceptionDetail]:   帐户条目未保存... Microsoft分布式事务   协调员(MS DTC)已取消分发的交易。 (故障   细节等于An ExceptionDetail,可能是由   IncludeExceptionDetailInFaults = true,其值为:System.Exception:   帐户条目未保存... Microsoft分布式事务   协调员(MS DTC)已取消分发的交易。 ---->   System.Data.SqlClient.SqlException:Microsoft分布式   事务协调员(MS DTC)已取消分发   交易。在   System.Data.SqlClient.SqlConnection.OnError(SqlException异常,   Boolean breakConnection)at   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject   stateObj)在System.Data.SqlClient.TdsParser.Run(RunBehavior   runBehavior,SqlCommand cmdHandler,SqlDataReader dataStream,   BulkCopySimpleResultSet bulkCopyHandler,TdsParserStateObject   System.Data.SqlClient.SqlDataReader.ConsumeMetaData()中的stateObj)   在System.Data.SqlClient.SqlDataReader.get_MetaData()at   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,   RunBehavior runBehavior,String resetOptionsString)...)。

我检查了DTC配置,我检查了允许入站和放大out bound复选框并选择No Authentication requierd,但错误仍然显得有些出现,有时我们必须重新启动服务器才能解决此问题。 你能帮我理解它吗?我该怎么处理它?<​​/ p>

由于

0 个答案:

没有答案