27-03-2012 7:00 - edited 27-03-2012 7:04
I've recently been having an issue with syncing emails when using ActiveSync.
After a fews days, syncing no longer works and I have to delete and recreate the ActiveSync account. This works for a few days and then the problem occurs again.
Looking at the MfE logs, I can see the following error every time the sync fails:
27/03/2012 06:25:03 Connected to connection method named <Connection Name> with type <Connection Type>
27/03/2012 06:25:08 The current ComamndHandler State is EFolderSync.
27/03/2012 06:25:08 CEasCmdHandler:oRunL - Main state machine. PreviousMainState = 4.CurrentMainState = 4. CurrentPolicyState =0.Error =-6
I can't identify any factors that lead to the failure of syncing, but once it stops syncing, the only way appears to be to delete the account and recreate.
I'd appreciate any assistance available.
24/03/2012 13:00:14 Mail for Exchange Build : 1.00.000
24/03/2012 13:00:14 Device Software Version: 111.030.0609 2011-11-26 RM-626 (c) Nokia
24/03/2012 13:00:14 Device Model: E7-00
I think I found the cause for this problem. When syncing is in the middle of the progress and the phone is shutdown it remembers the last sync phase, but loses some data from RAM and thus stucks to infinite loop.
Haven't managed to verify if this happens with all shutdowns or only with total shutdown (i.e. power button pressed until phone shakes).