För att säkerställa webbplats och webbprogram isolering, måste Internet Information Services (IIS) programpooler vara konfigurerade med unika namn och korrekt konfigurerade identiteter. Om ett fel uppstår under konfigureringen av en programpool, är programpoolen eventuellt inte tillgänglig för att betjäna de webbplatser och webbprogram som den har tilldelats.
Stoppa och starta om programpoolen
Programpooler måste ibland startas om för att kunna återgå till normal drift. Eftersom programpolerna är beroende av Windows Process Activation Service (WAS), kan du behöva starta om WAS. Om du startar om WAS, kan du också eventuellt behöva starta om World Wide Web Publishing Service (W3SVC), vilken är beroende av WAS.
Stoppa och starta om programpoolen
Klicka på Start, klicka på Kontrollpanelen och klicka sedan på Administrationsverktyg.
Högerklicka på IIS-hanteraren (Internet Information Services) och välj Kör som administratör.
I panelen Anslutningar utvidgar du servernoden och klickar på Programpooler.
På sidan Programpooler väljer du den programpool du vill starta eller stoppa.
IVerkställningsfältet , gör en av följande:
Klicka påStopp för att stoppa programpoolen.
Klicka påStart för att starta programpoolen.
Du kan också starta programpoolen genom att klicka på länken nedan:
Återanvänd programpool
För att stoppa eller starta om WAS:
Öppna en upphöjd kommandotolk. Klicka på Start, för markören till Alla program, klicka på Tillbehör, högerklicka på Kommandotolk och klicka sedan på Kör som administratör.
Skriv net stop was /y i kommandotolken.
Skriv net start was i kommandotolken.
Starta andra tjänster som stoppades när WAS stängdes av, även W3SVC.
Så här startar du W3SVC:
Öppna en upphöjd kommandotolk. Klicka på Start, för markören till Alla program, klicka på Tillbehör, högerklicka på Kommandotolk och klicka sedan på Kör som administratör.
Skriv net start w3svc.
Target | Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider | Default |
Filter | ConditionDetection | Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.Job.object.associated.with.the.application.pool.encountered.an.error" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5088|5061|5060)$</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>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.Job.object.associated.with.the.application.pool.encountered.an.error.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>