Aşağıdaki örneği çalıştıramadım. Basit hata belki ama daha önce .net ve asp ile çalışmam olmadı.Sanki framework ile de ilgili gibi. webconfig hata veriyor. Buna karşın <customErrors mode="Off"/> bu kodu yazdım hatayı görmek için ama netice alamadım. Sizlerin konuyla ilgili fikri var mı ? Küçük bir iş için asp kodlu anket lazım oldu :(
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".
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.
Aşağıdaki örneği çalıştıramadım. Basit hata belki ama daha önce .net ve asp ile çalışmam olmadı.Sanki framework ile de ilgili gibi. webconfig hata veriyor. Buna karşın
<customErrors mode="Off"/> bu kodu yazdım hatayı görmek için ama netice alamadım. Sizlerin konuyla ilgili fikri var mı ? Küçük bir iş için asp kodlu anket lazım oldu :(
KODLAR :http://www.csharpnedir.com/Mimages/anket.zip
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>
Teşekkürler
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye Ol Şimdi DeğilÜye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.
< Bu mesaj bu kişi tarafından değiştirildi arsenic7 -- 23 Ekim 2015; 23:13:45 >