emClient 8 problem with Exchange

Hi! I’m having trouble with the emClient 8 which I tried using with an Exchange email account. Seems like something is not working well with the calendar.

Here’s the log:

16.7.2020. 15:34:10 MailClient.Accounts.ConnectionException: The DateStart property must come before the DateEnd property. (Parameter ‘dateStart’)
16.7.2020. 15:34:10 —> System.ArgumentException: The DateStart property must come before the DateEnd property. (Parameter ‘dateStart’)
16.7.2020. 15:34:10 at System.TimeZoneInfo.AdjustmentRule.ValidateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TransitionTime daylightTransitionStart, TransitionTime daylightTransitionEnd, Boolean noDaylightTransitions)
16.7.2020. 15:34:10 at System.TimeZoneInfo.AdjustmentRule.CreateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TransitionTime daylightTransitionStart, TransitionTime daylightTransitionEnd)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.TimeZoneTransitionGroup.CreateAdjustmentRule(DateTime startDate, DateTime endDate)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.TimeZoneDefinition.ToTimeZoneInfo()
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.TimeZonePropertyDefinition.LoadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.PropertyBag.LoadFromXml(EwsServiceXmlReader reader, Boolean clear, PropertySet requestedPropertySet, Boolean onlySummaryPropertiesRequested)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.EwsServiceXmlReader.ReadServiceObjectsCollectionFromXml[TServiceObject](XmlNamespace collectionXmlNamespace, String collectionXmlElementName, GetObjectInstanceDelegate`1 getObjectInstanceDelegate, Boolean clearPropertyBag, PropertySet requestedPropertySet, Boolean summaryPropertiesOnly)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.EwsServiceXmlReader.ReadServiceObjectsCollectionFromXml[TServiceObject](String collectionXmlElementName, GetObjectInstanceDelegate`1 getObjectInstanceDelegate, Boolean clearPropertyBag, PropertySet requestedPropertySet, Boolean summaryPropertiesOnly)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.GetItemResponse.ReadElementsFromXml(EwsServiceXmlReader reader)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ServiceResponse.LoadFromXml(EwsServiceXmlReader reader, String xmlElementName)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.ParseResponse(EwsServiceXmlReader reader)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadResponse(EwsServiceXmlReader ewsXmlReader)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponseXml(Stream responseStream)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponse(IEwsHttpWebResponse response)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecute()
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalLoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ServiceErrorHandling errorHandling)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ExchangeService.LoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet)
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.ChangesToItems(ExchangeService service, IEnumerable1 changes, CancellationToken cancellationToken)+MoveNext()
16.7.2020. 15:34:10 at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
16.7.2020. 15:34:10 at System.Collections.Generic.List1.AddRange(IEnumerable1 collection)
16.7.2020. 15:34:10 at MailClient.Protocols.Common.ItemSynchronizeContext2.<>c__DisplayClass18_03.g__FlushItems
16.7.2020. 15:34:10 at MailClient.Protocols.Common.ItemSynchronizeContext2.Synchronize[T,TUid,TVid](SynchronizationType synchronizationType, IEnumerable1 items, Func2 getUniqueId, Func2 getVersionId, Func3 hasChanged, Func2 isDeleted, Func2 convertItems, Action2 updateItem)
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
16.7.2020. 15:34:10 at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass37_1.b__6(WorkerStatus status, CancellationToken ct)
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16.7.2020. 15:34:10 — End of inner exception stack trace —
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16.7.2020. 15:34:10 at MailClient.Commands.Command.Process(WorkerStatus status)
16.7.2020. 15:34:10 — End of stack trace from previous location where exception was thrown —
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeAccount.SynchronizeIntAsync(Boolean forced)
16.7.2020. 15:34:10 at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass6_0.<b__0>d.MoveNext()
16.7.2020. 15:34:10 MailClient.Accounts.ConnectionException: The DateStart property must come before the DateEnd property. (Parameter ‘dateStart’)
16.7.2020. 15:34:10 —> System.ArgumentException: The DateStart property must come before the DateEnd property. (Parameter ‘dateStart’)
16.7.2020. 15:34:10 at System.TimeZoneInfo.AdjustmentRule.ValidateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TransitionTime daylightTransitionStart, TransitionTime daylightTransitionEnd, Boolean noDaylightTransitions)
16.7.2020. 15:34:10 at System.TimeZoneInfo.AdjustmentRule.CreateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TransitionTime daylightTransitionStart, TransitionTime daylightTransitionEnd)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.TimeZoneTransitionGroup.CreateAdjustmentRule(DateTime startDate, DateTime endDate)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.TimeZoneDefinition.ToTimeZoneInfo()
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.TimeZonePropertyDefinition.LoadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.PropertyBag.LoadFromXml(EwsServiceXmlReader reader, Boolean clear, PropertySet requestedPropertySet, Boolean onlySummaryPropertiesRequested)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.EwsServiceXmlReader.ReadServiceObjectsCollectionFromXml[TServiceObject](XmlNamespace collectionXmlNamespace, String collectionXmlElementName, GetObjectInstanceDelegate`1 getObjectInstanceDelegate, Boolean clearPropertyBag, PropertySet requestedPropertySet, Boolean summaryPropertiesOnly)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.EwsServiceXmlReader.ReadServiceObjectsCollectionFromXml[TServiceObject](String collectionXmlElementName, GetObjectInstanceDelegate`1 getObjectInstanceDelegate, Boolean clearPropertyBag, PropertySet requestedPropertySet, Boolean summaryPropertiesOnly)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.GetItemResponse.ReadElementsFromXml(EwsServiceXmlReader reader)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ServiceResponse.LoadFromXml(EwsServiceXmlReader reader, String xmlElementName)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.ParseResponse(EwsServiceXmlReader reader)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadResponse(EwsServiceXmlReader ewsXmlReader)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponseXml(Stream responseStream)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponse(IEwsHttpWebResponse response)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecute()
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalLoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ServiceErrorHandling errorHandling)
16.7.2020. 15:34:10 at Microsoft.Exchange.WebServices.Data.ExchangeService.LoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet)
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.ChangesToItems(ExchangeService service, IEnumerable1 changes, CancellationToken cancellationToken)+MoveNext()
16.7.2020. 15:34:10 at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
16.7.2020. 15:34:10 at System.Collections.Generic.List1.AddRange(IEnumerable1 collection)
16.7.2020. 15:34:10 at MailClient.Protocols.Common.ItemSynchronizeContext2.<>c__DisplayClass18_03.g__FlushItems
16.7.2020. 15:34:10 at MailClient.Protocols.Common.ItemSynchronizeContext2.Synchronize[T,TUid,TVid](SynchronizationType synchronizationType, IEnumerable1 items, Func2 getUniqueId, Func2 getVersionId, Func3 hasChanged, Func2 isDeleted, Func2 convertItems, Action2 updateItem)
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
16.7.2020. 15:34:10 at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass37_1.b__6(WorkerStatus status, CancellationToken ct)
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16.7.2020. 15:34:10 — End of inner exception stack trace —
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16.7.2020. 15:34:10 at MailClient.Commands.Command.Process(WorkerStatus status)
16.7.2020. 15:34:10 — End of stack trace from previous location where exception was thrown —
16.7.2020. 15:34:10 at MailClient.Protocols.Exchange.ExchangeAccount.SynchronizeIntAsync(Boolean forced)
16.7.2020. 15:34:10 at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass6_0.<b__0>d.MoveNext()

I just started another thread about Exchange errors… after seeing yours - I think this may be the same thing. I tried creating a calendar event and it failed.

Are you seeing these errors as well?
[Exchange Web Services] Synchronizing folder list failed due to the following error: Property is not valid for this object type.

I tried creating event and it was created and synced.
Didn’t get the log you mentioned, could be unrelated.

My event did eventually show up - but it threw a pile of errors.