Application: Microsoft.Dynamics.Nav.Client.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentException at System.Windows.Forms.RichTextBox.StreamIn(System.IO.Stream, Int32) at System.Windows.Forms.RichTextBox.StreamIn(System.String, Int32) at System.Windows.Forms.RichTextBox.set_Rtf(System.String) at Microsoft.Dynamics.Framework.UI.WinForms.MultilineRtfControlAdapter.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.OnRowChanged(Microsoft.Dynamics.Framework.UI.CurrentRowChangeEventArgs) 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.RepeaterViewportControl.SetRowEntry(Microsoft.Dynamics.Framework.UI.RepeaterRowControl, Microsoft.Dynamics.Framework.UI.RowEntry) at Microsoft.Dynamics.Framework.UI.RepeaterCurrentRowViewportControl.UpdateViewport(Microsoft.Dynamics.Framework.UI.BindingManager) at Microsoft.Dynamics.Framework.UI.RepeaterCurrentRowViewportControl.AddRowEntries(Microsoft.Dynamics.Framework.UI.BindingManager, Int32, Int32) at Microsoft.Dynamics.Framework.UI.RepeaterControl.CommitAddedRowEntries() at Microsoft.Dynamics.Framework.UI.RepeaterControl.BindingManger_FillCompleting(System.Object, System.EventArgs) at Microsoft.Dynamics.Framework.UI.BindingManager.ChangeStateToFilled() at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(Microsoft.Dynamics.Framework.UI.DataReaderFillOptions) at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(Microsoft.Dynamics.Framework.UI.BindingManagerFillOptions) at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.RefreshFilters() at Microsoft.Dynamics.Nav.Client.Controls.RecordLinksTableControlBase.OnParentFormReady() at Microsoft.Dynamics.Nav.Client.Controls.NotesControl.OnParentFormReady() 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.LogicalForm.LoadDataInternal() at Microsoft.Dynamics.Framework.UI.LogicalForm.LoadData() at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnLoadData() at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.LoadDataInternal() at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.Windows.ContainerLogicalControlAdapter.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapter.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.Windows.ContainerLogicalControlAdapter.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.OnUpdateUI(Boolean) at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.OnIdle() at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.Idle(System.Object, System.EventArgs) at System.EventHandler.Invoke(System.Object, System.EventArgs) at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.EnterIdle(System.EventArgs) at System.EventHandler.Invoke(System.Object, System.EventArgs) at System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32) 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.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.Program.Main(System.String[]) Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 10.0.16177.0, time stamp: 0x58dd4bdb Faulting module name: KERNELBASE.dll, version: 10.0.17763.771, time stamp: 0x4eb60cdf Exception code: 0xe0434352 Fault offset: 0x0000000000039129 Faulting process id: 0x40d0 Faulting application start time: 0x01d588f6a88e0cf2 Faulting application path: C:\Users\marco\AppData\Local\Apps\2.0\DC57XRRK.HGP\CW2LCAAA.ZLX\aspi..line_0000000000000000_000a.0000_ff1ae9b33e45d608\Microsoft.Dynamics.Nav.Client.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: ed1d0016-45e1-4d40-b52e-4481d244ff6b Faulting package full name: Faulting package-relative application ID:
Answers
There is an incorrect data in the "Record Link" table.
You have to find and delete incorrect records.
It was not caused by errors in the "Record Link" table, but by a (new) BETA feature in Windows 10 called "Use Unicode UTF-8 for worldwide language support", that some OEM vendors have chosen to enable by default. It seems this feature was introduced in Windows 10 1803, but it is still a BETA feature in Windows 10 1909.
Thanks to posts like these, I was able to fix the issue, by disabling this feature:
https://developercommunity.visualstudio.com/content/problem/544623/issue-caused-by-unicode-utf-8-for-world-wide-langu.html
https://stackoverflow.com/questions/55809339/richtextbox-rtf-setter-throwing-system-argumentexception-file-format-is-not-val/55927357#55927357
https://stackoverflow.com/questions/56382753/bug-with-adjusting-rtf-in-winforms-when-using-windows-wide-beta-utf-8-support-fe