localde çalısan projenin serverda çalısmaması

Web tabanlı uygulama geliştirme araçları(PHP, ASP vb...) ile ilgili konuları buraya yazabilirsiniz.
Cevapla
filiz
Üye
Mesajlar: 82
Kayıt: 24 Ara 2003 08:11
Konum: İzmir

localde çalısan projenin serverda çalısmaması

Mesaj gönderen filiz »

merhabalar

localde çalısan asp.net projesi servere koyunca aşagıdaki hatayı veriyor.
serverdada net2.0 kurulu


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>


bende web.confige
<customErrors mode="On" defaultRedirect="error.htm"/>

satırını ekledim ama aynı hata yine geldi..sebebi nedir



tşkler
deltas
Üye
Mesajlar: 358
Kayıt: 06 Mar 2004 01:08
Konum: Malatya...
İletişim:

Mesaj gönderen deltas »

delphi.net mi? eğer delphi net kullanıyorsanız bin klasörünüde root dizinine kopyalamanız lazım. yani klasör halinde değil. klasörün içindekileri direk root'a atın.
Eğer yine düzelmezsse error modunu on yapın. hatanın nedenni tam olarak buraya yazarsanız yardımcı olabiliriz.
Nice İnsanlar gördüm üstünde elbise yok;
Nice elbiseler gördüm içinde insan yok.
Ancestor
Üye
Mesajlar: 188
Kayıt: 27 Ara 2004 06:12
Konum: Manisa - Kırkağaç

Mesaj gönderen Ancestor »

<customErrors mode="On" defaultRedirect="error.htm"/> satırında yer alan error.htm dosyası sunucu da mevcut mu?
Onu bulamadığı için hata alıyor olabilirsiniz.
filiz
Üye
Mesajlar: 82
Kayıt: 24 Ara 2003 08:11
Konum: İzmir

Mesaj gönderen filiz »

merhabalar

proje asp.net projesi..evet error.htm dosyası mevcut...
ancak sorun IIS den sanal bir dizin oluşturmamaktan kaynaklanıyormus..
olusturunca sorun çözüldü
Cevapla