Azure WCF Webrole error: The remote server returned an unexpected response: (413) Request Entity Too Large -



Azure WCF Webrole error: The remote server returned an unexpected response: (413) Request Entity Too Large -

i have windows azure webrole (wcf) webservice. have method upload files window azure blob storage. works well, little ( < 30 kb) files.

<operationcontract()> function uploadfilev1(byval applicationsessionguid string, byval usersessionguid string, byval filecontent byte(), byval filename string, byval filedescription string, byval filedisplayname string, byval ispublic boolean) dataset

if part: byval filecontent byte() bigger 30 kb error when phone call webservice.

the remote server returned unexpected response: (413) request entity large.

if run webservice local debugging , set breakpoint on method doesn't there.

i found simular topics, not in windows azure context.

the web.config in wcf project pretty empty.

in system.servicemodel of web.config of (windows azure) wcf webrole webservice can add together basichttpbinding. error made trying add together name, without name appears default. works charm. hope else runs , find reply here. took me 4 hours.

<bindings> <basichttpbinding> <binding maxreceivedmessagesize="2147483647" maxbuffersize="2147483647" transfermode="streamed" > <readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647"/> <security mode="none"> </security> </binding> </basichttpbinding> </bindings>

wcf azure-web-roles

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -