Article ID: 949349 - Last Review: February 22, 2008 - Revision: 1.0 Error message when you use Server Manager in IIS 7.0 to open a feature configuration page: "Cannot add duplicate collection entry"On This PageSYMPTOMSWhen you use Server Manager in Internet Information Services (IIS) 7.0 to open a feature configuration page, you receive the following error message: There was an error while performing this operation.
Details: Filename: \\?\C:\inetpub\wwwroot\web.config Line number: <LineNumber> Error: Cannot add duplicate collection entry of type '<XXX>' with unique key attribute '<YYY>' set to '<ZZZ>'. When you click OK, the feature configuration page does not let you correct the problem in Server Manager. CAUSEThis problem occurs because IIS detects a duplicate entry for the same setting at a higher level in the configuration. For example, IIS detects a duplicate entry for the same setting at the server level and at the Web site level. Or, IIS detects a duplicate entry for the same setting at the Web site level and at the application level. RESOLUTIONTo resolve this problem, first you must delete the duplicate entry that is defined at the highest level. The highest level may be the server level or the Web site level. After you delete the duplicate entry, the feature configuration page for the Web site or for the application should be displayed correctly. Then, you can modify the configuration at this level, and you can configure the feature configuration page correctly. However, make sure that you do not add duplicate entries. MORE INFORMATIONSteps to reproduce the problem
| Article Translations
|
Back to the top
