I just got an issue when running the DataUpgrade package to 8.1 form the command prompt in a Cloud hosted environment. The package failed on Step 6 with this error:

Application configuration sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Custom action sync failed with error: ‘InfoException:Stack trace: Call to TTSCOMMIT without first calling TTSBEGIN.

… followed by a huge stack trace… and since I am not fluent in stack trace I did what everyone does… I call a friend 😉

Fortunately I have great colleagues and I got the instant tip to restart IIS on the server; so I did and I reran the runbook :

AXUpdateInstaller.exe execute -runbookid=[yourrunbookid] -rerunstep=6

Presto… it worked…