IIS 6.0 預設為高安全模式,ASP 上傳限制 AspMaxRequestEntityAllowed = 204,800 Bytes(200KB),回應緩衝限制 AspBufferingLimit = 4,194,304 Bytes(4MB),導致大檔上傳/下載失敗。本文提供標準調整流程,修改 MetaBase.xml 兩個關鍵屬性即可解除限制。
%windir%\system32\inetsrv\MetaBase.xml。services.msc) → 停止 IIS Admin Service(WWW 發佈服務等相依服務會一併停止)。MetaBase.xml,搜尋 AspMaxRequestEntityAllowed。AspMaxRequestEntityAllowed="20480000" (20 MB)AspMaxRequestEntityAllowed="104857600" (100 MB)MetaBase.xml,搜尋 AspBufferingLimit。AspBufferingLimit="20480000" (20 MB)AspBufferingLimit="52428800" (50 MB)web.config 中 <httpRuntime maxRequestLength="..." />(單位 KB)與 <security><requestFiltering><requestLimits maxAllowedContentLength="..." /></requestFiltering></security>(單位 Bytes)。兩參數調整即時生效,無需重開機,是 IIS 6.0 維運人員必備的大檔傳輸調校技能。