C# ADO: Cannot start more transactions on this session

最近在重做之前C#的舊項目,裏面用了ADO驅動去call sqlserver DB,在大批量處理郵箱郵件時會報這個錯:Cannot start more transactions on this session。

找到一個官方的解釋:https://support.microsoft.com/en-us/help/316872/error-message-occurs-when-you-use-ole-db-provider-for-sql-server-in-ad

是sqlserver本身的限制...

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章