Geçersiz uygulama dizin yolu

Microsoft.Windows.InternetInformationServices.10.0.WebSite.RootApplicationDefined.Monitor (UnitMonitor)

Knowledge Base article:

Özet

HTTP kullanan Internet Information Services (IIS) Web sitelerinin kullanılabilir olması için bazı önemli IIS bileşenleri gereklidir. Bu işlemlerin tümünün düzgün şekilde çalışması gerekir: Windows İşlem Etkinleştirme Hizmeti (WAS), World Wide Yayımlama Hizmeti (W3SVC) ve HTTP hizmeti. Bunun yanı sıra, Web sitesine ait uygulamalar için düzgün şekilde çalışan bir uygulama havuzu kullanılabilir olmalıdır. Bu bileşenlerden bir çalışmadığında Web sitesi kullanılamaz.

Çözümler

Site için uygulama yolunu ayarlama

Bir Web sitesinin geçerli bir uygulama yolu olmalıdır. Uygulama yolu hatalıysa, site başlatılmayacaktır. Web sitesi için geçerli bir uygulama yolu ayarlayın, ardından siteyi yeniden başlatın.

Web sitesi için geçerli bir uygulama yolu ayarlama

Web sitesi için geçerli bir uygulama yolu ayarlamak için:

<application path="/">

<virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />

</application>

Web sitesini yeniden başlatma

Web sitesini yeniden başlatmak için:

Bunu aşağıdaki bağlantıları kullanarak da yapabilirsiniz:

Web Sitesini Durdur

Web Sitesini Başlat

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
Geçersiz uygulama dizin yolu
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.RootApplicationDefined.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.10.0.WebSite.RootApplicationDefined.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5056|5161)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>