“/”应用程序中的服务器错误。

用户 'sa' 登录失败。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 用户 'sa' 登录失败。

源错误:


行 22:             string r_p_id = Request.QueryString["p_id"].ToString();
行 23:             int p_id = int.Parse(r_p_id.Substring(r_p_id.LastIndexOf("-") + 1, r_p_id.Length - (r_p_id.LastIndexOf("-") + 1)));
行 24:             DataTable dt = access_sql.GreatDs("select * from Article where A_ID=" + p_id + "").Tables[0];
行 25:             if (dt != null)
行 26:             {

源文件: d:\wwwroot\10010.exmor.com\ig_zc_56\NY_Tou_img.aspx    行: 24

堆栈跟踪:


[SqlException (0x80131904): 用户 'sa' 登录失败。]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +6256873
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1099
   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +53
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +248
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +6271738
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +6271704
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +354
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +703
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +54
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +6272968
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +81
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1657
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +88
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6276407
   System.Data.SqlClient.SqlConnection.Open() +258
   access_sql.GreatDs(String sql) +125
   ASP.ig_zc_56_ny_tou_img_aspx.bind() in d:\wwwroot\10010.exmor.com\ig_zc_56\NY_Tou_img.aspx:24
   ASP.ig_zc_56_ny_tou_img_aspx.Page_Load(Object sender, EventArgs e) in d:\wwwroot\10010.exmor.com\ig_zc_56\NY_Tou_img.aspx:10
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.5472; ASP.NET 版本:2.0.50727.5474
用户 'sa' 登录失败。

“/”应用程序中的服务器错误。

用户 'sa' 登录失败。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 用户 'sa' 登录失败。

源错误:


行 27: 		    string r_p_id = Request.QueryString["p_id"].ToString();
行 28:             int p_id = int.Parse(r_p_id.Substring(r_p_id.LastIndexOf("-") + 1, r_p_id.Length - (r_p_id.LastIndexOf("-") + 1)));
行 29:             DataTable dt = access_sql.GreatDs("select * from Article where A_ID=" + p_id + "").Tables[0];
行 30:             if (dt != null)
行 31:             {

源文件: d:\wwwroot\10010.exmor.com\ig_zc\NY_Content_img.aspx    行: 29

堆栈跟踪:


[SqlException (0x80131904): 用户 'sa' 登录失败。]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +578
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +88
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6276407
   System.Data.SqlClient.SqlConnection.Open() +258
   access_sql.GreatDs(String sql) +125
   ASP.ig_zc_ny_content_img_aspx.bind() in d:\wwwroot\10010.exmor.com\ig_zc\NY_Content_img.aspx:29
   ASP.ig_zc_ny_content_img_aspx.Page_Load(Object sender, EventArgs e) in d:\wwwroot\10010.exmor.com\ig_zc\NY_Content_img.aspx:10
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.5472; ASP.NET 版本:2.0.50727.5474
Leiste
Sokuflex Behälter GmbH • Gewerbegebiet Neuer Kamp 18 • 25548 Kellinghusen
Telefon: +49 48 22 / 50 18 • Telefax: +49 48 22 / 702 09 • E-Mail: info@sokuflex.de