More in this section
Forums / Deployment / Handler Config Error on New Project Install - Cannot add duplicate collection entry...

Handler Config Error on New Project Install - Cannot add duplicate collection entry...

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 1 answered
  1. D'Arcy
    D'Arcy avatar
    0 posts
    Registered:
    13 Apr 2010
    16 Jun 2017
    Link to this post

    I've installed Sitefinity on Windows Server 2016, but after creating a new project in Project Manager and launching the site, I'm getting the error below:

    "Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Telerik.Sitefinity.ThumbnailUploadHandler' "

    The ThumbnailUploadHandler is in the config twice but in two different spots - one in the httpHandlers node and one in the handlers node (the former is supposed to be for older versions of IIS).

    Anybody encounter this before?

    Thanks.

  2. D'Arcy
    D'Arcy avatar
    0 posts
    Registered:
    13 Apr 2010
    20 Jun 2017
    Link to this post
    Figured it out - in the config just above where it adds the handlers there's a section that removes them. The ThumbnailUploadHandler was never removed, so I just added that line in and everything worked.
    Answered
2 posts, 1 answered