Home > database >  Server error in "/" application. User 'sa' login failed.
Server error in "/" application. User 'sa' login failed.

Time:09-18

[b] system environment Windows Server2008R2 sql2014 notepad + + compiler NET4.0.30319

Background can open, but can not login shows the error code??


The user 'sa' login failed,
Note: during the execution of the current Web request, abnormal untreated, please check the stack trace, to learn about the errors and mistakes in the code of the source of detailed information,

Exception details: System. The Data. SqlClient. SqlException: user 'sa' login failed,

The error source:

Generated during execution of the current Web request handled without exception, you can use the exception stack trace below information to determine the reason and the location of the abnormal information,

The stack trace:


[SqlException x80131904 (0) : user 'sa' login failed,]
Maticsoft. DBUtility. DbHelperSQL. GetSingle (String SQLString, SqlParameter [] cmdParms) + 345
Maticsoft. DBUtility. DbHelperSQL. The Exists (String strSql, SqlParameter [] cmdParms) + 87
GameAdmin. DAL. Sys_user. The Exists (String email, String password) + 326
GameAdmin. BLL. Sys_user. The Exists (String email, String password) + 67
GameAdminWeb. Login. IsLogin (+ 327)
GameAdminWeb. Login. BtnLogin_Click (Object sender, EventArgs e) + 35
System. Web. UI. WebControls. Button. The OnClick (EventArgs e) + 9628114
System. Web. UI. WebControls. Button. RaisePostBackEvent (String eventArgument) + 103
System. Web. UI. WebControls. Button. System. Web. UI. IPostBackEventHandler. RaisePostBackEvent (String eventArgument) + 10
System. Web. UI. Page. RaisePostBackEvent (IPostBackEventHandler sourceControl, String eventArgument) + 13
System. Web. UI. Page. RaisePostBackEvent (NameValueCollection postData) + 35
System. Web. UI. Page. ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 1724

Version information: Microsoft.net Framework version: 4.0.30319; The ASP.NET version: 4.0.30319.34209

CodePudding user response:

Password is not correct, the likelihood is the largest,


Check the password and IP address is right,

CodePudding user response:

reference 1st floor selling fruit net reply:
password is not correct, the most likely,


Check the password and IP address are right,
this problem has been solved,

CodePudding user response:

There is something wrong with the connection string,
https://blog.csdn.net/yenange/article/details/77026214

CodePudding user response:

reference gypsy song reply: 3/f
there is something wrong with the connection string,
https://blog.csdn.net/yenange/article/details/77026214
is not the problem, is to have not set the password to be encrypted

CodePudding user response:

reference 1st floor selling fruit net reply:
password is not correct, the most likely,


Check the password and IP address are right,
do you speak to, where is the password also solve a problem
  • Related