Thursday, April 1, 2010

PostSynchronize Scare when Upgrading AX2009

Just want to share my experience with this Dynamics AX upgrade step. I got to the part of the upgrade where it is time to do the Postsynchronize step. This is the all important part. I had to do a Presynchronize first, then a Synchronize database step. After this step, the Postsynchronize step (which was greyed out) *should* turn to green after synchronizing successfully.

 

However in my case, it did not. I spent a good hour trying to figure out why it didn’t. I resynchronized, i checked that everything was ok. It was. I reran Presynchronize then Synchronize. Nothing worked. The Postsynchronize options still stayed greyed out. It was not enabled and i could not proceed.

 

A few minutes before giving up and restoring the backup (which would mean i would have lost a few hours’ worth of upgrade time), i tried clicking back to the second step which was Provide licence Information, re ran that, reran the next step, Global Address books, re ran Setup Current Time Zone, re ran Customer Feedback Options. Skipped detect code upgrade conflicts, re ran Presynchronize (it won’t actually rerun the jobs, it will just tell you have already ran it, and it when you close out of it, it will enable the next step), re ran Synchronize... and voila!!! It worked, it opened up the Postsynchronize step!

 

What *i think* happened is when you run the upgrade, it puts some settings in a temporary table. Throughout the upgrade, which can span days, you are going in and out of AX. If this table is cleared for some reason, it loses track of what steps you have finished, and what the next step is.

 

Going back to the second step (the first step is Compile Application, and i didn’t want to do that as it takes around 30 minutes) seem to restore that temporary table and going through the steps one after the other, without shutting down, it will allow you to get to Postsynchronize.

 

I hope this helps some poor soul out there desperate to know why they cannot Postsynchronize