発生した ASP アプリケーション エラー

Microsoft.Windows.InternetInformationServices.6.2.ASP.application.error.occured (Rule)

Knowledge Base article:

概要

ASP ページは HTML ページであり、このページには、ユーザーのブラウザーに送信される前に Web サーバーによって処理されるサーバー側のスクリプトが含まれています。サーバー側のスクリプトは、ブラウザーが Web サーバーからの .asp ファイルを要求したときに実行されます。ASP はWeb サーバーによって呼び出されます。Web サーバーは要求されたファイルを上から下に処理し、スクリプト コマンドをすべて実行します。次に、ASP は標準 Web ページをフォーマットし、それをブラウザーに送信します。

解決方法

ASP アプリケーションを修正する

ASP アプリケーション エラーが発生した場合、考えられる解決方法は以下のとおりです:

イベント ログ メッセージ内の特定のエラー番号をチェックする

イベント ログ メッセージ内の特定のエラー番号をチェックするには:

警告:ASP:UNC アクセスはファイル - \\WEBSITES\MYWEBSITE\DEFAULT.ASP に対して失敗し、次のエラーを返しました: -2147024829

特定のエラー番号の詳細を確認する

特定のエラー番号の詳細を確認するには:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event SourceActive Server Pages
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.ASP.application.error.occured" 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">Active Server Pages</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(500|499|23|22|21|20|19|18|17|16|9|8|7|6|5)$</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.ASP.application.error.occured.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>