?
Solved

WCF The transaction under which this method call was executing was asynchronously aborted

Posted on 2013-11-05
1
Medium Priority
?
2,388 Views
Last Modified: 2013-11-20
We have a WCF service with the following Contract:

[OperationBehavior(TransactionScopeRequired = true)]
        public Collection<string> PostJE(string glProvider, Collection<JournalEntry> journalCollection)
        {
            Collection<string> ReturnCodes = null;

            try
            {
                ReturnCodes = LedgerService.PostJournalEntries(journalCollection, glProvider);
            }
            catch (FaultException<GLExceptionDetail>)
            {
                throw;
            }
            catch (Exception ex2)
            {
                ExceptionPolicy.HandleException(ex2, "HCX Exception Policy");
                throw;
            }

            return ReturnCodes;
        }


The method in turn calls another 3rd party Service.

We are getting an error when calling the  PostJE method from our Web application such as:

The transaction under which this method call was executing was asynchronously aborted

A few questions:
1) How to get rid of the error we are getting.
2) Do we really need Transaction Scope on the WCF method since we are in turn calling another 3rd party Service.
3) For the Transaction Scope to work as intended, do we need DTS?

Thanks,
0
Comment
Question by:as2007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
apeter earned 2000 total points
ID: 39627015
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question