Troubleshooting: "An Item with the Same Key Has Already Been Added" Error From Duplicate Realm Folders

Follow
    Applies to:
  • SecureAuth Identity Platform
Deployment model:
  • Cloud
  • Hybrid
  • On Premises
  • Version Affected: All
     
     

    Overview

    When accessing the Advanced/Classic Experience, the page throws a generic Please Contact Your Administrator error if custom errors are turned on. The realm's Error and Event logs show:

    Exception message: An item with the same key has already been added.

     

    Cause

    The same realm is being referenced more than once, due to duplicate realm folders under D:\SecureAuth and possibly duplicate matching entries in Internet Information Services (IIS).

     

    Resolution

    1. Go through the realm folders under D:\SecureAuth.
    2. Find any realms with a duplicate SecureAuth# folder name. For example:
      SecureAuth24
      SecureAuth25
      SecureAuth25_ORG
      SecureAuth25_ORG1
      SecureAuth25_ORG2
      SecureAuth26

      In this example, the duplicates are SecureAuth25_ORG, SecureAuth25_ORG1, and SecureAuth25_ORG2.
    3. Move or remove the duplicate folders, and remove any matching duplicate entries from IIS as well.


     

    Special Considerations

    Keep a temporary copy of any removed realm folders in case they need to be restored.


     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.