Jump to content

Asp.net Hata


Recommended Posts

Arkadaşlar asp.net de bir site hazırladım.Site local host da çalışıyor ama alana atınca bu hatayı veriyor..Hatanın anlamı ve/veya çözümü hakkında fikri olursa paylaşsın lütfen.

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>

Link to comment
Share on other sites

  • 2 hafta sonra ...

şu anda hatanın sebebi gösterilmiyor. <customErrors mode="On"/> u <customErrors mode="Off"/> yapıp aynı hatayı alırsan daha detayı hata mesajı alırsın.sebebi belki o zaman anlaşılır.

Link to comment
Share on other sites

localde calisiyor sunucuda calismiyorsa buyuk bir ihtimalle web.config dosyanda hata vardir. Genellikle authorization dan kaynakli hatalar olabiliyor. web.config dosyani buraya kopyalarsan ve by_derkan in dedigini yaparsan yardimci olabiliriz.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...