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 inträffar under konfigureringen av en programpool, kan programpoolen eventuellt inte vara tillgängliga för att betjäna webbplatserna och webbprogrammen som har tilldelats.
Stoppa och starta om programmeringspoolen
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.
För att stoppa och starta om programmeringspoolen
Klicka på Start, klicka på Kontrollpanel, och klicka sedan på Administratörsverktyg.
Högerklicka på Internet Information Services (IIS) Manager och välj Kör som administratör.
Utvidga servernoden i fönstret Anslutningar och klicka på Programpooler.
PåProgrampoolssidan, välj 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 ett upphöjt Kommandotolkens fönster. Klicka på Start, för markören till Alla program, klicka på Tillbehör, högerklicka på Kommandorutan, 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.
För att starta W3SVC:
Öppna ett upphöjt Kommandotolkens fönster. Klicka på Start, för markören till Alla program, klicka på Tillbehör, högerklicka på Kommandorutan, och klicka sedan på Kör som administratör.
Skriv net start w3svc.
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.WAS.did.not.apply.configuration.changes.to.application.pool" Enabled="onEssentialMonitoring" 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>System</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>5085</Value>
</ValueExpression>
</SimpleExpression>
</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.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.WAS.did.not.apply.configuration.changes.to.application.pool.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>