Server Error in '/' Application.

用户 'b2buser' 登录失败。

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.Exception: 用户 'b2buser' 登录失败。

Source Error:


Line 42:         Img_type img_typeBll=new Img_type();
Line 43:         //GetRecordCount = Img_infoBll.GetRecordCount("");
Line 44:         List_ImgInfo = Img_infoBll.DataTableToList(Img_infoBll.GetListByPage(100, "isCheck=1 and T.typeId<>25 ", " updateTime desc", ((page - 1) * pageNum) + 1, page * pageNum).Tables[0]);
Line 45:         //List_ReImg = Img_infoBll.DataTableToList(Img_infoBll.GetList(12, "isCheck=1", " id desc").Tables[0]);
Line 46:         List_HotImg = Img_infoBll.DataTableToList(Img_infoBll.GetList(12, "isCheck=1 and typeId<>25 and datediff(day,updatetime,getdate())<90", " clicknum desc").Tables[0]);

Source File: d:\web\ooff.net\index.aspx.cs    Line: 44

Stack Trace:


[Exception: 用户 'b2buser' 登录失败。]
   DB_Img.Tool.DbHelper.Query(String SQLString) +377
   DB_Img.DAL.Img_info.GetListByPage(Int32 Top, String strWhere, String orderby, Int32 startIndex, Int32 endIndex) in E:\work\WEB\ooff.net\DB_Common\DB_Img_DAL\Img_info.cs:455
   DB_Img.BLL.Img_info.GetListByPage(Int32 Top, String strWhere, String orderby, Int32 startIndex, Int32 endIndex) in E:\work\WEB\ooff.net\DB_Common\DB_Img_BLL\Img_info.cs:183
   index.get_Img_s(Int32 page) in d:\web\ooff.net\index.aspx.cs:44
   index.Page_Load(Object sender, EventArgs e) in d:\web\ooff.net\index.aspx.cs:28
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1607


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.3928.0