WCF Distributed Development Common error: The transaction under which this method called was executing, the transaction being invoked was interrupted asynchronously
This error was encountered in WCF transaction programming today: The transaction under which this method called was executing was asynchronously aborted. The transaction invoked by this approach is interrupted asynchronously.
The error screenshot is as follows:
The reason may be multiple. I have inquired a lot of information. The issue was rarely discussed in domestic forums. MSDN English Forum Someone has met, they also gave the way to solve the problem. But I tried it and it didn't work.
The final check is that the client did not start a transaction stream. You can run it after you modify it. Here's a summary of all possible solutions:
1.[servicebehavior (transactiontimeout = "00:10:00")], the service class adds a transaction timeout property, or it can be configured in a file. Original: http://social.msdn.microsoft.com/Forums/en-US/windowstransactionsprogramming/thread/ 745b961f-0a95-407c-bbe5-9d67597b7b6f;
2.mismatch of transaction isolation levels etc, isolation level Information department matching. Original link: http://social.msdn.microsoft.com/Forums/en-US/windowstransactionsprogramming/thread/ 745b961f-0a95-407c-bbe5-9d67597b7b6f;
3. The client initiates the transaction flow, and the default client endpoint transactionflow= "false" and is modified to transactionflow= "true".
4. There is also the possibility that the operation parameters of the call do not meet the requirements. This error occurs when I put the length of the argument too long here.
The above is the probable cause. Everybody changes the time all consider, the comprehensive examination. Can find a way to solve the problem. Also welcome to Add.