イベント ID 65535 Exchange Server 2019 または 2016 のアプリケーション ログで System.Runtime.Serialization エラーが発生する

適用先
Exchange Server 2019 Exchange Server 2016

現象

Microsoft Exchange Server 2019 または Exchange Server 2016 では、ユーザーが Outlook on the web (旧称: OWA) を使用してメールボックスに正常にサインインするか、Outlook on the web Web ページを更新すると、次のイベントがアプリケーション ログに記録されます。

      

LogName: アプリケーション

ソース: System.Runtime.Serialization

Date: DateTime

イベント ID: 65535

タスク カテゴリ: なし

レベル:エラー

ユーザー: N/A

コンピューター: ComputerName

説明:

<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord"Severity="Error"><TraceIdentifier>https://docs.microsoft.com/dotnet/framework/wcf/診断/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 値が UTC に変換されたときに DateTime.MaxValue より大きいか DateTime.MinValue より小さい値は、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)

場所 Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.<GetUnseenLightningItems>d__0'2.MoveNext()

at System.Linq.Enumerable.<CastIterator>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)

場所 Microsoft.Exchange.Clients.Owa2.Server.Core.OwaServiceMethodDispatcher.<>c__DisplayClass22_0.<InternalInvokeMethod>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)

この問題は、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 の累積的な更新プログラムをインストールします。

参考資料

マイクロソフトでソフトウェア更新プログラムの説明に使用する用語集を参照してください。