ASP uygulaması hatası oluştu

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

Knowledge Base article:

Özet

ASP sayfası, kullanıcının tarayıcısına gönderilmeden önce Web sunucusu tarafından işlenen sunucu tarafı betiklerini içeren bir HTML sayfasıdır. Sunucu tarafı betikleri, tarayıcı Web sunucusundan bir .asp dosyası istediğinde çalıştırılır. ASP, istenen dosyayı yukarıdan aşağıya işleyen ve betik komutlarını yürüten Web sunucusu tarafından çağrılır. Ardından standart bir Web sayfasını biçimlendirir ve tarayıcıya gönderir.

Çözümler

Bir ASP uygulamasını düzeltme

ASP uygulama hatası oluşursa, olası çözümleri şunlardır:

Olay günlüğü iletisinde belirli bir hata numarasını denetleme

Olay günlüğü iletisinde belirli bir hata numarasını denetlemek için:

Uyarı: ASP: UNC Erişimi, \\WEBSITES\MYWEBSITE\DEFAULT.ASP dosyası için başarısız oldu; hata = -2147024829.

Belirli bir hata numarası hakkında daha fazla bilgi edinme

Belirli bir hata numarası hakkında daha fazla bilgi edinmek için:

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>