Tuesday, 5 June 2012

To resolve unbalanced X++ TTSBegin/TTSCommit pair in Ax 2009

Hi friends,

I have an unbalanced X++ TTSBegin/TTSCommit pair has been detected .Cause of this include (a) too many/few TTSBegin or TTS Commit . The current TTS level is '1'

To solve this error there is a job which is to be executed when yo get this error.

static void resetTTS(Args _args)
{
while (appl.ttsLevel() > 0)
ttsAbort;
}



Vivek Chirumamilla

1 comment:

  1. Hi Dusty,

    Find out where the error is coming from. There must be some unfinished transaction without commit. Make sure that it ends correctly .

    ReplyDelete