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

在位置 0 处没有任何行。

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

异常详细信息: System.IndexOutOfRangeException: 在位置 0 处没有任何行。

源错误:


行 310:        //Response.Write("select Accounts from member where HomePage='http://" + url + "'");
行 311:        //Response.End();
行 312:        shopAccounts = SqlHelper.FillTableBySql(WebConfig.GetConnectionString(), "select Accounts from member where Msn='" + url + "'").Rows[0]["Accounts"].ToString();
行 313:
行 314:        if (shopAccounts == null)

源文件: d:\virtualhost\localuser\host3845559\www\ShopInside.master.cs    行: 312

堆栈跟踪:


[IndexOutOfRangeException: 在位置 0 处没有任何行。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1556314
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   ShopInsidePage.ShopPage_Load(Object sender, EventArgs e) in d:\virtualhost\localuser\host3845559\www\ShopInside.master.cs:312
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.36480