Server nemohl přečíst soubor.

Microsoft.Windows.InternetInformationServices.10.0.The.server.was.unable.to.read.a.file (Rule)

Knowledge Base article:

Souhrn

Aby mohla Služba publikování na webu (W3SVC) v rámci Internetové informační služby (IIS) správně provádět své aktivity, nesmí obsahovat žádné chyby V/V, které zahrnují přístup k souborům, dostupnost paměti a síťová připojení. Jakékoli používané skripty musí být navíc přístupné a spuštěné a jakékoli zahrnuté soubory musí být správně nakonfigurované.

Řešení

Kontrola přístupu k souborům

Možná řešení:

Zjištění konkrétního čísla chyby:

Zjištění konkrétního čísla chyby:

Zjištění dalších informací o konkrétním čísle chyby

Zjištění dalších informací o konkrétním čísle chyby:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebServer
CategoryAlert
EnabledTrue
Event SourceMicrosoft-Windows-IIS-W3SVC-WP
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.The.server.was.unable.to.read.a.file" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.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>Application</LogName>
<Expression>
<And>
<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>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(2226|2230|2231|2232)$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<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.The.server.was.unable.to.read.a.file.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>