Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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:

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

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

Any suggestion?

share|improve this question

1 Answer 1

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

 
discard

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.