posted by 준치 2014. 2. 4. 14:04

오늘은 오랜만에 쉐어포인드 2007을 확인하게 되었다.

포탈에서 파일 업로드 하려고 하는데 용량제한이 있나요?! 있으면 얼마나 되나요?!

라는 질문을 받았다.. 그래서 답변하려고 찾아보았다.

쉐어포인트 설정

중앙 관리 > 응용 프로그램 관리 > 웹 응용 프로그램 일반 설정 > 최대 업로드 크기 를 수정하면 된다.

하지만 iis 타임아웃이 있기때문에 설정을 변경해야한다. iis 기본은 28M 정도이다.

시작 - 실행 - inetmgr - (해당)웹 사이트 - 오른쪽 마우스 클릭 - 속성 - 웹 사이트(탭) - 연결 - 연결 제한 시간 을 수정하면 된다.

Layouts 폴더의 ExecutionTimeout 값 변경

경로 : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\web.config

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration>
...
  <location path="upload.aspx">
    <system.web>
      <httpRuntime maxRequestLength="2097151" />
    </system.web>
  </location>
...
</configuration>

기본 - <httpRuntime maxRequestLength="2097151" />

수정 - <httpRuntime executionTimeout="999999" maxRequestLength="2097151" />

해당 프로젝트 설정파일(web.config) 수정

기본 - <httpRuntime maxRequestLength="51200" />

수정 - <httpRuntime executionTimeout="999999" maxRequestLength="51200" />

출처 : http://blog.naver.com/gracejlim/10081674437

오늘도 화이팅~