This project has moved and is read-only. For the latest updates, please go here.

Cannot get control to call my Handler.

Aug 23, 2013 at 6:06 PM
First of all GREAT control. I love it. It was very easy to integrate into my project and use.

I am having a small issue with the Handler.
I've created my own handler but it will not call it.

When I use the default handler - HttpUploadHandler and set a breakpoint everything is fine the breakpoint is hit.

When I try to use my handler it doesn't get into the code.

I've tried 2 ways - I've actually altered the hardcoded handler in HttpFileUploader.cs to my handler name. Still won't call my code.

I've set the Init Params as well.

When I step into the code (setting the handler both ways) both times my handler is the handler that is going to execute but I cannot get to the breakpoint.

When I use the default handler it always stops on the breakPoint.

Am I missing something?
Aug 23, 2013 at 8:29 PM

Both methods you tried should work. Maybe there's a compile error in your handler?
Try monitoring your request with Fiddler It will show you the error message the request is returning.

Else, start with the original handler and change it line by line and test when it starts failing...

Hope this helps,
Aug 27, 2013 at 2:36 PM

Thank you for responding so quickly. My application compiles fine, no errors.
What's happening is when I set a breakpoint in my handler the app never stops there.

But when I use the default handler and past my code in with the breakpoint it does stop on the breakpoint.


Aug 27, 2013 at 3:16 PM
So the code in your handler gets executed and works as expected?

No clue, check your web.config debug setting?