Hi,
I’ve been testing em client for a while now and use it to sync with several Office 365 acoounts using EWS. It runs fine, but I get ongoing sync errors with one account… I can sync this account with Thunderbird(IMAP) and Outlook without any problems, though. So, I guess it is a problem with my eM client. I already tried to delete and recreate that account in eM client without success…
Does anyone can give me a hint where to look further, please.
Thanks,
Greg
Here are some logs:
15:15:50 [email protected] [Exchange Web Services] MailClient.Storage.Application.OperationException: Die Synchronisation des Ordners’[email protected]/Posteingang’ ist fehlgeschlagen mit folgendem Fehler: The property has an invalid value.
—> Microsoft.Exchange.WebServices.Data.ServiceResponseException: The property has an invalid value.
at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest1.Execute() at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalGetAttachments(IEnumerable
1 attachments, Nullable1 bodyType, IEnumerable
1 additionalProperties, ServiceErrorHandling errorHandling)
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetAttachment(Attachment attachment, Nullable1 bodyType, IEnumerable
1 additionalProperties)
at Microsoft.Exchange.WebServices.Data.Attachment.InternalLoad(Nullable1 bodyType, IEnumerable
1 additionalProperties)
at Microsoft.Exchange.WebServices.Data.ItemAttachment.Load(BodyType bodyType, PropertyDefinitionBase[] additionalProperties)
at MailClient.Protocols.Exchange.ExchangeToMimeConverter.AttachmentMimePart…ctor(Attachment attachment, ExchangeVersion serverVersion)
at MailClient.Protocols.Exchange.ExchangeToMimeConverter.AddAttachment(Attachment attachment)
at MailClient.Protocols.Exchange.ExchangeMailSynchronizer.ConvertApplicationData(ExchangeService service, Item item, CancellationToken cancellationToken)+MoveNext()
at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable
1 collection)
at MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.ConvertApplicationDataAndSkipUnparsable(ExchangeService service, Item item, CancellationToken cancellationToken) at MailClient.Protocols.Exchange.ExchangeItemSynchronizer
2.ChangesToItems(ExchangeService service, IEnumerable1 changes, CancellationToken cancellationToken)+MoveNext() at System.Collections.Generic.List
1.InsertRange(Int32 index, IEnumerable1 collection) at MailClient.Protocols.Common.ItemSynchronizeContext
2.<>c__DisplayClass18_03.<Synchronize>g__FlushItems|1(Int32 threshold) at MailClient.Protocols.Common.ItemSynchronizeContext
2.Synchronize[T,TUid,TVid](SynchronizationType synchronizationType, IEnumerable1 items, Func
2 getUniqueId, Func2 getVersionId, Func
3 hasChanged, Func2 isDeleted, Func
2 convertItems, Action2 updateItem) at MailClient.Protocols.Exchange.ExchangeItemSynchronizer
2.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken) at MailClient.Protocols.Common.ItemSynchronizer
2.<>c__DisplayClass37_1.b__6(WorkerStatus status, CancellationToken ct)
at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
— End of inner exception stack trace —
at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
— End of stack trace from previous location where exception was thrown —
at MailClient.Protocols.Exchange.ExchangeAccount.SynchronizeIntAsync(Boolean forced)
at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass6_0.<b__0>d.MoveNext()
EnqueuedStackTrace =
at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass37_1.<EnqueueSynchronize>g__RunSynchronize|2() at MailClient.Protocols.Common.ItemSynchronizer
2.<>c__DisplayClass37_0.b__0()
at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
at MailClient.Protocols.Common.ItemSynchronizer2.EnqueueSynchronize(Folder folder, Boolean fast, CancellationToken cancellationToken, Action
1 completed)
at MailClient.Protocols.Common.ItemSynchronizer2.MailClient.Storage.Synchronization.IItemSynchronizer<TStorageItem>.Synchronize(Folder folder, SynchronizationPriority priority, Action
1 completed)
at MailClient.Storage.Application.ItemCollection2.Synchronize(SynchronizationPriority priority, Action
1 completed)
at MailClient.Storage.Application.Folder.Synchronize(SynchronizationPriority priority)
at MailClient.Protocols.Common.FolderSynchronizer.FolderActivated(Folder folder, Boolean goingOnline)
at MailClient.Protocols.Common.FolderSynchronizer.GoOnlinePost()
at MailClient.Protocols.Exchange.ExchangeAccount.GoOnlineInt()
at MailClient.Protocols.Common.AccountBase.ChangeOnlineState(Boolean online, OfflineReason offlineReason)
at MailClient.Protocols.Common.AccountBase.GoOnline()
at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
at MailClient.Protocols.Common.RequestIssuer.RunRequest(Action2 action, CancellationToken cancellationToken, OperationPriority priority, Action
1 completed, String errorFormat, Object[] errorParams)
at MailClient.Protocols.Common.ItemSynchronizer2.EnqueueUpload(Folder folder, IEnumerable
1 items, Boolean prioritize)
at MailClient.Protocols.Common.ItemSynchronizer2.MailClient.Storage.Synchronization.IItemSynchronizer<TStorageItem>.Modify(Folder folder, IEnumerable
1 items, IEnumerable1 fields) at MailClient.Storage.Application.Item
2.EndUpdate()
at MailClient.Storage.Application.Mail.MailItem.set_Flags(MailFlags value)
at MailClient.UI.Controls.ControlMessageDetail.MailDisplayInfo.MarkAsRead()
at MailClient.UI.Controls.ControlMessageDetail.ControlMessageDetail.proceedMarkAsRead()
at MailClient.UI.Controls.ControlMessageDetail.ControlMessageDetail.timerMarkRead_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at MailClient.Program.<>c.b__167_1()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Delegate.DynamicInvoke(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MailClient.Common.UI.Forms.BaseForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at Xilium.CefGlue.Interop.libcef.run_message_loop()
at MailClient.Program.Main(String[] args)