I have a user that constantly crashes it’s always the same place.
I have a memory dump file I can send if I can.
How can I go about correcting the error?
Thanks!
[External Code]
[Managed to Native Transition]
> Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.HandleGeneralException(System.Exception exception) Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception exception, bool designMode) Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(object sender, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs eventArgs) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(object sender, System.Exception e) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(object sender, System.Threading.ThreadExceptionEventArgs eventArgs) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.OnThreadException(System.Exception t) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProcException(System.Exception e) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(System.Exception e) Unknown
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) Unknown
[Native to Managed Transition]
[External Code]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Control.SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.SetBounds(int x, int y, int width, int height) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.ContainerProxy.SetBounds(System.Windows.Forms.Control control, System.Drawing.Point offset, System.Drawing.Size size) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.ApplyElementBounds(Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.ContainerProxy containerProxy, System.Collections.IEnumerator elements, System.Drawing.Point offset, System.Collections.Generic.Dictionary<System.Windows.Forms.Control, System.Drawing.Size> elementSizeList) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.ApplySectionBounds(Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.ContainerProxy containerProxy, System.Collections.Generic.Dictionary<System.Windows.Forms.Control, System.Drawing.Size> elementSizeList, System.Collections.Generic.List<System.Drawing.Size[]> subsectionSizeList, System.Collections.Generic.List<System.Drawing.Size> sectionSizeList) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.LayoutInternal(Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.ContainerProxy containerProxy, bool measureOnly) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutEngine.Layout(object container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent) Unknown
System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutPanel.OnLayoutInternal(System.Windows.Forms.LayoutEventArgs levent) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutPanel.DoLayout(System.Windows.Forms.LayoutEventArgs levent) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.NonDelayedLayoutStrategy.OnLayout(System.Windows.Forms.LayoutEventArgs eventArgs) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.DirectionalLayoutPanel.OnLayout(System.Windows.Forms.LayoutEventArgs levent) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.LayoutEventArgs args) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.PerformLayout() Unknown
System.Windows.Forms.dll!System.Windows.Forms.Control.ResumeLayout(bool performLayout) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.LayoutHelper.ResumeAllLayout(System.Windows.Forms.Control control, bool performLayout) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.LayoutHelper.ResumeAllLayout(System.Windows.Forms.Control control, bool performLayout) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll!Microsoft.Dynamics.Framework.UI.WinForms.Controls.LayoutHelper.ResumeAllLayout(System.Windows.Forms.Control control, bool performLayout) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.LookupWindow.ResumeLayout(bool performLayout) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.Show() Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.Show() Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.LookupFormAdapter.Show() Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.LookupFormAdapter.Load(Microsoft.Dynamics.Framework.UI.LogicalControl originatingLogicalControl, bool loadDataDelayed) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnFormToShow(Microsoft.Dynamics.Framework.UI.LogicalForm logicalFormToShow, Microsoft.Dynamics.Framework.UI.LogicalControl originatingLogicalControl) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.OnFormToShow(Microsoft.Dynamics.Framework.UI.LogicalForm logicalFormToShow, Microsoft.Dynamics.Framework.UI.LogicalControl originatingLogicalControl) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnLookupFormReady(Microsoft.Dynamics.Framework.UI.LookupFormReadyEventArgs e) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.LookupFormReady(object sender, Microsoft.Dynamics.Framework.UI.LookupFormReadyEventArgs e) Unknown
Microsoft.Dynamics.Framework.UI.dll!Microsoft.Dynamics.Framework.UI.UISession.OnLookupFormReady(Microsoft.Dynamics.Framework.UI.LookupFormReadyEventArgs e) Unknown
Microsoft.Dynamics.Framework.UI.dll!Microsoft.Dynamics.Framework.UI.LookupAction.InvokeCore(bool async, Microsoft.Dynamics.Framework.UI.LogicalControl logicalControl, object state, Microsoft.Dynamics.Framework.UI.UISession uiSession) Unknown
Microsoft.Dynamics.Framework.UI.dll!Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(bool async, Microsoft.Dynamics.Framework.UI.LogicalControl logicalControl, object state, Microsoft.Dynamics.Framework.UI.UISession uiSession) Unknown
Microsoft.Dynamics.Framework.UI.dll!Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(Microsoft.Dynamics.Framework.UI.LogicalControl logicalControl, Microsoft.Dynamics.Framework.UI.UISession uiSession) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke.AnonymousMethod__0() Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(System.Action action) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(Microsoft.Dynamics.Framework.UI.LogicalAction action, Microsoft.Dynamics.Framework.UI.LogicalControl control) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.InvokeDefaultLookupAction(Microsoft.Dynamics.Framework.UI.LogicalControl control, bool useLookupStringValue, string lookupValue) Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.InvokeDefaultLookupAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter adapter) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.LookupFormConnector.ApplyAsYouTypeFilter(string filter) Unknown
Microsoft.Dynamics.Framework.UI.WinForms.dll!Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.FilterAsYouTypeFilterTimer_Tick(object sender, System.EventArgs e) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Timer.OnTick(System.EventArgs e) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.WndProc(ref System.Windows.Forms.Message m) Unknown
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) Unknown
[Native to Managed Transition]
[External Code]
[Frames below may be incorrect and/or missing, native debugger attempting to walk managed call stack]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason, int pvLoopData) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) Unknown
System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context) Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump() Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore() Unknown
Microsoft.Dynamics.Framework.UI.Windows.dll!Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run() Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func<int> execute) Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func<int> execute) Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore() Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(bool dispose) Unknown
Microsoft.Dynamics.Nav.Client.WinClient.dll!Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunAndDispose() Unknown
Microsoft.Dynamics.Nav.Client.exe!Microsoft.Dynamics.Nav.Client.Program.ExecuteNormally(System.Func<int> run) Unknown
Microsoft.Dynamics.Nav.Client.exe!Microsoft.Dynamics.Nav.Client.Program.Main(string[] args) Unknown
[Native to Managed Transition]
[External Code]
*This post is locked for comments
Did you try to reproduce the crash on other computer. You should try this:
1) Log on with the same user on other computer and try to reproduce the crash.
2) If you have the same error, then try with other user.
- If the problem only happens with THIS user and in THIS computer, it maybe caused by an user profile issue.
- If the problem happens with all the users on that computer, it maybe caused by a bad installation. You should repair or reinstall.
- If the problem happens on some other computers and for other users, I recommend you to check your database.
Good luck!
This particular user likes to have lot of windows open typically Packing List and purchase order. There does not seem to be any pattern for the crash. He can go days without it crashing. I have looked at different crash dumps (right mouse on the task view create crash dump and then opening them in Visual Studio) it does seem to be the same spot in the code each time. It does seem to be something about the windowing
at System.Windows.Forms.Control.WmWindowPosChanged(Message m)
at System.Windows.Forms.Control.WndProc(Message m)
at System.Windows.Forms.ScrollableControl.WndProc(Message m)
Thanks.
Thanks,
Here is an event view
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Events><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-08-05T21:42:58.000000000Z'/><EventRecordID>333248</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-08-05T19:16:37.000000000Z'/><EventRecordID>333105</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-07-20T20:26:18.000000000Z'/><EventRecordID>309067</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-07-01T14:52:34.000000000Z'/><EventRecordID>294845</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-06-25T19:59:06.000000000Z'/><EventRecordID>293122</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(Object sender, Exception e)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(Object sender, ThreadExceptionEventArgs eventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.ServerReconnectLoop(DateTime gracePeriodEnd)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.Reconnect(Boolean timeout)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.GetPage(PageRequestDefinition pageRequestDefinition, NavRecordState& state)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.GetPage(PageRequestDefinition , NavRecordState& )
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.GetPage(PageRequestDefinition pageRequestDefinition, Bookmark bookmark)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.ReadData(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.InitialFill(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavDataReader.FillFirstRowEntryCollection(DataReaderFillOptions options)
at Microsoft.Dynamics.Framework.UI.VirtualRows.FillFirstBlock(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(BindingManagerFillOptions options)
at Microsoft.Dynamics.Framework.UI.FilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteQuickFilterCore()
at Microsoft.Dynamics.Framework.UI.WinForms.FilterControlAdapter.ExecuteQuickFilter(Object sender, LookForFilterEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.OnExecuteFilter(LookForFilterEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.ExecuteFilterInternal()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.LookForTextBox.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(Object sender, Exception e)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(Object sender, ThreadExceptionEventArgs eventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.ServerReconnectLoop(DateTime gracePeriodEnd)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.Reconnect(Boolean timeout)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.GetPage(PageRequestDefinition pageRequestDefinition, NavRecordState& state)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.GetPage(PageRequestDefinition , NavRecordState& )
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.GetPage(PageRequestDefinition pageRequestDefinition, Bookmark bookmark)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.ReadData(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.InitialFill(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavDataReader.FillFirstRowEntryCollection(DataReaderFillOptions options)
at Microsoft.Dynamics.Framework.UI.VirtualRows.FillFirstBlock(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(BindingManagerFillOptions options)
at Microsoft.Dynamics.Framework.UI.FilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteQuickFilterCore()
at Microsoft.Dynamics.Framework.UI.WinForms.FilterControlAdapter.ExecuteQuickFilter(Object sender, LookForFilterEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.OnExecuteFilter(LookForFilterEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.ExecuteFilterInternal()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.LookForTextBox.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-06-25T19:59:04.000000000Z'/><EventRecordID>293121</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(Object sender, Exception e)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(Object sender, ThreadExceptionEventArgs eventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.ServerReconnectLoop(DateTime gracePeriodEnd)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.Reconnect(Boolean timeout)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.GetPage(PageRequestDefinition pageRequestDefinition, NavRecordState& state)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.GetPage(PageRequestDefinition , NavRecordState& )
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.GetPage(PageRequestDefinition pageRequestDefinition, Bookmark bookmark)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.ReadData(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.InitialFill(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavDataReader.FillFirstRowEntryCollection(DataReaderFillOptions options)
at Microsoft.Dynamics.Framework.UI.VirtualRows.FillFirstBlock(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(BindingManagerFillOptions options)
at Microsoft.Dynamics.Framework.UI.FilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteQuickFilterCore()
at Microsoft.Dynamics.Framework.UI.WinForms.FilterControlAdapter.ExecuteQuickFilter(Object sender, LookForFilterEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.OnExecuteFilter(LookForFilterEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.ExecuteFilterInternal()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.LookForTextBox.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(Object sender, Exception e)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(Object sender, ThreadExceptionEventArgs eventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The session could not be retrieved from the server. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.ServerReconnectLoop(DateTime gracePeriodEnd)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.Reconnect(Boolean timeout)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.GetPage(PageRequestDefinition pageRequestDefinition, NavRecordState& state)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.GetPage(PageRequestDefinition , NavRecordState& )
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.GetPage(PageRequestDefinition pageRequestDefinition, Bookmark bookmark)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.ReadData(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavInitialPageReader.InitialFill(DataReaderFillOptions options)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavDataReader.FillFirstRowEntryCollection(DataReaderFillOptions options)
at Microsoft.Dynamics.Framework.UI.VirtualRows.FillFirstBlock(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(BindingManagerFillOptions options)
at Microsoft.Dynamics.Framework.UI.FilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteFilterCore(ExecuteFilterOptions executeFilterOptions)
at Microsoft.Dynamics.Nav.Client.NavFilterLogicalControl.ExecuteQuickFilterCore()
at Microsoft.Dynamics.Framework.UI.WinForms.FilterControlAdapter.ExecuteQuickFilter(Object sender, LookForFilterEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.OnExecuteFilter(LookForFilterEventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.ExecuteFilterInternal()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.LookForFilter.LookForTextBox.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event><Event xmlns='schemas.microsoft.com/.../event'><System><Provider Name='MicrosoftDynamicsNAVClient'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2015-06-22T14:59:02.000000000Z'/><EventRecordID>290756</EventRecordID><Channel>Application</Channel><Computer>changed</Computer><Security/></System><EventData><Data>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Data></EventData><RenderingInfo Culture='en-US'><Message>Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Specified argument was out of the range of valid values.
Parameter name: value
ParamName: value
StackTrace:
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollRowIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.ScrollIntoView()
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.BusinessGrid_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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: System.Windows.Forms
HResult: -2146233086
</Message><Level>Error</Level><Task></Task><Opcode>Info</Opcode><Channel></Channel><Provider></Provider><Keywords><Keyword>Classic</Keyword></Keywords></RenderingInfo></Event></Events>
On which action does this happen and is the above trace is from the event log if not can you check event log and send that information.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156