Websites en webtoepassingen zijn afhankelijk van de aanwezigheid van groepen toepassingen van Internet Information Services (IIS). De groepen toepassingen van Internet Information Services (IIS) zijn op hun beurt weer afhankelijk van de WAS (Windows Process Activation Service). Als de WAS niet wordt uitgevoerd of er treden tijdens het opstarten of afsluiten van een groep toepassingen fouten op, dan zijn websites en webtoepassingen mogelijk niet beschikbaar.
Voor het oplossen van deze kwestie moet u de problemen verhelpen in de sectie globalModules van het ApplicationHost.Config-bestand.
U configureert de sectie globalModules in ApplicationHost.config als volgt:
Open een opdrachtpromptvenster met verhoogde bevoegdheden. Klik op Start, wijs Alle programma's aan, klik op Bureau-accessoires, klik met de rechtermuisknop op Opdrachtprompt en klik op Als administrator uitvoeren.
Typ cd %Windir%\system32\inetsrv\.
Typ appcmd add backup backupName om een back-up te maken van het bestand ApplicationHost.config. Een map met de back-upnaam die u hebt opgegeven wordt gemaakt onder de map %Windir%\system32\inetsrv\backup. Als u geen naam opgeeft, genereert appcmd automatisch een mapnaam met de huidige datum en tijd.
Typ cd %Windir%\system32\inetsrv\config
Typ notepad ApplicationHost.config
Zoek in kladblok naar de sectie globalModules onder de sectie system.webServer.
Gebruik het artikel IIS 8: globalModules-element (IIS-instellingenschema) als richtlijn om de configuratiefout in het ApplicationHost.config-bestand in de sectie globalModules te corrigeren.
Sla het ApplicationHost.config-bestand op en sluit dit.
Target | Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider | Default |
Filter | ConditionDetection | Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.Worker.process.for.application.pool.encountered.an.error.while.trying.to.read.global.module.configuration" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider">
<LogName>Application</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2297</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.Worker.process.for.application.pool.encountered.an.error.while.trying.to.read.global.module.configuration.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>