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

Windows Server 2003 IIS 大附件上傳錯誤 ASP 0104 解決方案

編輯:關於伺服器

在 Windows Server 2003 環境下,使用 ASP 程式發送多個或大型附件時,常遇到以下錯誤:

Request 對象錯誤 'ASP 0104 : 80004005'
不允許操作
/mail/postmail.asp,第 73 行

此為 IIS 預設限制導致,解決步驟如下:

  1. 開啟「服務」,停止 IIS Admin Service。
  2. 編輯 C:\Windows\system32\inetsrv\metabase.xml。
  3. 搜尋 AspMaxRequestEntityAllowed,預設值為 204800 (200 KB)。
  4. 修改為所需上限,建議設為 51200000 (約 50 MB)。
  5. 儲存檔案,重新啟動 IIS Admin Service 即可生效。

注意:修改 metabase.xml 前請先備份;調整數值視實際業務需求與伺服器資源評估,過大可能影響效能與安全性。

Copyright © Windows教程網 All Rights Reserved