无法初始化网站的日志记录模块

Microsoft.Windows.InternetInformationServices.10.0.WebSite.Failed.To.Initialize.Logging.For.WebSite.Monitor (UnitMonitor)

Knowledge Base article:

摘要

使用 HTTP 的 Internet Information Services (IIS) 网站依赖于几个重要的 IIS 组件来确保可用性。Windows Process Activation Service (WAS)、World Wide Web 发布服务 (W3SVC)、HTTP 服务都必须正确运行。此外,必须为网站的应用程序提供正常运行的应用程序池。如果其中的任何组件未正常运行,网站将不可用。

解决方法

停止并重新启动 W3SVC

停止 W3SVC 服务还将停止任何依赖于它的其他服务。因此,你可能还需要启动这些其他服务。

若要停止并重新启动 W3SVC,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.10.0.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
无法初始化网站的日志记录模块
{0}
RunAsDefault