This is a migrated thread and some comments may be shown as answers.

Register HttpHandler within location tag

2 Answers 85 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 13 Aug 2017, 02:40 PM

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 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 15 Aug 2017, 01:44 PM
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.
0
Vessy
Telerik team
answered on 17 Aug 2017, 12:19 PM
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.
Tags
AsyncUpload
Asked by
Josh
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or