Login error: An item with the same key has already been added

Classic login screen, there’s no prompts because we use Azure credentials. It’s been working for months, then this morning I get this:
“An item with the same key has already been added.”

I’ve cleared the hidden folder in C:\Program Data. I’ve even used Remote Desktop to the App server and recycled the app pool. (this is our Dev environment). There doesn’t seem to be a lot for me to check. Any ideas?

1 Like

What did the detail say?

System Information

==================

AppServer Connection: https://dev.epicor.onlinemeridian.com/EpicorERP
Form Name: ShellMenuForm
Customization Name:
Menu ID:
Software Version: 4.3.100.15

============

Application Error

Exception caught in: mscorlib

Error Detail

============
##!Message:##! An item with the same key has already been added.
##!Program:##! CommonLanguageRuntimeLibrary
##!Method:##! ThrowArgumentException

Client Stack Trace

==================
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at IceShell.SessionManager.loadHistory()
at IceShell.SessionManager.loadUserSettings(String userID, Boolean changeUserEvent)
at Ice.Lib.UI.SessionCache.set_CurrentSession(Session value)
at IceShell.SplashScreenApp.logon_LogonEnded(Object sender, EventArgs e)
at IceShell.Apps.LogonDialog.OnLogonEnded(Object sender, EventArgs e)
at IceShell.Apps.LogonDialog.AutoLogOnUser()
at IceShell.Apps.LogonDialog.LogOnUser()
at IceShell.SplashScreenApp.ShowSplash()

Is this just your problem, or all or more users?

Not just me, it is affecting at least one other. But I am now talking with one who got in.

1 Like

KB0074069

An Item with the Same Key has Already Been Added error

Version 2.0 • Updated: 2026-04-30 • 1839 Views • (*)(*) (*) ( ) ( )

Issue


While trying to access the ERP, an error message will appear and access to the ERP will be denied.

Error


Resolution


**An option to fix the error is by clearing the cache on the client machine.

  1. Log out of Epicor.
  2. Go to C:\ProgramData\Epicor\ausmtsapp01.epicorsaas.com-443\3.2.400.0\ (the server name not be the exact same URL)
  3. Delete the folder with your site ID /XXXXX
  4. Log back in to the client.

If the error continues, a second option is to check the user account settings at the User Account Security Maintenance.
1.- Login into Epicor using a manager account.
2.- Open the User Account Security Maintenance module.
3.- Confirm user to be active.
4.- Modify one of the user fields (e.g. address) and save changes.
5.- Remove changes performed at the previous step and save changes.
6.- Log back in in to the client.

A third possible root cause is a Kinetic UI customization/layout, if the error doesn’t show up when trying to login using Classic UI instead of Kinetic, try assigning the user one of the default layouts available from selection under the User Account Maintenance window/Options tab under UI options “Default Published Home Page Layout”.**

Notes


If the above solutions do not work or if there are additional questions, open an EpicCare case to contact support.

2 Likes

If this doesn’t solve it, it could be a personlization that’s hanging it up so you could start removing personalizations, but I sense @aosemwengie1 is on it.

We’ve been running into this exact issue quite often. We usually try two different solutions to fix it.

First, we click “Try Kinetic” in the browser, switch to a different company than the one we were originally using, and open any application (such as Customer Maintenance, AR Invoice, etc.). Then we close the application, log out, and try again.

If that doesn’t work, Epicor has a specific fix for this issue, but we usually need to request it from them each time it happens, since the fix eventually expires.

3 Likes

Ah ha! The Company change fix worked! I was able to use Kinetic to log in, switch Companies, then I was able to login to Classic. Through further testing, I have determined that I can’t login if I use the main Company, but I can login with any of the other Companies I use. Yes, that includes when I switch back. But I have this work around for now, since I can switch back to the main Company once I’ve logged in. I just have to remember to switch to something else before I log out if I want to just login using Classic. I will continue to update this as I find out more.

4 Likes

Might be worth noting that to support if you haven’t already, though with EOL coming for the classic client, not sure it’ll be addressed.