I am doing some database work, nothing fancy, just creating som new rows and
stuff. When I get this error.
Distributed transaction completed. Either enlist this session in a new
transaction or the NULL transaction
Exception Details: System.Data.SqlClient.SqlException: Distributed
transaction completed. Either enlist this session in a new transaction or
the NULL transaction
When I remove the ServicedComponent inheritance from my Business class
everything works great!
I have an abstract Class A which inherits from SerivcedComponetns and also
implement an Execute method, in which SubExecute is called (implemented by
Class B inherits class B and Implements SubExecute.
Both methods are tagged with [AutoComplete], and bot classes are tagged with
[Serializable] and [ Transaction(TransactionOption.Required) ]
But when any Database operations (implemented in separate layer) are called
it returns with an error!
Anybody got an idea of why
Thanks a lot!