Hi,
I am having problems using generated LLBLGen code in the business layer of an application composed of COM+ serviced components. This layer essentially implements the business logic of the application, using the OR layer created by LLBLGen to interface with an underlying SQLServer 2005 database.
Everything works fine with Serviced Components marked as [TransactionAttribute(TransactionOption.Disabled)] but as soon as I try to use **Required **or RequiresNew, the application fails on the first fetch of data, specifically on the line:
dao.FetchExisting(this, base.Transaction, prefetchPathToUse, contextToUse);
within the entity base's **Fetch **method.
The exception is a Transaction exception with the message:
The transaction has already been implicitly or explicitly committed or aborted.
As far as I am aware, the business layer assembly is properly set up with a strong key and registered correctly by the application. Note that I have attempted to run my code both with and without using the TransactionComPlus object, althouh as I understand it, this object is only required if a transaction spans across method calls.
Thank you in advance for your time and your assistance,
Regards,
Colin Vella