« Previous Next »

Thread: Error: Cannot add duplicate collection entry....

Last post 06-30-2009 3:03 AM by neo_. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 06-22-2009, 3:37 AM

    • neo_
    • Not Ranked
    • Joined on 06-22-2009, 3:29 AM
    • Posts 7

    Error: Cannot add duplicate collection entry....

     While trying to Remove FTP Publishing, as soon as I click on it, and after I click on okay for the confirmation window, I get this error:




    And here is what my line 935 looks like

                
    <add accessType="Allow" users="Administrator" permissions="Read, Write" />

     Any help please, thanks!

  • 06-22-2009, 11:19 AM In reply to

    Re: Error: Cannot add duplicate collection entry....

    Has this permission been specified in another place in the configuation file other than line 935?  For example, if line 935 is under a location tag, there might also be this permission at a root level.

  • 06-22-2009, 1:37 PM In reply to

    • neo_
    • Not Ranked
    • Joined on 06-22-2009, 3:29 AM
    • Posts 7

    Re: Error: Cannot add duplicate collection entry....

     Could you please give me an example? I did not manually edit the config file, everything I setup through the GUI.

  • 06-22-2009, 2:28 PM In reply to

    Re: Error: Cannot add duplicate collection entry....

    Open the config file and search for "<authorization>".  Check if there is another section for this with that same <add accessType=...> line in another location of the config file (other than line 935).  The section location would be something like:

    <configuration>
       <system.webServer>
          ...
          <security>
              ...   
             <authorization>        
                <add accessType="Allow" users="" roles="Administrators" />
             </authorization>
          </security>
       </system.webServer>
    </configuration>

     If line 935 is under a location tag (<location path="Site">), then this setting may be set at a higher level, such as the server level.  If this is the case, try removing line 935. If this works, you may have a delegation issue, and this page might provide some good example for what the configuration should look like: http://learn.iis.net/page.aspx/156/understanding-iis-70-configuration-delegation/ 

  • 06-30-2009, 3:03 AM In reply to

    • neo_
    • Not Ranked
    • Joined on 06-22-2009, 3:29 AM
    • Posts 7

    Re: Error: Cannot add duplicate collection entry....

     Thank you, that helped to fix my issue.

Page 1 of 1 (5 items)
Microsoft Communities