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.
Bir ASP uygulamasını düzeltme
ASP uygulama hatası oluşursa, olası çözümleri şunlardır:
Uygulamayı üçüncü taraf bir satıcıdan satın aldıysanız, hata için satıcıya başvurun. Satıcı, uygulamanın özellikleri ve davranışı hakkında daha belirgin bilgilere sahiptir.
ASP Sorun Giderme İpuçları ve Teknikleri makalesini inceleyin.
Olay günlüğü iletisinde belirli bir hata numarasının yer alıp almadığını denetleyin. Bu hata numarası Olay Kimliğinden farklıdır. Bunu yapmak için aşağıdaki adımlara bakın.
Olay günlüğü iletisinde belirli bir hata numarasını denetleme
Olay günlüğü iletisinde belirli bir hata numarasını denetlemek için:
Olay Görüntüleyicisi'nde aldığınız olayı seçin.
Genel sekmesinde, olay iletisindeki bir hata numarasını arayın. Aşağıda hata numarası içeren bir olay günlüğü iletisi için bir örnek yer almaktadır:
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:
Microsoft Exchange Server Hata Kodu Arama sayfasından Err.exe yardımcı programını indirin.
Yükseltilmiş Komut İstemi penceresi açın. Başlat'a tıklayın, Tüm Programlar'ın üzerine gidin, Donatılar'a tıklayın, Komut İstemi'ne sağ tıklayın ve Yönetici olarak çalıştır öğesine tıklayın.)
Komut isteminde, Err.exe dosyasını indirdiğiniz dizine gidin. Örneğin, Err.exe dosyasını C:\Err konumuna indirdiyseniz cd C:\Err yazın.
Hata hakkında daha fazla bilgi edinmek için hata numarası yazın. Örneğin, hata numarası yukarıdaki örnekte gösterildiği gibi -2147024829 ise, err -2147024829 yazın.
Gösterilen örnekte, hata muhtemelen yanlış bilgisayar adının girildiğini, UNC yolundaki bilgisayarında kapalı olduğunu veya WINS sorunu olduğunu gösteren "Ağ adı bulunamıyor" olarak çözümleniyor.
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer |
Category | Alert |
Enabled | True |
Event Source | Active Server Pages |
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.ASP.application.error.occured" 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">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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.ASP.application.error.occured.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>