문제

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?

도움이 되었습니까?

해결책

I'm not sure, but considering that you have no other answers here, SharePoint has its own file upload limits that need to be set in SharePoint's web.configs. Hopefully that can get you started, sorry I can't be of more help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top