System Notes: Crashing Client for a small handful of users

mcbondyb
Member Posts: 1
Experiencing an issue with NAV closing without error on a page with the system notes factbox.
Having investigated the event viewer I identified the below errors.
It mentioned RichTextBox in the error, so I thought this might be down to the notes box rendering.
I removed the factbox from that user profile and low and behold it doesn't crash anymore.
However the notes factbox is used for these purchase orders.
Has anyone else experienced this issue and have guidance on how to fix on end user machines.
FYI - DotNet framework is up to date and we have reinstalled the NAV client also.
Thanks
Having investigated the event viewer I identified the below errors.
It mentioned RichTextBox in the error, so I thought this might be down to the notes box rendering.
I removed the factbox from that user profile and low and behold it doesn't crash anymore.
However the notes factbox is used for these purchase orders.
Has anyone else experienced this issue and have guidance on how to fix on end user machines.
FYI - DotNet framework is up to date and we have reinstalled the NAV client also.
Thanks
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:
0
Answers
-
Hi,
There is an incorrect data in the "Record Link" table.
You have to find and delete incorrect records.0 -
We just hit this exact issue at a customer on a brand new laptop.
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-fe0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions