Error: cannot add duplicate collection entry

Asked By 30 points N/A Posted on -


I got this weird error message while I am performing an operation on enterprise vault server, unable to expand EVAnon virtual directory in IIS Manager. It shows error “There was an error while performing this operation” I think I made something wrong while configuration with IP address and Domain restrictions with Enterprise Vault virtual directory. Please help me to fix the problem. Thanks in advance.


IP Address and Domain Restrictions

There was an error while performing this operation.


Filename: \?C:Program File (x86)Enterprise


Line number: 44

Error: cannot add duplicate collection entry or type ‘add’ with combined key attributes ‘ipAddress, subnetMask, domainName’ respectively set to ‘,,’

Answered By 70 points N/A #167185

Error: cannot add duplicate collection entry



To solve your issue, you have to remove some lines from the problematic file “web.config”.

The file is unable to add IP address restrictions for “EVAnon virtual directory” and making this issue.

  1. First, make a backup of the file “web.config” on your PC.
  2. Login to “Enterprise Vault (EV) Server” along “Vault Service Account (VSA)” credentials.
  3. Open “web.config” file for editing. You can use Notepad for this purpose.
    The file’s location is as like “C:Program Files (x86)Enterprise vault”.
  4. Erase the entry for IP address restrictions that starts with “add” along “IP address”.
  5. Reset IIS, re-setup “EVAnon IP address restrictions” or recreate “EVAnon VD” from “OWAUsers.wsf” script.

Your problem should have been solved by now.

Login/Register to Answer

Related Questions