Posts RSS Comments RSS 18 Posts and 29 Comments till now

A quick fix for unbalanced TTS

During development you may encounter one of these.
Unbalanced TTS error

This usually leaves your Ax session in an unusable state that you can’t close properly. However, there’s no need to get out the big guns and kill the process with the Task Manager.

Instead, if possible, open the AOT and run this job:

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

It simply rolls back any pending transactions until the TTS level is back at zero. Now, this doesn’t fix the cause of the problem but it makes life easier trying to iron out the bug.

Trackback this post | Feed on Comments to this post

Leave a Reply