Issue

PST Flight Deck Admin's or Operator's Console launches and fails with error. Selecting the details of the error, something similar to the following is displayed:
System.InvalidOperationException: Invalid entry in User Grid
   at QUADROtech.PSTFlightDeck.SME.UI.Manage.Controllers.ManageUsers.OnMasterRowEmptyEvent(Object sender, MasterRowEmptyEventArgs e)
   at DevExpress.XtraGrid.Views.Grid.GridView.DevExpress.Data.IDataControllerRelationSupport.IsMasterRowEmpty(Boolean isEmpty, Int32 controllerRow, Int32 relationIndex)
   at DevExpress.Data.DataController.IsDetailRowEmptyCached(Int32 controllerRow, Int32 relationIndex)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CreateRowInfo(GridRow row)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRowsDrawInfo()
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcGridInfo()
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.Calc(Graphics g, Rectangle bounds)
   at DevExpress.XtraGrid.Views.Base.ColumnView.DoInternalLayout()
   at DevExpress.XtraGrid.Views.Base.ColumnView.CalculateLayout()
   at DevExpress.XtraGrid.Views.Grid.GridView.LayoutChanged()
   at DevExpress.XtraGrid.Views.Base.ColumnView.ApplyColumnsFilterCore(Boolean updateMRU, Boolean ignoreActiveFilter)
   at DevExpress.XtraGrid.Views.Base.ColumnView.OnActiveFilterChanged(Object sender, EventArgs e)
   at DevExpress.XtraGrid.Views.Base.ViewFilter.OnClear()
   at System.Collections.CollectionBase.Clear()
   at DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.DoClickAction(BaseHitInfo hitInfo)
   at DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.OnMouseUp(MouseEventArgs ev)
   at DevExpress.Utils.Controls.BaseHandler.ProcessEvent(EventType etype, Object args)
   at DevExpress.XtraGrid.GridControl.OnMouseUp(MouseEventArgs ev)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
   at DevExpress.XtraGrid.GridControl.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

In the Operator’s console, this issue may be persistent and prohibit accessing other areas of the console. In the Admin Console, the error occurs upon access of the Manage Users section, however selecting other areas of the console may be accessible.
 
Solution

  1. Log into the affected machine with the account experiencing the issue.
  2. Close all current instances of FD Consoles presently running
  3. Browse to the following path C:\Users\FDAdmin\AppData\Local\QUADROtech\FlightDeckSME\Layouts\Manage Users\Temp (where FDAdmin is the users account name). *
  4. Delete the file LastUsed.layout
  5. Launch the console and browse to the problematic section to confirm issue no longer recurs.

* It is possible to experience a similar error in other sections of the console. If you do have such an error, you will need to delete the appropriate LastUsed.layout file. To find the file you would need to replace the “Manage Users” portion of the path above to represent the section of the Admin Console you are having an issue related to. At the time of authoring, the following are the different sections of the product retaining view layouts:

 

Print Friendly, PDF & Email