Ongeldig toepassingspad

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

Knowledge Base article:

Samenvatting

Internet Information Services-websites (IIS) die gebruikmaken van HTTP vertrouwen voor hun beschikbaarheid op meerdere belangrijke IIS-onderdelen. De Windows Process Activation-service (WAS), de World Wide Web Publishing-service (W3SVC) en de HTTP-service moeten allemaal juist worden uitgevoerd. Daarnaast moet een groep van juist uitgevoerde toepassingen beschikbaar zijn voor de toepassingen van de website. Als een van deze onderdelen niet werkt, is de website niet beschikbaar.

Oplossingen

Het pad naar de toepassing voor een site instellen

Een website moet een geldig pad naar de toepassing hebben. Als het pad naar de toepassing onjuist is, zal de site niet starten. Stel een geldig pad naar de toepassing in voor de website en start de site opnieuw.

Een geldig pad naar de toepassing instellen voor de website

U stelt als volgt een geldig pad naar de toepassing in voor de website:

        <application path="/">

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

        </application>

De website opnieuw starten

De website opnieuw starten:

U kunt dit ook doen met de onderstaande koppelingen:

Website stoppen

Website starten

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Ongeldig toepassingspad
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.RootApplicationDefined.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.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>