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

RadAsyncUpload Custom Handler not working

2 Answers 269 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 13 Apr 2015, 08:07 PM
hello,
I am using the trial version of the latest Asp.net AJAX controls.  I'm attempting to get the RadAsyncUpload Custom Handler example working but am stuck with a http 500 "internal error" error.  I cannot get around this error.  I've tried recreating the project from scratch, etc. -- no luck.  My project is, I believe, a duplicate of the example files.  I tried to attach a zip of my project but it is 16 megs (2meg limit).  How can I get a zip of my project to you?  Many thanks -- john

2 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 14 Apr 2015, 03:33 PM

I was able to get past the HTTP 500 error by adding my handlers to the <system.webServer><handlers> section in my web.config like this:
<add name="Handler_ashx" verb="*" preCondition="integratedMode" path="Handler.ashx" type="Telerik.Web.UI.WebResource" />
<add name="StreamImage_ashx" verb="*" preCondition="integratedMode" path="StreamImage.ashx" type="Telerik.Web.UI.WebResource" />
Possibly this is obvious to everyone else but it certainly wasn't to me!

In any case, while the upload portion of the demo appears to work now, it will not hit any breakpoints in handler.ashx.vb -- I need to intercept flow within the handler to start my own customization work.  Any idea what I'm doing wrong?

 thx -- john

0
Peter Filipov
Telerik team
answered on 16 Apr 2015, 10:53 AM
Hello John,

I am sending you a sample project how you should configure a custom handler. 

I will be glad to assist you further.

Regards,
Peter Filipov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
AsyncUpload
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or