My studying notebook

2008/06/11

[備忘錄] Web.config httpruntime

6/11/2008 10:11:00 AM Posted by Unknown 5 comments
今天早上就接到了電話,使用者反應網頁沒有辦法上傳Doc檔,自己實際測試了一下,發現使用者上傳的檔案大小大於4M。在Web.config中,如果沒有特別指定上傳案大小時,預設的小大為4096KB(4M),只要在Web.config 區段加上httpRuntime設定

<configuration>
<system.web>
<httpruntime maxrequestlength="10280">
useFullyQualifiedRedirectUrl="true"
executionTimeout="60"/>
</httpruntime>
</system.web>
</configuration>

把maxRequestLength由預設值改為10280(10M),解決!!打完收工

5 comments:

  1. Replies
    1. Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai

      Python Training in Chennai Python Training in Chennai The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai

      Delete
  2. Gaining Python certifications will validate your skills and advance your career.
    python certification

    ReplyDelete