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

2 comments:

  1. My company has been getting the same error, more so this week than in the past. Anyone know how to resolve it?

    ReplyDelete
    Replies
    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 .

      Delete