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

IIS 錯誤 ASP 0177:800401f3 Server.CreateObject 失敗 - 註冊 easymail.dll 解決實錄

編輯:關於伺服器

錯誤現象

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject failed
/LM/W3SVC/163585200/Root/global.asa, line 4
800401f3

常見誤導方向:FSO 元件權限、目錄權限、IIS 設定——實測均無效。

根因分析

應用程式依賴 easymail.dll 元件發送郵件,但該 COM 元件未在系統註冊,導致 Server.CreateObject("easymail.SMTP") 失敗。

解決步驟

  1. 確認檔案存在:
    • Windows Server 2003: C:\Windows\System32\easymail.dll
    • Windows 2000: C:\Winnt\System32\easymail.dll
  2. 以管理員身分執行命令提示字元
  3. 註冊元件:
    regsvr32 C:\Windows\System32\easymail.dll

    成功會彈出「DllRegisterServer in easymail.dll succeeded.」

  4. 重啟 IIS:iisreset 或回收應用程式集區
  5. 重新測試網頁,錯誤消失

補充說明

  • 若為 64 位系統且應用程式集區啟用 32 位模式,請使用 %windir%\SysWOW64\regsvr32.exe
  • 註冊前建議備份登錄檔相關機碼
  • 同理可解決其他 800401f3 類 COM 元件未註冊問題
Copyright © Windows教程網 All Rights Reserved