I'm trying to begin a transaction however on calling the .Begin()
method throws a NullReferenceException and the stacktrace shows that it is coming from IBMU2.UODOTNET.UniTransaction.ServerTransaction(Int32 aKey)
.
Has anyone successfully used UniTransaction
, if so is there something that i'm missing?
// note: Session is already connected
// and can do UniFile operations prior to this point.
UniTransaction transaction = session.CreateUniTransaction();
transaction.Begin(); // throws NullReferenceException
Note: The system is a UniData system and not a UniVerse system. Not sure if that makes a difference.
[Update 2011-07-08] Still having this issue. We are using UniData version 7.2 (I think 7.2.6 specifically) and using the UniObjects.NET version 2.2.3.7377.