Upgrade adds duplicate entries when using location overrides in web.config

3 posts, 0 answers
  1. Daniel
    Daniel avatar
    8 posts
    Member since:
    Jan 2016

    Posted 04 Oct 2017 Link to this post

    When I upgrade a Telerik project that has the handlers defined inside a location tag it add duplicate entries.  The ones inside the location remain the same and the handlers are added at the end of the web.config file along with a duplicate authentication tag.


    Is a better solution to just place everything outside the location override or is there a way to disable updating the web.config file on upgrade? I have a lot of projects inside one solution file, so mass upgrading is preferred over individual upgrades.


    Here is what I mean by location.

    <location allowOverride="True|False" path="path" />

    I had to give the WebResource.axd file it's own location per other documentation and placed the main content inside a location of ".".  Some folders are setup for anonymous access, like css and javascript files, while other folders require windows authentication.  I have projects nested under other projects, so I don't want a higher web.config file to have any influence on a lower one.  It's an interesting setup, but it all works great other than trying to upgrade Telerik.  It's easy enough to remove the duplicate entries, but it would be nice to not have to do that for each upgrade. 

    I can provide better examples later when I'm in front of a computer.


  2. Daniel
    Daniel avatar
    8 posts
    Member since:
    Jan 2016

    Posted 05 Oct 2017 Link to this post

    Placing everything that was in the "." location into the main hierarchy fixed the issue.  Doing that and enabling Anonymous access to specific folders in IIS did the trick.  It was just a bad configuration on my part.
  3. Vesko
    Vesko avatar
    124 posts

    Posted 09 Oct 2017 Link to this post

    Hello Daniel,

    I am really glad to hear that you have fixed the issue on your side. Your feedback is appreciated and will be considered.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top