Re: problem uploading large file with webservice



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,

Bram Kuijpers wrote:
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

.



Relevant Pages

  • Re: File Post Control
    ... I am using file post control to upload a large file to web server. ... Now what this control do is that it will reject any such request ... > is see if the request is for uploading ... and keep on rejecting th eread portion from memory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • uploading files without a form
    ... file uploading without using an html form? ... a request from the remote server? ... I simply want the webserver to call my local ... cant seem to get a handle on this - all the info on uploading ...
    (comp.lang.php)
  • Some piccies.
    ... By request, I posted a few pictures on alt.binaries.pictures.woodworking. ... you're uploading anyways..ssooooo ... Prev by Date: ...
    (rec.woodworking)
  • Re: http uploading
    ... With XP i published to web in my network places (http) with guidance from ... Your problem is on your end if the FPSE are working. ... information under HTTP uploading protocol article? ... Can you recommend a host that understands Publisher ...
    (microsoft.public.publisher.webdesign)
  • Re: Emailing web form information to me
    ... the directions for HTTP uploading that are described ... in How to publish a Publisher web in HTTP no longer work. ... Instead you need to map a network drive ...
    (microsoft.public.publisher.webdesign)

Loading