Skip to main content

Notifications

Microsoft Dynamics NAV forum
Suggested answer

Dynamics BC Error

editSubscribe (1) ShareShare
ReportReport
Posted on by 14
We have multiple users at random receiving this error. Event logs for it are posted below. 
//
//
Application: Microsoft.Dynamics.Nav.Client.x86.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.OutOfMemoryException at System.String.InternalSubString(Int32, Int32) at System.String.Substring(Int32, Int32) at NETRONIC.DNAV.VSSuite.VPS.VPSControl.processInput(System.String) at NETRONIC.DNAV.VSSuite.VPS.VPSAddIn.set_Value(System.String) at Microsoft.Dynamics.Framework.UI.WinForms.ControlAddInAdapter.OnUpdateValue() at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.UpdateValue() at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.PropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs) at Microsoft.Dynamics.Framework.UI.LogicalControl.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs) at Microsoft.Dynamics.Framework.UI.LogicalControl.OnValueChanged(Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Framework.UI.LogicalControl.RowEntryProxy_RowValueChangedEvent(System.Object, Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Framework.UI.RowEntry.OnValueChanged(Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Framework.UI.RowEntryProxy.RowEntryValueChangedEvent(System.Object, Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at Microsoft.Dynamics.Framework.UI.RowEntry.OnValueChanged(Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Nav.Client.DataBinder.NavFormStateRowEntry.set_Item(System.String, System.Object) at Microsoft.Dynamics.Nav.Client.DataBinder.NavFormStateBindingManager.ParentBindingManager_CurrentRowProxy_ValueChanged(System.Object, Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at Microsoft.Dynamics.Framework.UI.RowEntry.OnValueChanged(Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Framework.UI.RowEntryProxy.RowEntryValueChangedEvent(System.Object, Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Framework.UI.RowEntry.OnValueChanged(Microsoft.Dynamics.Framework.UI.ValueChangedEventArgs) at Microsoft.Dynamics.Nav.Client.DataBinder.NavRowEntry.FieldChanged(System.Object, Microsoft.Dynamics.Nav.Client.DataBinder.FieldChangedEventArgs) at Microsoft.Dynamics.Nav.Client.DataBinder.Record.OnFieldChanged(System.String, System.Object) at Microsoft.Dynamics.Nav.Client.DataBinder.NavRecord.SetField(System.String, System.Object) at Microsoft.Dynamics.Nav.Client.DataBinder.NavRecord.UpdateFields(Microsoft.Dynamics.Nav.Types.Data.NavDataRow, Boolean, Boolean) at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.UpdateFieldsInternal(Microsoft.Dynamics.Nav.Types.Data.NavDataSet, Microsoft.Dynamics.Nav.Types.NavRecordState, Microsoft.Dynamics.Nav.Client.DataBinder.NavRecord, Boolean) at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.UpdateRecordStateAfterChangingCurrentRow(Microsoft.Dynamics.Nav.Types.NavRecordState, Microsoft.Dynamics.Nav.Client.DataBinder.DataAccessOperation, Microsoft.Dynamics.Nav.Client.DataBinder.NavRecord, Microsoft.Dynamics.Nav.Types.Data.NavDataSet) at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.UpdateDataBindingState(Microsoft.Dynamics.Nav.Types.NavRecordState, Microsoft.Dynamics.Nav.Client.DataBinder.DataAccessOperation, Microsoft.Dynamics.Nav.Client.DataBinder.NavRecord, Microsoft.Dynamics.Nav.Types.Data.NavDataSet, Boolean) at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.CompleteOperation(Microsoft.Dynamics.Nav.Client.DataBinder.OperationContext, Boolean, Boolean) at Microsoft.Dynamics.Nav.Client.DataBinder.OperationContext.CompleteOperationCore() at Microsoft.Dynamics.Nav.Client.DataBinder.ActionMethodOperationContext.CompleteOperationCore() at Microsoft.Dynamics.Nav.Client.DataBinder.DataAccessOperationContext.DisposeCore() at Microsoft.Dynamics.Nav.Client.DataBinder.OperationContext.Dispose() at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.ActionMethod(Int32, Int32) at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeTrigger(Microsoft.Dynamics.Framework.UI.LogicalControl, Microsoft.Dynamics.Framework.UI.UISession) at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeCore(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession) at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession) at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Collections.IDictionary, Microsoft.Dynamics.Framework.UI.UISession) at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke(System.Collections.IDictionary) at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper+<>c__DisplayClass9_0.<ModalitySafeInvoke>b__0() at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(System.Action, System.String, System.Collections.Generic.IDictionary`2<System.String,System.String>) at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(Microsoft.Dynamics.Framework.UI.ActionControl) at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter, Microsoft.Dynamics.Framework.UI.ActionControl) at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter) at Microsoft.Dynamics.Framework.UI.UX2006.WinForms.LogicalCommand.Execute(System.Object) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Ribbon.RibbonButton.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent) at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32) at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext) 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(System.Func`1<Int32>) at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>) at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore() at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean) at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunAndDispose() at Microsoft.Dynamics.Nav.Client.Program.ExecuteNormally(System.Func`1<Int32>) at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 60,818 Super User on at
    Dynamics BC Error
    Will running the same process on the server prompt this error?
    If it is a standard feature, it is recommended to submit an SR to the Microsoft support team and let them assist in the investigation.
     
     
    Thanks.
    ZHU
  • rlhudson2323 Profile Picture
    rlhudson2323 14 on at
    Dynamics BC Error
    So the error being thrown is on a users PC. Our VM for NAV has the following specs 
     
    Memory 32GB (about 23.9% avg in use). Are you saying that the server needs to have more or the local machine? We have an on Prem setup for NAV,  
     
  • YUN ZHU Profile Picture
    YUN ZHU 60,818 Super User on at
    Dynamics BC Error
    Hi, how much memory does the server have?
     
    If it contains any customization, there may be infinite loops or long-running code, you can check it.
     
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans