SQL Server, C#: Timeout exception on Transaction Rollback

前端 未结 2 428
自闭症患者
自闭症患者 2021-01-04 01:52

I\'ve got a strange problem. I have a .NET program and my process logic needs a long-running transaction (~20min) on a SQL Server 2005 database. That\'s ok, since nobody acc

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-04 02:26

    Matt Neerincx of the Sql Server team addressed this in an MSDN forum question. Odd but true, the connect timeout from the connection string is used to set the timeout. Verified by him looking at the source code.

提交回复
热议问题