• 15-01-2016, 20:34:54
    #1
    iis 8.5 surumu kullanilmakta ve olusan hatalari tarayicida gorebilmek icin plesk 12 surumunde pek bisey bulamadim.Kullandigim web.config ise
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <httpErrors>
    <remove statusCode="500" subStatusCode="100" />
    <remove statusCode="404" subStatusCode="-1" />
    <error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="/404.asp" responseMode="ExecuteURL" />
    <error statusCode="500" subStatusCode="100" prefixLanguageFilePath="" path="/500.asp" responseMode="ExecuteURL" />
    </httpErrors>
    </system.webServer>
    </configuration>
    hata ayrintilarini gorebilmek icin buna ne eklenmesi gerekiyor ?
  • 15-01-2016, 23:09:06
    #2
    BxL adlı üyeden alıntı: mesajı görüntüle
    iis 8.5 surumu kullanilmakta ve olusan hatalari tarayicida gorebilmek icin plesk 12 surumunde pek bisey bulamadim.Kullandigim web.config ise
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <httpErrors>
    <remove statusCode="500" subStatusCode="100" />
    <remove statusCode="404" subStatusCode="-1" />
    <error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="/404.asp" responseMode="ExecuteURL" />
    <error statusCode="500" subStatusCode="100" prefixLanguageFilePath="" path="/500.asp" responseMode="ExecuteURL" />
    </httpErrors>
    </system.webServer>
    </configuration>
    hata ayrintilarini gorebilmek icin buna ne eklenmesi gerekiyor ?
    Hata verdigi anda zaten ekranda yaziyor. Web.config kismindan satiri asagidaki gibi yapıyorsun. Hata mesaji ekranda hangi satirda oldugunu gosteriyor. System.web tag i zaten vardir.

    <configuration>
    <system.web>
    <customErrors mode=”Off”/>
    </system.web>
    </configuration>
  • 15-01-2016, 23:37:10
    #3
    netustad adlı üyeden alıntı: mesajı görüntüle
    Hata verdigi anda zaten ekranda yaziyor. Web.config kismindan satiri asagidaki gibi yapıyorsun. Hata mesaji ekranda hangi satirda oldugunu gosteriyor. System.web tag i zaten vardir.

    <configuration>
    <system.web>
    <customErrors mode=”Off”/>
    </system.web>
    </configuration>
    bu kodu ekledim fakat sayfa bos geliyor.Normalde hata satir vs yazmasi gerekirken..hatayi duzelttigimde ise sayfa calisiyor.
  • 17-01-2016, 10:48:24
    #4
    Remove status code ile sayfanın 500 hatası vermesini engelliyorsun.

    IIS'te ilgili web sitesinin Asp ayarlarına gir. Hata ayıklama özelliklerinden "Hataları tarayıcıya gönder" gibi bir seçeneğin "true" olarak işaretlenmesi gerekiyor.

    TURKCELL T60 cihazımdan Tapatalk kullanılarak gönderildi