OWA error after Exchange 2016 to Exchange 2019 migration "DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON."

Jörg Maletzky 1 Reputation point
2020-09-03T14:31:13.927+00:00

Hello,

after migrating our over 19.000 mailboxes to Exchange 2019 we get tons of the following error in the Application log of the Exchange server, which is hosting the mailbox databases:

"DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON."

Is there a way to suppress this error?

Thanks
Jörg

Log Name: Application
Source: System.Runtime.Serialization
Date: 03.09.2020 16:25:30
Event ID: 65535
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <redacted>
Description:
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>https://learn.microsoft.com/dotnet/framework/wcf/diagnostics/tracing/System-ServiceModel-Diagnostics-ThrowingException</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/owa-1-132435891616571577</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.SaveConfigurationT
at Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.<GetUnseenLightningItems>d__02.MoveNext() at System.Linq.Enumerable.&lt;CastIterator&gt;d__971.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArrayTSource
at Microsoft.Exchange.Clients.Owa2.Server.Core.ServiceCommands.GetUnseenLightningIds.InternalExecute()
at Microsoft.Exchange.Services.Wcf.ServiceCommand1.DetectDuplicatedCallOrExecute() at Microsoft.Exchange.Services.Wcf.ServiceCommand1.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.<>c__DisplayClass22_0.<InternalInvokeMethod>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func2 filterDelegate, Action1 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)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
</StackTrace><ExceptionString>System.Runtime.Serialization.SerializationException: DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value
--- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Specified argument was out of the range of valid values.
Parameter name: value</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.SaveConfigurationT
at Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.<GetUnseenLightningItems>d__02.MoveNext() at System.Linq.Enumerable.&lt;CastIterator&gt;d__971.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArrayTSource
at Microsoft.Exchange.Clients.Owa2.Server.Core.ServiceCommands.GetUnseenLightningIds.InternalExecute()
at Microsoft.Exchange.Services.Wcf.ServiceCommand1.DetectDuplicatedCallOrExecute() at Microsoft.Exchange.Services.Wcf.ServiceCommand1.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.<>c__DisplayClass22_0.<InternalInvokeMethod>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func2 filterDelegate, Action1 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)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
</StackTrace><ExceptionString>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value</ExceptionString></InnerException></Exception></TraceRecord>
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="System.Runtime.Serialization" />
<EventID Qualifiers="0">65535</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-09-03T14:25:30.810280000Z" />
<EventRecordID>3307361</EventRecordID>
<Channel>Application</Channel>
<Computer><redacted</Computer>
<Security />
</System>
<EventData>
<Data><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>https://learn.microsoft.com/dotnet/framework/wcf/diagnostics/tracing/System-ServiceModel-Diagnostics-ThrowingException</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/owa-1-132435891616571577</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.SaveConfigurationT
at Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.<GetUnseenLightningItems>d__02.MoveNext() at System.Linq.Enumerable.&lt;CastIterator&gt;d__971.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArrayTSource
at Microsoft.Exchange.Clients.Owa2.Server.Core.ServiceCommands.GetUnseenLightningIds.InternalExecute()
at Microsoft.Exchange.Services.Wcf.ServiceCommand1.DetectDuplicatedCallOrExecute() at Microsoft.Exchange.Services.Wcf.ServiceCommand1.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.<>c__DisplayClass22_0.<InternalInvokeMethod>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func2 filterDelegate, Action1 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)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
</StackTrace><ExceptionString>System.Runtime.Serialization.SerializationException: DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value
--- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Specified argument was out of the range of valid values.
Parameter name: value</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.SaveConfigurationT
at Microsoft.Exchange.Data.Storage.LightningConfigurationHelper.<GetUnseenLightningItems>d__02.MoveNext() at System.Linq.Enumerable.&lt;CastIterator&gt;d__971.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArrayTSource
at Microsoft.Exchange.Clients.Owa2.Server.Core.ServiceCommands.GetUnseenLightningIds.InternalExecute()
at Microsoft.Exchange.Services.Wcf.ServiceCommand1.DetectDuplicatedCallOrExecute() at Microsoft.Exchange.Services.Wcf.ServiceCommand1.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.<>c__DisplayClass22_0.<InternalInvokeMethod>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func2 filterDelegate, Action1 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)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
</StackTrace><ExceptionString>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value</ExceptionString></InnerException></Exception></TraceRecord></Data>
</EventData>
</Event>

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,632 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Eric Yin-MSFT 4,386 Reputation points
    2020-09-04T03:10:16.167+00:00

    Which CU are you using? Update your server to CU6 and make sure Windows server has installed all patches.
    It seems a bug with migrated Exchange servers, try recycling OWA app pool and rebooting your server, see if OWA gets working.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. TStensitzki 11 Reputation points MVP
    2020-09-09T06:15:35.46+00:00

    Jörg,

    Which Windows Server 2019 edition is in use? Windows Server 2019 Standard or Windows Server 2019 Core?
    Are there any other software components installed besides Exchange Server 2019?

    -Thomas


  3. Jörg Maletzky 1 Reputation point
    2020-09-17T11:55:03.17+00:00

    For all who interested: The bug stays in Exchange 2019 CU7.

    Greetings
    Jörgs

    0 comments No comments

  4. Andy David - MVP 147.9K Reputation points MVP
    2020-09-17T11:57:13.92+00:00

    I would open a support ticket with Microsoft.


  5. 2020-12-21T07:19:41.987+00:00

    Same thing here
    Clean E19 CU7 setup on WinSrv Std 2019

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.