Posted By: Jason Olson | Mar 30th, 2007 @ 10:46 AM | 21,063 Views | 5 Comments
Welcome back to the "Developer, Meet Server" screencast everybody Smiley.

In this screencast we will dive back into Transactional NTFS and look at how you can use it with WCF to build powerful transactional capabilities into a service-based system.

Sample Code: Transactional NTFS Demos.
Media Downloads:
Rating:
1
0
AndrewDotHay
AndrewDotHay
Relax, have a home brew.
Nice! I have a question about an attribute on this service.

It was marked with the auto-complete attribute that votes to commit the transation if no exceptions occur. What effect does that have in this case?

The client has to issue the commit in this scenario. Is the work performed by the service still uncommitted at the period of time "after the service method completes and before the commit button is clicked"? I suspect yes, so why have that attribute on the method? Is it just to play nice in case this service is invoked by a different type of client?
Hi Jason,

When I test the TxF/WCF demo on the Longhorn Dec CTP I get following error during the method 'CreateFileTransacted' :
===============
The Transaction object already has a superior enlistment, and the caller attempted an operation that would have created a new superior. Only a single superior enlistment is allow.
===============

Win32Error : 6709.

Any idea what I should do to get the demo working?

Thanks in advance.

W.
Hi,

did you solve this problem? I meet exactly the same thing on my project. And your source have still this problem.

Thanks for your help

    Fred
Microsoft Communities