Index was out of range. Must be non-negative

Have a single user that can’t login to Epicor.

  • Tried clearing the cache
  • Deleted all her personalizations
  • Tried different workstations
  • She’s the only person that can’t login, which leads me to believe it’s an issue related to the DB related to her user profile

When she tries to login, she gets this error message:

Application Error

Exception caught in: mscorlib

Error Detail

Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Program: CommonLanguageRuntimeLibrary
Method: get_Item

Client Stack Trace

at System.Collections.ArrayList.get_Item(Int32 index)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupsCollection.get_Item(Int32 index)
at Ice.Lib.UI.MenuForm.loadUserSettings(String userID)
at Ice.Lib.UI.MenuForm.SetupComponent()
at Ice.Lib.UI.App.Launch.showMenuForm(Session initialSession)
at Ice.Lib.UI.App.Launch.ShowMenuForm()
at Ice.Lib.UI.App.Launch.ShowDialog(String[] args)

did she create a custom shortcut, dashboard type item in her tiles menu? I’ve seen that before surrounding where an user added a menu item and it’s gone for whatever reason but the reference is still there.

She might’ve - but I don’t know how to remove it. I even tried to get her to login as someone else, then use the ‘Change user’ option but it won’t let her login.

Gives her an error message ‘Invalid user ID or password’

it’s been so long since I encountered that (if it is that). Have you tried to log in to classic version? Try running a query on Ice.MenuTab in your epicor database, see what you see under her username.

How do I login using the classic version? (I should mention that we use SSO)

Only one record in the Ice.MenuTab table and it’s not her, it’s a another user.