WCF Distributed Development common errors (13)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.