Şimdi Ara

Aspx yeni başladım lüffen yardım !!

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
1 Misafir - 1 Masaüstü
5 sn
8
Cevap
0
Favori
941
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Arkdaşlar aspxe yeni başladım . Microsoft Visual Studio 2005 ile yapıyorm sitemi visual basic ile . Sonra site normal localhostta çalışıyorken ftpye attığımda böyle bir hata veriyor.

    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>


    Hostumun aspx.net desteği war lüften yardım !







  • web config dosyasından

    <customErrors mode="On"/>
    yap ondan sonra tekrar çalıştır sana nerde hata olduğunu gösterir

    bu hatalar genellikle weri tabanı yollarında,veya klasör adlarında türkçe karakter kullanımından kaynaklanır
  • arkadaşım yardım ettiğin için sağol ama olmadı :S
  • Açıklayıcı bilgi verirsen bakarız, veritabanı varmı, bağlantı nedir, tam olarak hangi işlemde hata oluyor vs...
  • aynı sorun bende de var
    host tüm asp bileşenlerini destekliyorken böyle bir sorun çıkıyor

    isterseniz bi bakın siteye

    www.hidrokimya.com/default.aspx
  • quote:

    Orjinalden alıntı: poqovic

    aynı sorun bende de var
    host tüm asp bileşenlerini destekliyorken böyle bir sorun çıkıyor

    isterseniz bi bakın siteye

    www.hidrokimya.com/default.aspx



    Tamam hata var ama hata ne onu bilmek lazım, bu çıkan uyarıda diyorki, varsayılan hata sayfaları kapalı, web configden ayarlarını yapınız diyor, eğer default aspx'i debug olarak çalıştırısanız, hata ortya çıkar, yada tüm işlemleri try cacth blğouna alıp cacth bloğunda respose.write(ex.message) derseniz hata ortaya çıkar.


    try
    {
    işlemleriniz
    }
    catch (Exeption ex)
    {
    Response.Write(ex.Message);
    }




  • deneyeceğim buraya yazarım
  • ASPX'e yeni başladıysanız tavsiyem MVC mimarisini benimsemeniz ve ORM araçları (NHybernate, Linq vs.) üzerine yoğunlaşmanız olacaktır.
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.