Register HttpHandler within location tag

3 posts, 0 answers
  1. Josh
    Josh avatar
    6 posts
    Member since:
    Nov 2015

    Posted 13 Aug 2017 Link to this post

    Hello,

    I am trying to register my AsyncUpload's HttpHandler that is nested within a <location> tag and it does not appear to be recognized.  The appropriate <handlers> and <httpHandlers> have been registered and work properly if we remove the <location> tag in question, but when we go to put it into production with the tag present and we receive errors.  Is there a fix or work around for this?

     

    <location path="." inheritInChildApplications="false">

    <system.web>

    <httpHandlers>

    </system.web>

    <system.webServer>

    <handlers>

    </system.webServer>

    </location>

  2. Vessy
    Admin
    Vessy avatar
    2127 posts

    Posted 15 Aug 2017 Link to this post

    Hi Josh,

    I have just answered your support ticket on the matter, for convenience I am copying my answer here as well:

    The following help article explains both how to deal with missing handler registrations and to use location tag along with our controls:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/troubleshooting/common-issues#missing-handler-registration


    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Vessy
    Admin
    Vessy avatar
    2127 posts

    Posted 17 Aug 2017 Link to this post

    Hi Josh,

    Just as a follow-up to my previous reply, I am copying my last reply from our conversation inside the support ticket, so the other users can see the solution id they face the same problem:

    Thank a lot for the provided project. In order to have properly registered handlers placed inside location tag with disabled inheritance, you will need to disable the handler detection of all controls using the not inherited handler. In this case, these will be RadScriptManager and RadAsyncUpload:
    <telerik:RadScriptManager runat="server" ID="rsmScriptMan1" EnableHandlerDetection="false" />
     
    <telerik:RadAsyncUpload runat="server" ID="ruUpload" EnableHandlerDetection="false" />


    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 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