“/”应用程序中的服务器错误。

竞博官网-竞博JBO娱乐-竞博JBO

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IndexOutOfRangeException: 竞博官网-竞博JBO娱乐-竞博JBO

源错误:


行 87:                 //获得用户ID
行 88:                 DataTable dtm = DbHelper.WebGetDataTable("select uid from memberlogininfo where username='" + safe_str.Encode(Request.QueryString["username"].ToString()) + "'");
行 89:                 int uid = Convert.ToInt32(dtm.Rows[0][0]);
行 90:                 DataTable mytable = DbHelper.WebGetDataTable("select comusertype from combaseinfo where uid=" + uid);
行 91: 			    if(mytable.Rows[0][0].ToString()=="1")

源文件: e:\wwwroot\zgbfw\web\shop\NewFreeShop.aspx.cs    行: 89

堆栈跟踪:


[IndexOutOfRangeException: 竞博官网-竞博JBO娱乐-竞博JBO]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2556141
   System.Data.RBTree`1.get_Item(Int32 index) +16
   System.Data.DataRowCollection.get_Item(Int32 index) +16
   shop_NewFreeShop.IsVIP() in e:\wwwroot\zgbfw\web\shop\NewFreeShop.aspx.cs:89
   shop_NewFreeShop.Page_Load(Object sender, EventArgs e) in e:\wwwroot\zgbfw\web\shop\NewFreeShop.aspx.cs:28
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.8806; ASP.NET 版本:2.0.50727.8762