廣告廣告
  加入我的最愛 設為首頁 風格修改
首頁 首尾
 手機版   訂閱   地圖  簡體 
您是第 3444 個閱讀者
 
發表文章 發表投票 回覆文章
  可列印版   加為IE收藏   收藏主題   上一主題 | 下一主題   
小佳 手機
個人頭像
個人文章 個人相簿 個人日記 個人地圖
小人物
級別: 小人物 該用戶目前不上站
推文 x0 鮮花 x9
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片
推文 x0
問題請教 ASP 元件上傳的問題
我是用 AspUpload當作上傳元件,之前是在 windows 2000 server 上之IIS 5.0上執行,結果一切正常,最近把它移到 windows 2003 server ..

訪客只能看到部份內容,免費 加入會員 或由臉書 Google 可以看到全部內容



●在我英雄年少時,有一個女生,她願意為我失去生命...
她意志堅定地說....你再纏著我,我就去死!!!
獻花 x0 回到頂端 [樓 主] From:台灣中華電信 | Posted:2005-09-13 14:32 |
法蘭克 手機
個人文章 個人相簿 個人日記 個人地圖
小人物
級別: 小人物 該用戶目前不上站
推文 x0 鮮花 x13
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

AspUpload的技術文件中有提到:

IIS6.0 prevent the upload of files more than +200Kb.
For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.

Open your metaname.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824".
You might need to start windows in Safe-mode to be able to change that file, otherwise it's being used by IIS.

Windows 2003 Server中的IIS6預設上傳是200KB
必需到C:\Windows\system32\inetsrv資料匣中找metabase.xml這個檔案
修改其中的『AspMaxRequestEntityAllowed』設定
預設是204,800Bytes = 200KBytes
2,000,000 = 2MB 以此類推,依您預估需求去調整即可


獻花 x0 回到頂端 [1 樓] From:台灣台灣索尼 | Posted:2007-01-14 02:22 |

首頁  發表文章 發表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.016442 second(s),query:16 Gzip disabled
本站由 瀛睿律師事務所 擔任常年法律顧問 | 免責聲明 | 本網站已依台灣網站內容分級規定處理 | 連絡我們 | 訪客留言