Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows Server 系統教學 >> Server 2003

IIS 6.0 突破 200KB 上傳限制:修改 Metabase.xml AspMaxRequestEntityAllowed 快速指南

編輯:Server 2003

操作步驟

  1. 停止 IIS Admin Service:
    iisreset /stop 或服務管理員停用「IIS Admin Service」。
  2. 編輯 %SystemRoot%\system32\inetsrv\metabase.xml。
  3. 搜尋 AspMaxRequestEntityAllowed,預設值 204800(200 KB)。
    修改為所需位元組數,例:
    20480000 = 20 MB
    104857600 = 100 MB
  4. 啟動 IIS Admin Service:
    iisreset /start。

注意事項

  • **必須先停止 IIS Admin Service**,否則存檔會被服務覆寫。
  • 備份 metabase.xml 以防誤改。
  • 若套用群組原理「限制最大要求實體長度」,Metabase 設定會失效(介面灰色),需在群組原理調整。
Copyright © Windows教程網 All Rights Reserved