Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

In Microsoft Exchange Server 2019 or Exchange Server 2016, when users successfully sign in to mailboxes by using Outlook on the web (previously known as OWA) or refresh the Outlook on the web webpage, the following event is logged in the Application log:


LogName:       Application

Source:        System.Runtime.Serialization

Date:          DateTime

Event ID:      65535

Task Category: None

Level:         Error

User:          N/A

Computer:      ComputerName

Description:

<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>https://docs.microsoft.com/dotnet/framework/wcf/diagnostics/tracing/System-ServiceModel-Diagnostics-ThrowingException</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain> AppDomain </AppDomain><Exception><ExceptionType>System.Runtime.Serialization.SerializationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON.</Message><StackTrace>   at System.Runtime.Serialization.Json.JsonWriterDelegator.WriteDateTimeInDefaultFormat(DateTime value)

at System.Runtime.Serialization.Json.JsonWriterDelegator.WriteDateTime(DateTime value)

at WriteOwaLightningStateToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )

at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)

at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph)

at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph)

at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)

at System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)

at System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(Stream stream, Object graph)

at Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.SaveConfiguration[T](Stream stream, IUserConfiguration lightningConfiguration, DataContractJsonSerializer jsonSerializer, T state)

at Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.&lt;GetUnseenLightningItems&gt;d__0`2.MoveNext()

at System.Linq.Enumerable.&lt;CastIterator&gt;d__97`1.MoveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at Microsoft.Exchange.Clients.Owa2.Server.Core.ServiceCommands.GetUnseenLightningIds.InternalExecute()

at Microsoft.Exchange.Services.Wcf.ServiceCommand`1.DetectDuplicatedCallOrExecute()

at Microsoft.Exchange.Services.Wcf.ServiceCommand`1.Execute()

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.InvokeMethod(HttpRequest request, MethodInfo methodInfo, Object obj, Object[] parameters)

at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.&lt;&gt;c__DisplayClass22_0.&lt;InternalInvokeMethod&gt;b__0()

at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func`2 filterDelegate, Action`1 catchDelegate)

at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.InternalInvokeMethod(ServiceMethodInfo methodInfo, Object service, HttpRequest httpRequest, HttpResponse httpResponse, Object[] arguments)

at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.InvokeMethodWithPostDataInHeader(ServiceMethodInfo methodInfo, Object service, HttpRequest httpRequest, HttpResponse httpResponse)

at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceHttpHandler.InternalProcessRequest(HttpContext httpContext)

at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceHttpHandler.ProcessRequest(HttpContext httpContext)


The issue can occur on any server that has a positive time zone offset, for example, UTC+1 (Paris), UTC+2 (Cairo), UTC+3 (Moscow) and so on.

Resolution

To fix this issue, install one of the following updates:

For Exchange Server 2019, install the Cumulative Update 8 for Exchange Server 2019 or a later cumulative update for Exchange Server 2019.

For Exchange Server 2016, install the Cumulative Update 19 for Exchange Server 2016 or a later cumulative update for Exchange Server 2016.

References

Learn about the  terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×