I have set web.config value for maxRequestLength to -1, but it is still
complaining that the maximum length is being exceeded, Do I have to change
the value in the machine.config as well?
Also what affect does the ChunkSize property have on the DimeAttachment in
class? I set it to 1024 and would not expect it to complain if I attach a
file of greater than 4096?
Can someone explains this please
Cheers
Ollie Riches
<microsoft.web.services2><messaging><maxRequestLength>-1</maxRequestLength><
/messaging></microsoft.web.services2
Ramadass - 16 Sep 2004 23:54 GMT
Did you try setting the MaxRequestLength for both the
client as well as the server??
The chunkSize property enables a large Attachment to be
divided into smaller chunks and enables it to be written
into multiple records. The entire attachment then doesnt
have to be buffered to write into a single record.
Are you implementing DIME over a HTTP transport or a TCP
transport.
Because for Dime over http, the entire message is anyway
loaded into memory..
HTH
Ramadass
>-----Original Message-----
>I have set web.config value for maxRequestLength to -1, but it is still
[quoted text clipped - 15 lines]
>
>.
Stavros Valsamis - 23 Mar 2005 11:26 GMT
you must change the maxRequestLength parameter of the <httpRuntime> section
in the Web.config file also.
See Article :
http://support.microsoft.com/default.aspx?scid=kb;en-us;323245
Stavros