Share via

Error running HCW

Anonymous
2015-12-07T12:56:11+00:00

Hello,

I try to create a hybrid environment with my Exchange 2013 on-premise and Exchange Online.

When I run the HCW it fails always with this error: "Die nach dem Anwenden des Offsets dargestellte UTC-Zeit muss zwischen den Jahren 0 und 10000 liegen." It is a german environment (Windows Server 2012). The Stacktrace in the HCW Logfile is:

[Client=UX] System.ArgumentOutOfRangeException: Die nach dem Anwenden des Offsets dargestellte UTC-Zeit muss zwischen den Jahren 0 und 10000 liegen.

                                Parametername: offset

                                   bei System.DateTimeOffset..ctor(DateTime dateTime)

                                   bei Microsoft.Online.CSE.Hybrid.App.AppData.<BuildSessionProperties>b__4c(WayPoint w)

                                   bei System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()

                                   bei System.String.Join(String separator, IEnumerable`1 values)

                                   bei Microsoft.Online.CSE.Hybrid.App.AppData.BuildSessionProperties(NotificationType type, Exception exception)

                                   bei Microsoft.Online.CSE.Hybrid.App.App.OnExit(ExitEventArgs e)

                                   bei System.Windows.Application.DoShutdown()

                                   bei System.Windows.Application.ShutdownImpl()

                                   bei System.Windows.Application.ShutdownCallback(Object arg)

                                   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

                                   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

                                   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()

                                   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

                                   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

                                   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

                                   bei System.Windows.Threading.DispatcherOperation.Invoke()

                                   bei System.Windows.Threading.Dispatcher.ProcessQueue()

                                   bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

                                   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

                                   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

                                   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

                                   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

                                   bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

                                   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

                                   bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

                                   bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

                                   bei System.Windows.Application.RunInternal(Window window)

                                   bei Microsoft.Online.CSE.Hybrid.App.App.Main(String[] args)

Any idea what the real problem is? How can i solve the error? I can also provide the complete logfile for further assistance.

Thank you for your help

Frank

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Anonymous
    2015-12-08T19:42:38+00:00

    Hi Frank,

    Sorry that I didn’t notice the hotfix is not applied to Windows Server 2012.

    Regarding the issue, since it occurs when starting up the HCW, please perform the following steps and check if the issue can be resolved:

    1. Install the latest CU applied for Exchange 2013 by referring to: https://technet.microsoft.com/en-us/library/jj907309(v=exchg.150).aspx.
    2. Install the latest Microsoft .NET Framework 4.5.2 on the server where you run the HCW by referring to: https://www.microsoft.com/en-us/download/details.aspx?id=42642.

    After that, please then re-run the HCW, check if the issue persists and report back with the updates so that we can provide further assistance.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-12-08T06:14:57+00:00

    Hi Neo Yu,

    the hotfix cannot be installed. The hotfix is not supported on the operating system (Windows Server 2012). The Server is up to date. There are no pending updates. The error message is still the same.

    Thanks,

    Frank

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-12-08T04:00:44+00:00

    Hi Frank,

    According to the specific error message “The UTC time represented when the offset is applied must be between year 0 and 10,000.”, the issue could occur if the Microsoft .NET framework 4 is not up to date.

    Given the situation, I suggest you try the hotfix provided in the following KB article and check if the issue can be resolved:

    FIX: System.ArgumentOutOfRangeException exception when you run a .NET Framework 4-based application that uses the MemoryCache.CreateCacheEntryChangeMonitor method

    If the issue persists after you try the steps above, please post back with the latest updates and we will further check the issue.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-12-07T14:10:51+00:00

    Here is the HCW logs:

    /cfs-file/__key/communityserver-discussions-components-files/156/20151207_5F00_181555.log

    Thank you

    Frank

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2015-12-07T13:19:51+00:00

    Can you please upload the HCW logs for inspection?

    Was this answer helpful?

    0 comments No comments