MS Dynamics NAV Client intermittent crashes

Dear all

We are currently using MS Dynamics NAV 2009 R2 (Build 6.0.32966.0) running under Windows Server 2008 R2. Sometimes when users are using the client application it crashes and when checking the local Application Event log I see the following:

Type: System.ArgumentOutOfRangeException
Message:
The added or subtracted value results in an un-representable DateTime.
Parameter name: t
ParamName: t
StackTrace:
at System.DateTime.op_Addition(DateTime d, TimeSpan t)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.Reconnect(Boolean timeout)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod1 callServerMethod, Exception e, Int32 messageNumber, String sessionId) at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod1 callServerMethod) at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CloseForm(NavCloseFormArguments& mainForm, NavCloseFormArguments[]& subForms, Boolean force)
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.CloseForm(IService service, LogicalForm mainForm, FormResult exitAction, Collection`1 subForms, Boolean force)
at Microsoft.Dynamics.Nav.Client.UIPatterns.NavFormCloseHandler.ExecuteCloseForm(Boolean force)
at Microsoft.Dynamics.Nav.Client.UIPatterns.NavFormCloseHandler.FormClosingCore(FormClosingEventArgs e)
at Microsoft.Dynamics.Framework.UI.LogicalForm.FormClosingHelper.TryClosing(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.TryClosingThisAndChildForms(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.Close(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.Close()
at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.CloseEmbeddedForm(LogicalForm hostedForm)
at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(String formName)
at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(String formName, NavigationNode node)
at Microsoft.Dynamics.Framework.UI.UX2006.NavigateToFormAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Nav.Client.Actions.NavNavigateToFormAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.Action.Invoke(LogicalControl logicalControl)
at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.NavigateToNode(LogicalControl logicalControl, NavigationNode node)
at Microsoft.Dynamics.Framework.UI.UX2006.WinForms.NavigationFormAdapter.<>c__DisplayClass5.<get_SearchBox>b__1(Object sender, NodeEventArgs e)
at Microsoft.Dynamics.Framework.UI.UX2006.WinForms.PageSearchBar.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: mscorlib

Has anyone encountered this issue before? Is this an application issue or a network connectivity issue? Users are all on Windows 7. I tried doing a Google search on this but couldn’t find anything related to this issue. What I want to mention is that our version hasn’t been updated with the latest hotfixes/updates for a very long time now.

Any help on this would be much appreciated.

Thanks

Pierre

It sounds like you have an “illegal” date value in one of your field! Are you using SQL Database or Native database?

Dear Erik

Thanks for your reply. We are using SQL Server 2008 R2 Database.

Would appreciate further help/info on why we are getting this type of error.

Thanks