Reason for System.Transactions.TransactionInDoubtException

后端 未结 4 1818
一向
一向 2020-12-18 03:04

I have 2 Jobs that read and produce data in a Sql Server Database. Every once in a while the jobs crash with a System.Transactions.TransactionInDoubtException. The exact sta

4条回答
  •  情深已故
    2020-12-18 03:55

    I think this can happen also without MSDTC. I think I have had this happen in a system that did not use MSDTC at all. I think it is triggered if your DB connection fails at exactly a certain moment. The moment has to be such that the service has sent a COMMIT to the DB, but then the connection fails so that the service can't be sure if the DB ever received the COMMIT command or not.

提交回复
热议问题