problem uploading large file with webservice

B

Bram Kuijpers

Hi,

we have programmed a webservice, in VS 2003 /dotnet 1.1, and use it to
upload xml-files. The file is sent, as an attachment to a soap-file using
DIME, in one http-POST. The content can be larger than 4 Mb, which used to
give a http 500 error ("request too big" or something like that). So, I
changed the setting for maxRequestLength (to "10240") in web.config to fix
the problem. However, the result is now a http 400 (Invalid request) when
uploading a 5Mb file. I also tried changing maxRequestLength in
machine.config, but with the same result. We use Isapi Rewrite on the site
to translate URL's.

Does anyone have an idea about what causes the 400-code? Are there other
settings responsible for only processing 4Mb of a request?

Thanks,
Bram Kuijpers
 
A

anis

Hi Bram,
Did you find any solution on this issue?
Here I am facing same error:(400) while uploading file larger than 4MB
inspite of setting maxRequestLength=20480
Please write back in case of any solution.
Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top