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

Source Error:


Line 42:         Img_info Img_infoBll = new Img_info();
Line 43:         Img_type img_typeBll=new Img_type();
Line 44:         GetRecordCount = Img_infoBll.GetRecordCount(" isCheck=1 and typeId=" + typeId + "");
Line 45:         List_ImgInfo = Img_infoBll.DataTableToList(Img_infoBll.GetListByPage("isCheck=1 and T.typeId=" + typeId + "", " updateTime desc", ((page - 1) * pageNum) + 1, page * pageNum).Tables[0]);
Line 46:         List_ReImg = Img_infoBll.DataTableToList(Img_infoBll.GetList(12, "isCheck=1 and typeId<>" + typeId + "", " updateTime desc").Tables[0]);

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

Stack Trace:


[SqlException (0x80131904): 用户 'b2buser' 登录失败。]
   DB_Img.Tool.DbHelper.GetSingle(String SQLString) +423
   DB_Img.DAL.Img_info.GetRecordCount(String strWhere) in E:\work\WEB\ooff.net\DB_Common\DB_Img_DAL\Img_info.cs:417
   DB_Img.BLL.Img_info.GetRecordCount(String strWhere) in E:\work\WEB\ooff.net\DB_Common\DB_Img_BLL\Img_info.cs:172
   list_s.get_Img_s(Int32 typeId, Int32 page, Int32& GetRecordCount) in d:\web\ooff.net\list_s.aspx.cs:44
   list_s.Page_Load(Object sender, EventArgs e) in d:\web\ooff.net\list_s.aspx.cs:29
   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