运行VS出现应用程序中的服务器错,“/Web”应用程序中的服务器错误。 用户 'sa' 登录失败。 说明: 执行当前 Web 请求期间,出现未处理的异常...

“/Web”应用程序中的服务器错误。 用户 'sa' 登录失败。 说明: 执行当前 Web 请求期间,出现未处理的异常0

dcebd7a0de6265b6ccae5ead692f1eab.pngesubs2013.09.07浏览447次分享举报

用连接好的VS打开网站 不知道哪里错了 帮帮忙啊

源错误:

行 33: Meeting.BLL.users bll=new Meeting.BLL.users();

行 34: string Pass=Security.EncryptPassword(password.Text,"MD5");

行 35: DataSet ds = bll.GetData("*", "lname='" + username.Text.Replace("'", "''") + "' and pwd='" + Pass + "'");

行 36: //DataSet ds = bll.GetData("*", "lname='xue' and pwd='" + Security.EncryptPassword("1","MD5") + "'");

行 37: if(ds.Tables[0].Rows.Count>0)

源文件: d:\Meeting\Web\login.aspx.cs 行: 35

堆栈跟踪:

[Exception: 用户 'sa' 登录失败。]

Meeting.DbUtility.AosySql.ExecuteforDataSet(String strSql) in F:\project\Meeting\DbUtility\AosySql.cs:161

Meeting.DAL.users.GetData(String Fields, String Wheres) in F:\project\Meeting\DAL\users.cs:126

Meeting.BLL.users.GetData(String Fields, String Wheres) in F:\project\Meeting\BLL\users.cs:84

Manage_login.Login_Click(Object sender, ImageClickEventArgs e) in d:\Meeting\Web\login.aspx.cs:35

System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +105

System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115

System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5087

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值