Merhaba, Windows sunucuyu taşıdıktan sonra bu hatayı neden verir?
http://prntscr.com/r45a37
Server Error in '/' Application.
Specified argument was out of the range of valid values.
Parameter name: value
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Stack Trace:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: value] System.Web.UI.WebControls.GridView.set_PageIndex(I nt32 value) +2407190 IslemArsivi.Liste.lnkSil_Click(Object sender, EventArgs e) +136 System.Web.UI.WebControls.LinkButton.OnClick(Event Args e) +101 System.Web.UI.WebControls.LinkButton.RaisePostBack Event(String eventArgument) +100 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981Version Information: Microsoft .NET Framework Version:2.0.50727.8810; ASP.NET Version:2.0.50727.8762
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values
10
●618
- 18-02-2020, 19:07:42Kimlik doğrulama veya yönetimden onay bekliyor.Sanki bu hatalar önceki sunucuda da varmış ama önceki sunucuda error mod kapalıymış gibi geldi bana.
Örneğin link button click eventı code behind'da tanımlı değil ama kullanılmış kod içerisinde. Bu sebeple o hata vermiş gibi hatalar var.
webconfig dosyasından hata mesajını kapatıp deneyebilir misiniz tekrar ?
system web altında
customErrors mode = Off
Kod olarak r10 engellediğinden şöyle bir link bırakayım.
https://stackoverflow.com/questions/...rrors-mode-off - 18-02-2020, 19:32:55Yüklü evet çalışıyor.Blacksheep adlı üyeden alıntı: mesajı görüntüle
4.5 şu an hocam. Kod çalışıyor silme işlemi yaptırtıyoruz siliyor ancak hata veriyor.BarisSa adlı üyeden alıntı: mesajı görüntüle
WebWon adlı üyeden alıntı: mesajı görüntüle
web.config dosyasında yer alıyor: silme işlemi yapıyor ama hata veriyor.
<customErrors mode="Off"/>
Denedik düzelmedi hocam hiç .net bilgim yok projenin dosyasıda yok elimizdeomerk2 adlı üyeden alıntı: mesajı görüntüle
