异常详细信息: System.Data.SqlClient.SqlException: 用户 'sa' 登录失败 5
源错误:行82:{行83:SqlConnectioncon=newSqlConnection(GetConStr());行84:con.Open();行85:SqlDat...
源错误:
行 82: {
行 83: SqlConnection con = new SqlConnection(GetConStr());
行 84: con.Open();
行 85: SqlDataAdapter ada = new SqlDataAdapter(SqlStr, con);
行 86: DataSet ds = new DataSet();
源文件: e:\GameSF\App_Code\GM.cs 行: 84
堆栈跟踪:
[SqlException (0x80131904): 用户 'sa' 登录失败。]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
GM.EXECDataList(DataList dl, String SqlStr, String DNK) in e:\GameSF\App_Code\GM.cs:84
_Default.Page_Load(Object sender, EventArgs e) in e:\GameSF\Default.aspx.cs:17
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 展开
行 82: {
行 83: SqlConnection con = new SqlConnection(GetConStr());
行 84: con.Open();
行 85: SqlDataAdapter ada = new SqlDataAdapter(SqlStr, con);
行 86: DataSet ds = new DataSet();
源文件: e:\GameSF\App_Code\GM.cs 行: 84
堆栈跟踪:
[SqlException (0x80131904): 用户 'sa' 登录失败。]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
GM.EXECDataList(DataList dl, String SqlStr, String DNK) in e:\GameSF\App_Code\GM.cs:84
_Default.Page_Load(Object sender, EventArgs e) in e:\GameSF\Default.aspx.cs:17
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询