일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- upbit
- httpclient timeout
- 썸머노트
- Aspose.cells
- AIoptimization
- 코딩입문
- 블록코딩
- 한글깨짐
- largelanguagemodels
- 오블완
- 일본여행
- Android
- MYSQL
- .csv
- ASP.NET MVC
- swift 화면전환
- PromptEngineering
- 나만의 상점
- chart.js
- league of legends
- 업비트
- python
- MSSQL
- MS-SQL
- 엔트리
- 스크래치코딩
- 파이썬입문
- 초딩수학
- Kakao API Address
- Excel
Archives
- Today
- Total
DBA
.NET MVC 대용량 파일 업로드 본문
728x90
반응형
SMALL
파일 업로드 시 파일 크기 제한에 걸릴때
Web.config 파일에서 아래 음영 부분의 숫자를 변경해 주면 됨
(초록색 부분은 게시판작성시 테그를 POST로 넘길때 문제가 생기면 4.0 => 2.0 으로 변경)
[대용량 파일 업로드]
<system.web>
<httpRuntime maxRequestLength="1048576" requestValidationMode="2.0" executionTimeout="3600" targetFramework="4.5.2" />
</system.web>
[허용되는 최대 콘텐츠 길이(바이트)]
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
</system.webServer>
728x90
반응형
LIST
Comments