事件識別碼 65535:Exchange Server 2019 或 2016 中的應用程式記錄中的 System.Runtime.Serialization 錯誤

套用到
Exchange Server 2019 Exchange Server 2016

症狀

在 Microsoft Exchange Server 2019 或 Exchange Server 2016 中,當使用者使用先前稱為 OWA) 的Outlook 網頁版 (成功登入信箱或重新整理 Outlook 網頁版 網頁時,應用程式記錄檔中會記錄下列事件:

      

LogName: Application

來源: System.Runtime.Serialization

日期: 日期時間

事件識別碼: 65535

工作類別:無

層級:錯誤

使用者:不適用

電腦: ComputerName

描述:

<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><AppDomain> AppDomain </AppDomain><Exception ExceptionType>><System.Runtime.Serialization.SerializationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><訊息>轉換成 UTC 時大於 DateTime.MaxValue 或小於 DateTime.MinValue 的 DateTime 值,無法序列化為 JSON。</message><StackTrace> 位於 System.Runtime.Serialization.Json.JsonWriterDelegator.WriteDateTimeInDefaultFormat (DateTime 值)

位於 System.Runtime.Serialization.Json.JsonWriterDelegator.WriteDateTime (DateTime 值)

位於 WriteOwaLightningStateToJson (XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )

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

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

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

位於 System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObjectContent (XmlWriterDelegator 寫入器、物件圖表)

位於 System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObject (XmlWriterDelegator 寫入器、物件圖表)

位於 System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions (XmlWriterDelegator 寫入器、物件圖表、DataContractResolver dataContractResolver)

位於 System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject (XmlDictionaryWriter 寫入器、物件圖表)

位於 System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject (Stream 資料流、物件圖表)

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

位於 Microsoft.Exchange.Data.Storage.LightningConfigurationHelper。<GetUnseenLightningItems>d__0'2.MoveNext ()

位於 System.Linq.Enumerable。<CastIterator>d__97'1.MoveNext ()

位於 System.Linq.Buffer'1..ctor (IEnumerable'1 source)

位於 System.Linq.Enumerable.ToArray[TSource] (IEnumerable'1 source)

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

位於 Microsoft.Exchange.Services.Wcf.ServiceCommand'1.DetectDuplicatedCallOrExecute ()

位於 Microsoft.Exchange.Services.Wcf.ServiceCommand'1.Execute ()

位於 System.RuntimeMethodHandle.InvokeMethod (物件目標, Object[] 引數, 簽章簽名, 布林建構函式)

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

位於 System.Reflection.RuntimeMethodInfo.Invoke (Object obj、BindingFlags invokeAttr、Binder binder、Object[] 參數、CultureInfo 文化)

位於 Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.InvokeMethod (HttpRequest request、MethodInfo methodInfo、Object obj、Object[] 參數)

位於 Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher。<>c__DisplayClass22_0。<InternalInvokeMethod>b__0 ()

位於 Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch (Action tryDelegate, func'2 filterDelegate, Action'1 catchDelegate)

位於 Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.InternalInvokeMethod (ServiceMethodInfo methodInfo、Object service、HttpRequest、httpRequest、HttpResponse、httpResponse、Object[] 引數)

位於 Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.InvokeMethodWithPostDataInHeader (ServiceMethodInfo methodInfo、Object service、HttpRequest、httpRequest、HttpResponse、httpResponse)

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

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

此問題可能發生在任何具有正時區時差的伺服器上,例如,UTC+1 (巴黎) 、UTC+2 (開羅) 、UTC+3 (莫斯科) 等。

解決方式

若要解決這個問題,請安裝下列更新之一:

針對 Exchange Server 2019,請安裝適用於 Exchange Server 2019 的累積更新 8 或適用於 Exchange Server 2019 的較新累積更新。

針對 Exchange Server 2016,請安裝適用於 Exchange Server 2016 的累積更新 19 或適用於 Exchange Server 2016 的較新累積更新。

參考資料

了解 Microsoft 用來說明軟體更新的術語。