Neler yeni

Yeni mesajlar Yeni konular En çok mesaj En çok tepki En çok görüntülenen

asp hatalarım

bayhannnn

🌱Yeni Üye🌱
Katılım
1 Mar 2009
Mesajlar
22
Tepkime puanı
0
slm arkadaşlar ben biraz acemiyimde ilk defa bir site yaptım sitede böyle bir hata verdi acaba nedir bu bilgi olupta beni aydınlatacak olan var mı


Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
 

Benzer konular

sevimsli

🌟Usta Tasarımcı🌟
Katılım
5 Ara 2008
Mesajlar
273
Tepkime puanı
8
Aspx sayfalarda özel hata sayfası oluşturmadıysan sunucu yada hostunda özel hata sayfasını göremiyor manasındaddır.

Eğer sunucu kullanıyorsan asp.net yazan kısma gelip ordan customErrors mode yazan yeri off yapman hatayı çözecektir. Eğer host kullanıyorsan bu seferde servis sağlayıcınla görüş ve özel hata sayfalarını kapatmalarını söyle yani custom errors ları kapatmak istediğini açıkla , onlar kapatacak ve siten çalışacaktır.
 
Üst