新增 IIS6 MetabaseCompatibility 角色後 inetmgr 崩潰

新增 IIS6 MetabaseCompatibility 角色後 inetmgr 崩潰

我將 IIS6 MetabaseCompatibility Role 新增至 Server 2008,但無法再啟動 inetmgr:

IISMANAGER_CRASH

IIS Manager terminated unexpectedly.

Exception:System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Web.Management.Host.Shell.ShellApplication.Initialize(Boolean localDevelopmentMode, Boolean resetPreferences)
   at Microsoft.Web.Management.Host.Shell.ShellApplication.Execute(Boolean localDevelopmentMode, Boolean resetPreferences, Boolean resetPreferencesNoLaunch)

Process:InetMgr

有任何想法嗎?同時,我卸載了該角色,但我仍然沒有 inetmgr(mmc snapin 也不起作用)。

答案1

聽起來不只是 IIS 6 元資料庫問題。您能否完全刪除角色,然後嘗試重新新增角色並在重新新增過程中選擇 IIS 6 元資料庫相容性

答案2

我很想查看 C:\Windows\Logs\CBS 中的 CBS 日誌檔案。應該有一些關於故障和崩潰原因的條目。如果您想讓我查看日誌,請告訴我。

答案3

要嘗試的一件事是從提升的命令提示字元執行:

Start Inetmgr.exe /reset

首選項檔案可能已損壞,因此該命令可能會有所幫助。

相關內容