Connection using uniobject.NET connection to unidata account does not work and transaction fails

253 views Asked by At

I am using Uniobject.Net for connection to unidata account. Connection is successful but while using the transaction processing it fails during transaction commit. It says "No Transaction is in progress" in the client side message. We used user with root permission as well but still the get the same issue. If we use telnet connection it works well.

Can anyone help me with this issue? Is there a log created for uniobject.Net call in unidata?

1

There are 1 answers

4
Stuboy On

Are you calling a Unidata Basic program on the UD server that includes the instructions begin/commit/end transaction or are you using the uniObjects session transaction class?

If it's in the called basic program, then TP should work the same in .net call or telnet. If calling using the uo.net transaction class, it may well not match the telnet result as the transaction is happening at the .net session level (which can't happen in the telnet session). Check the isActive() class method to see if you do really have an active transaction.

Logging for uniObjects.net is set up in the app.config or web.config file. See the "Administrative Server Settings and Logging for U2 Clients" document for details on how to.