wcf - Custom MTOM binding and Max upload size -


i'm using binding configuration below upload service,

<binding name="fileuploadstsbinding">           <security authenticationmode="usernameovertransport"                     requirederivedkeys="false"                     keyentropymode="serverentropy"                     requiresecuritycontextcancellation="false"                     requiresignatureconfirmation="false">           </security>           <mtommessageencoding/>           <httpstransport              transfermode="streamed"              maxreceivedmessagesize="2147483647"/>         </binding> 

but setting, i'm not able upload big files more 1mb, server response bad request.

any thoughts?

you need set maxrequestlength attribute upload work. can here found in web.config file here:

<configuration>    <system.web>       <httpruntime> 

check iis app pool identity has right write temp folder able temporarily store incoming data.


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -