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

用户 'hds0310272' 登录失败。原因: 该帐户被禁用。

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

异常详细信息: System.Data.SqlClient.SqlException: 用户 'hds0310272' 登录失败。原因: 该帐户被禁用。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SqlException (0x80131904): 用户 'hds0310272' 登录失败。原因: 该帐户被禁用。]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4890747
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2412
   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover) +247
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +1349
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +225
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +431
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   SkyCES.EntLib.MssqlHelper.PrepareCommand(SqlConnection conn, SqlCommand cmd, String storedProcName, SqlParameter[] pt) in d:\for\优亦教育\Code\SkyCES.EntLib\SkyCES\EntLib\MssqlHelper.cs:90
   SkyCES.EntLib.MssqlHelper.ExecuteReader(String storedProcName, SqlParameter[] pt) in d:\for\优亦教育\Code\SkyCES.EntLib\SkyCES\EntLib\MssqlHelper.cs:62
   SkyCES.EntLib.MssqlHelper.ExecuteReader(String storedProcName) in d:\for\优亦教育\Code\SkyCES.EntLib\SkyCES\EntLib\MssqlHelper.cs:54
   SocoShop.MssqlDAL.ShopMssqlHelper.ExecuteReader(String storedProcName) in d:\for\优亦教育\Code\MssqlDAL\Data\ShopMssqlHelper.cs:66
   SocoShop.MssqlDAL.UserGradeDAL.ReadUserGradeAllList() in d:\for\优亦教育\Code\MssqlDAL\UserGradeDAL.cs:105
   SocoShop.Business.UserGradeBLL.ReadUserGradeCacheList() in d:\for\优亦教育\Code\Business\UserGradeBLL.cs:106
   SocoShop.Business.UserGradeBLL.ReadUserGradeByMoney(Decimal money) in d:\for\优亦教育\Code\Business\UserGradeBLL.cs:86
   SocoShop.Page.BasePage.ReadUserCookies() +1195
   SocoShop.Page.BasePage.PageInit(HttpContext context) +211
   SocoShop.Page.BasePage.ProcessRequest(HttpContext context) +65
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


版本信息: Microsoft .NET Framework 版本:2.0.50727.8669; ASP.NET 版本:2.0.50727.5491
,