PDA

Tam Sürümünü Görmek İçin : asp.net update sorunu


SmaRT_AleCK
08/03/2006, 09:40
projemi visual sutdio 2005 de test ettim çalıştı update işleminde de hiç bir sorun olmamıştı

fakat projeyi iss e kopyaladığım zaman sadece update hata verdi

select ve insert komutlarında hiçbir problem olmadı

hatayı aşağıya yazıyorum umarom konuda da bana yardımcı olursunuz

teşekkürler



Server Error in '/uyelik' 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>


mkarabulut
08/03/2006, 17:07
Hata mesajı diyor ki : Hata mesaj sayfası göstermek istiyorsan ya local'den bağlan ya da custom error page tanımla :) Yani bu mesajdan bi şey almak imkansız.

Bu ASP.NET ile gelen yeni bir özellik, remote bağlantı yapanlara hataları afişe etmiyor sadece local'den bağlananlara hataları gösteriyor.

SmaRT_AleCK
08/03/2006, 17:12
peki custom error page nasıl tanımlayabilirim bu konuda bilginiz varsa yardımcı olursanız sevinirim

işyerinde bu projeyi bitirmem lazım ve sadece update işleminde hata ile karşılaşıyorum

update işlemi bittikten sonra projem biticek

yardımlarınızı bekliyorum

Volkan Uzun
08/03/2006, 18:38
iis bulundugu makineden sayfani yuklersen tam hatayo gorursun
genelde sql server guvenlik ayarlarinda problem oluyor mesela update hakki vermemis oluyorsun falan

atg
08/03/2006, 21:27
projemi visual sutdio 2005 de test ettim çalıştı update işleminde de hiç bir sorun olmamıştı

fakat projeyi iss e kopyaladığım zaman sadece update hata verdi

select ve insert komutlarında hiçbir problem olmadı

sunucudaki web.config dosyasının içine aşağıdaki şeyi yazacaksın diyor, o zaman hatanın ne olduğunu görebilirsin diyor.


<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Custom Error page dediğin şeye gelince, web sitende bir hata oluştuğu zaman kullanıcıya detaylı asp.net hatası yerine senin belirleyeceğin bi sayfayı gösterir, bu sonraki mesele sen önce dediğimi yap.

airsakarya
11/02/2008, 14:52
veritabanı access ise yazma izni verirsen düzelir sanırım.