Console initialization error the item has already been added

Version 2

    Verified Product Versions

    Endpoint Manager 9.5

    Description

     

    Console initialization error the item has already been added

     

    Error in log

    1/09/2011 11:25:37 INFO 5340:Main Thread RollingLog : Creating current user and resolving scopes

    1/09/2011 11:25:37 INFO 5340:Main Thread RollingLog : ArgumentException Exception: Item has already been added. Key in dictionary: 'domain\lduser' Key being added: 'domain\lduser'

     

    Resolution

     

    The issue is related to that username already be in the Database in a different case(upper or lower). What you need to do is remove that record from the DB so that the login can continue. Your DBA's will find the user in the error message listed at least two(2) times probably one all caps and the other all lower case.

    In the CONSOLEUSER table delete the record that different from the record(s) in log as that is being inserted or the one that has 0 rights.

     

     

    Delete that record or do an update statement as to preserve data:

     

    EXAMPLE

     

    from log

    1/09/2011 11:25:37 INFO 5340:Main Thread RollingLog : Creating current user and resolving scopes

    1/09/2011 11:25:37 INFO 5340:Main Thread RollingLog : ArgumentException Exception: Item has already been added. Key in dictionary: 'domain\lduser' Key being added: 'domain\lduser'

     

    The following statement is an example based off the user record in question being ID 14.

    (a simple select * from consoleuser will give the user ID)

     

    Sample statement(this is from sql might need slight tweak for oracle)

     

    Update ConsoleUser set UserName = "DOMAIN/LDUSEROLD" where ConsoleUser_Idn = 14