Could not drill-down Item list in field “No.” on Sales Order subform

One of my user report that he could not see the Item List when drill-down the Item No. field in the Sales Order sub-form. Instead, the NAV crashed. Here is the event viewer:

Type: System.ArgumentOutOfRangeException
Message:
  Value of '-0.2189909' is not valid for 'FillWeight'. 'FillWeight' must be greater than 0.
  Parameter name: FillWeight
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0()
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
Source: Microsoft.Dynamics.Nav.Client
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
  Value of '-0.2189909' is not valid for 'FillWeight'. 'FillWeight' must be greater than 0.
  Parameter name: FillWeight
ParamName: FillWeight
StackTrace:
     at System.Windows.Forms.DataGridViewColumn.set_FillWeight(Single value)
     at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.UpdateUserColumnFillWeight()
     at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.PostLoad()
     at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.OnDataLoaded()
     at Microsoft.Dynamics.Framework.UI.Windows.ContainerLogicalControlAdapter.OnDataLoaded()
     at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnFormToShow(LogicalForm logicalFormToShow, LogicalControl originatingLogicalControl)
     at Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.OnFormToShow(LogicalForm logicalFormToShow, LogicalControl originatingLogicalControl)
     at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnLookupFormReady(LookupFormReadyEventArgs e)
     at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.LookupFormReady(Object sender, LookupFormReadyEventArgs e)
     at Microsoft.Dynamics.Framework.UI.UISession.OnLookupFormReady(LookupFormReadyEventArgs e)
     at Microsoft.Dynamics.Framework.UI.LookupAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Nav.Client.Actions.NavConditionalLookupAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.Invoke(LogicalControl logicalControl)
     at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.InvokeDefaultLookupAction(LogicalControl control, Boolean useLookupStringValue, String lookupValue)
     at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.InvokeDefaultLookupAction(LogicalControlAdapter adapter)
     at Microsoft.Dynamics.Framework.UI.WinForms.LookupFormConnector.ApplyAsYouTypeFilter(String filter)
     at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.FilterAsYouTypeFilterTimer_Tick(Object sender, EventArgs e)
     at System.Windows.Forms.Timer.OnTick(EventArgs e)
     at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: System.Windows.Forms

I do not know what is the cause, but here it is the solution: Reset UI Settings.

Open the user’s NAV:

Customize | Role Tailored Client | Delete Personalization Settings | Reset UI Settings.

And, voila! He could drill-down the Item No. again.

Advertisements