För att kunna utföra aktiviteten framgångsrikt, måste Information Services (IIS) World Wide Web Publishing Service (W3SVC) vara fria från I/O-fel vid filåtkomst, tillgängligt minne och nätverksanslutningar. Dessutom måste eventuella kommandofiler som används och körs vara konfigurerade på ett korrekt sätt.
Kontrollera filåtkomst
Möjliga lösningar:
Om W3SVC inte kunde läsa en fil kontrollerar du att den fil som anges i felmeddelandet existerar och att W3SVC har behörigheterna till filen.
Om filen var för stor minskar du storleken.
Händelseloggens meddelande kan innehålla ett felnummer som kan ge ytterligare information om orsaken till felet. För att göra detta, se följande steg.
Sök efter ett specifikt felnummer:
Så här söker du efter ett specifikt felnummer:
I Loggboken, välj det meddelande du fått.
Klicka på fliken detaljer, sedan enkel visning.
Om ett specifikt felnummer är tillgängligt, kommer orden Binary data: att visas.
Notera numret efter kolon under ordavsnittet.
Ta reda på mer om ett specifikt felnummer
Så här får du mer information om ett specifikt felnummer:
Ladda ned Err.exe från sidan Microsoft Exchange Server Error Code Look-up page.
Klicka på Start, Alla program, Tillbehör, och sedan Kommandotolk.
I kommandofältet, gå till mappen där du kan ladda ner Err.exe. Som exempel, om du laddar ner Err.exe till C:\Err, skriv cd C:\Err.
Skriv err felnumret för att erhålla mer information om felet. Som exempel, om det specifika felnumret är 80070005, skriv err 80070005.
I exemplet i steg 4 visas felmeddelandet ERROR_ACCESS_DENIED, så nästa steg är att kontrollera om det finns ett behörighetsproblem.
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event Source | Microsoft-Windows-IIS-W3SVC-WP |
Alert Generate | False |
Remotable | True |
Event Log | Application |
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.The.server.was.unable.to.read.a.file" 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>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.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.The.server.was.unable.to.read.a.file.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>