SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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