Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Dynamics BC Error

(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
    86,125 Super User 2025 Season 1 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
    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
    86,125 Super User 2025 Season 1 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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans