Internet Information Services (IIS) Windows 處理序啟用服務 (WAS) 組態管理員負責管理應用程式集區的組態和其維護的通訊協定介面卡。若 WAS 在讀取組態或回應變更通知時發生問題,便可能無法處理其所管理之實體的組態變更。
使用 IIS 管理員來修正設定內容
若要解決此問題,請使用 IIS 管理員將事件記錄訊息中指定的內容的設定設定變更為正確的值。您可以在線上取得 IIS 8 設定的有效值: IIS 8:IIS 設定結構描述。
使用 IIS 管理員來編輯設定:
依序按一下 [開始]、[控制台] 和 [系統管理工具]。
對 [Internet Information Services (IIS) 管理員] 按滑鼠右鍵,然後選取 [以系統管理員身分執行]。
在 IIS 管理員中,導覽至事件記錄訊息中指定的內容的組態頁面。注意:您導覽前往的頁面將會相依於事件記錄訊息;請參閱以下範例。
針對事件記錄訊息中指定的設定內容提供有效的值。
設定範例
你收到以下事件訊息:
「站台 1」的 'truncateSize' 內容值無效。設定值 '400' 無效。值將預設為 '20971520'。
若要解決此問題,請按照下列步驟進行:
依序按一下 [開始]、[控制台] 和 [系統管理工具]。
對 [Internet Information Services (IIS) 管理員] 按滑鼠右鍵,然後選取 [以系統管理員身分執行]。
在 [連線] 窗格中選取電腦名稱。
因為存在 truncateSize 內容,表示這是記錄問題。在 [功能檢視] 中,按兩下 [記錄]。
在 [記錄檔變換] 底下,確定已選取 [檔案大小上限 (位元組)]。
如有需要,請參閱 IIS 設定結構描述文章 IIS 8:在 IIS 8 中設定記錄,以取得可能的值。
在 [檔案大小上限 (位元組)] 底下,輸入 1048576 (1 MB) 到 4294967295 (4 GB) 的值。
在 [動作] 窗格中,按一下 [套用]。
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 5067 |
Event Source | Microsoft-Windows-WAS |
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.property.failed.range.validation" 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-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5067</Value>
</ValueExpression>
</SimpleExpression>
</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.property.failed.range.validation.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>