해당 활동을 수행하려면 IIS(인터넷 정보 서비스) W3SVC(World Wide Web Publishing 서비스)에 파일 액세스, 메모리 가용성 및 네트워크 연결을 포함한 I/O 오류가 없어야 합니다. 또한 사용된 모든 스크립트가 액세스 가능하고 실행 중이어야 하며, 모든 포함 파일이 올바르게 구성되어 있어야 합니다.
파일 액세스 확인
가능한 해결 방법은 다음과 같습니다.
W3SVC가 파일을 읽지 못한 경우 오류 메시지에 지정된 파일이 있고 W3SVC가 파일 사용 권한을 가지고 있는지 확인하십시오.
파일이 너무 큰 경우 크기를 줄이십시오.
이벤트 로그 메시지에는 문제에 대한 추가 정보를 제공할 수 있는 오류 번호가 포함될 수 있습니다. 이렇게 하려면 다음 단계를 참조하십시오.
특정 오류 번호 확인:
특정 오류 번호를 확인하려면:
이벤트 뷰어에서 받은 이벤트를 선택합니다.
세부 정보 탭, 간단히 보기를 차례로 클릭합니다.
특정 오류 번호가 있으면 이진 데이터: 단어가 표시됩니다.
단어 단위 아래에서 콜론 뒤의 번호를 확인합니다.
특정 오류 번호에 대해 자세히 알아보기
특정 오류 번호에 대해 자세히 알아보려면:
Microsoft Exchange Server Error Code Look-up(Microsoft Exchange Server 오류 코드 조회) 페이지에서 Err.exe 유틸리티를 다운로드합니다.
시작, 모든 프로그램, 보조프로그램, 명령 프롬프트를 차례로 클릭합니다.
명령 프롬프트에서 Err.exe를 다운로드한 디렉터리로 이동합니다. 예를 들어 Err.exe를 C:\Err에 다운로드한 경우 cd C:\Err을 입력합니다.
오류에 대한 자세한 정보를 얻을 오류 번호를 입력합니다. 예를 들어 특정 오류 번호가 80070005이면 err 80070005를 입력합니다.
4단계의 예에서 오류가 ERROR_ACCESS_DENIED로 확인되므로 다음 단계에서는 사용 권한 문제를 확인합니다.
Target | Microsoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription | Default |
<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>