abort tx: error 1301 : FailNoExistingTx
Posted: Thu Feb 26, 2015 2:44 am
Hi,
I want begin a tx and end tx immediately but an exception
"1301 : FailNoExistingTx" is throw.
Why?
Thank You.
VaultRequestItem[] requests = obliteraterequests.ToArray();
string txid = null;
connection.BeginTx(repid, ref requests, ref txid, string.Empty);
long newrevision = 0;
VaultResponseItem[] response = null;
VaultDateTime datetimenow = VaultDateTime.Now;
connection.EndTx(txid, ref newrevision, ref response, 0, ref datetimenow);
I want begin a tx and end tx immediately but an exception
"1301 : FailNoExistingTx" is throw.
Why?
Thank You.
VaultRequestItem[] requests = obliteraterequests.ToArray();
string txid = null;
connection.BeginTx(repid, ref requests, ref txid, string.Empty);
long newrevision = 0;
VaultResponseItem[] response = null;
VaultDateTime datetimenow = VaultDateTime.Now;
connection.EndTx(txid, ref newrevision, ref response, 0, ref datetimenow);