I'm facing a problem with web services in a IIS + Sharepoint farm...

I have a Web service that receives a byte[] and convert it to a file on the Sharepoint System. When I upload a file from the system I found no problem with file (till 50MB), when I load with my WS the call is leaved unless it is < 4MB.

I tried to modify the web.config:

<httpRuntime maxRequestLength="51200"/> //KB => 50MB

and then:

  <requestFiltering allowDoubleEscaping="true" > 
     <requestLimits maxAllowedContentLength="2000000000" /> 

do an IISReset but nothing has change: byte[] > 4MB is not accepted..

Any suggestion?


You have to increase max upload file in sharepoint central admin too in order to succeed. Microsoft Support have an article about the problem you are facing.

| improve this answer | |
  • Already 50MB... – Ziba Leah Jul 18 '12 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.