Server Error in '/' Application. hatasını nasıl düzeltebilirim siteyi yazdığımda bu ekranın görüntüsü çıkıyor sayfayı açmıyor

0

Server Error in '/' Application.

The parameterized query '(@uyeid nvarchar(4000))select isnull(brans,0) from uyeler_grupla' expects the parameter '@uyeid', which was not supplied.

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.Data.SqlClient.SqlException: The parameterized query '(@uyeid nvarchar(4000))select isnull(brans,0) from uyeler_grupla' expects the parameter '@uyeid', which was not supplied.

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: 
 

[SqlException (0x80131904): The parameterized query '(@uyeid nvarchar(4000))select isnull(brans,0) from uyeler_grupla' expects the parameter '@uyeid', which was not supplied.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(
RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1099
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +58
   System.Data.SqlClient.SqlDataReader.get_MetaData() +112
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6291924
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, 
Boolean returnStream, Boolean async) +6292993
   System.Data.SqlClient.SqlCommand.RunExecuteReader
(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
   System.Data.SqlClient.SqlCommand.ExecuteScalar() +194
   damga_2014.ws.Uyelik.GrupSec(String grupid) +1134
   damga_2014.Global.get_SeciliGrup() +487
   damga_2014.index.Page_Load(Object sender, EventArgs e) +1712
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain
(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
songuloz songuloz (3)
8 yıl önce sordu

    Toplam 2 Cevap


    0

    Biraz daha bilgi verseniz çok iyi olacaktı.

    Bu siteyi siz tasarladınız, kodladıysanız yazdığınız kodlar arasında bir SQL sorgusunda uyeid adında bir parametreye değer atamayı unutuyorsunuz ya da boş değer atıyorsunuz.

    Eğer ADO.Net ile uygulama geliştiriyorsanız SQLCommand nesnesininin CommandText özelliğine atadığınız SQL sorgusuna uyeid parametresi için değer göndermelisiniz

    komut.Parameters.AddWithValue("@uyeid", 13);

    gibi.

    Eğer hatayı aldığınız siteyi ziyaret eden bir kullanıcı iseniz o zaman;

    Sorun tarayıcı çerezlerinden, sonlanmış bir otorum verisinden kaynaklanıyor olabilir.

    1. Tarayıcınızı açın (Google Chrome, Firefox vb)
    2. CTRL + SHIFT + DELETE tuşlarına basın.
    3. Açılan pencerede tarama verilerini temizle altındaki tüm seçenekleri seçin.
    4. Aşağıdaki öğelerin tüm izlerini sil : En baştan olarak ayarlayın.
    5.  tarama verilerini temizle butonuna basın.
    6. tarayıcınızı kapatın ve açın.

    Sorun hâlâ düzelmediyse o zaman site sahibi ile bağlantıya geçin ve sorunu iletin.  Başka şekilde bu hatayı siz düzeltemezsiniz.

    alattin alattin (16984)
    8 yıl önce cevaplandı

    • siteyi ben tasarlamadım başka bilgisayardan siteye girdiğimde açılıyor sadece bu bilgisayarda açmıyor siteyi www.damgauzaktanegitim.com sitesi songuloz 8 yıl önce
    • Bu hatayı siteyi hazırlayan programcının gidermesi lazım. Sizin düzeltmeniz mümkün değil. Fakat olası bir çerez sorununa karşı bilgisayarlarınızdaki çerezleri silmenizi öneririm. Bunu nasıl yapacağınızı cevabıma ekliyorum. alattin 8 yıl önce

    0

    ne kodu ? herhangi birşey yapmadım video izlerken birden sayfa bu şekli aldı ve daha o siteye girmeye bu hatayı veriyor

    Server Error in '/' Application.

    The parameterized query '(@uyeid nvarchar(4000))select isnull(brans,0) from uyeler_grupla' expects the parameter '@uyeid', which was not supplied.

    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.Data.SqlClient.SqlException: The parameterized query '(@uyeid nvarchar(4000))select isnull(brans,0) from uyeler_grupla' expects the parameter '@uyeid', which was not supplied.

    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.

    sayfada bu çıkıyor 

     

    songuloz songuloz (3)
    8 yıl önce cevaplandı

      üyelik gerektirir

      Cevap yazabilmek için üye girişi yapmalısınız.

      Eğer uzmanim.net üyesiyseniz giriş yapabilirsiniz: üye girişi yap
      uzmanim.net'e üye olmak çok kolaydır: hemen kayıt ol