web services - Transfering files greater than 100mb as byte[] array to an asmx webservice -


i using 3.5 asp.net webapplication transer files byte array axmx 1.1 webservice gives following error on invoking method

"the underlying connection closed: unexpected error occurred on send"

the bytearray length 120788413 when call same method smaller file, i.e. byte array length 3128994 works fine.

is there way in 1.1 asmx webservice increase message recieving request length?

the 1.1 webservice cannot upgraded cant use wcf have use same service, in webservice have added

<httpruntime executiontimeout="30720" maxrequestlength="1024000"/> 

in system.web element

also have added section

<microsoft.web.services2>         <diagnostics>       <trace enabled="true" input="inputtrace.webinfo" output="outputtrace.webinfo"/>     </diagnostics>     <messaging>    <maxrequestlength>1024000</maxrequestlength>   </messaging><!-- 1gb -->     </microsoft.web.services2> 

but doesnt seem work, in application using httpruntime same values

please guide how can increase length of reciveing message in webservice?

there's no way this. asmx service copy entire message in memory several times in process of handling request. 100mb @ least 300mb in memory.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -