Posting data to a HttpHandler greater then ~29MB gives a 404 error

Posted by Vaibhav Garg on Stack Overflow See other posts from Stack Overflow or by Vaibhav Garg
Published on 2010-04-23T04:17:49Z Indexed on 2010/04/23 4:23 UTC
Read the original article Hit count: 266

I am testing a HttpHandler that accepts XML. It works fine when a small amount of data is posted but if I post data larger then approx 29mb, I get a asp.net 404 Error.

I am posting to the handler from another handler in the same project and I have tried 2 methods - 1. HttpWebRequest with "POST" 2. WebClient with UploadFile() and UploadData()

I get the same 404 error when the posted data is above 29mb.

I also tried putting a breakpoint right in the beginning of the receiving handler and debugging. It is never hit. Appears like the handler was never called. Works ok for smaller sized data.

What am I doing Wrong?

(Thanks in advance for helping)

alt text

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about httpwebrequest