Un server Web Internet Information Services (IIS) può essere configurato per il registro Sito, Binario centralizzato o W3C centralizzato. Nel registro W3C centralizzato, tutte le richieste client per i siti sono registrate in un singolo file di registro in formato centralizzato W3C sul server. Anche il registro Binario centralizzato registra tutti i siti centralmente in un singolo file, ma lo fa in formato binario centralizzato. Nel registro Sito, tutte le richieste client vengono registrate a livello di sito, non centralmente a livello di server. La configurazione di questi tipi di registrazioni dipende dal servizio Pubblicazione sul Web.
Arrestare e riavviare W3SVC
Per arrestare e riavviare il servizio Pubblicazione sul Web:
Aprire una finestra del prompt dei comandi con privilegi elevati. Fare clic sul pulsante Start, selezionare Tutti i programmi, Accessori, fare clic con il pulsante destro del mouse su Prompt dei comandi, quindi scegliere Esegui come amministratore.
Nel prompt dei comandi, digitare net stop w3svc.
Nel prompt dei comandi, digitare net start w3svc.
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event Source | Microsoft-Windows-IIS-W3SVC |
Alert Generate | False |
Remotable | True |
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.WWW.service.failed.to.configure.the.centralized.W3C.logging.properties" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(1135|1134)$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<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.WWW.service.failed.to.configure.the.centralized.W3C.logging.properties.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>