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

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

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

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

源错误:

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

堆栈跟踪:


[SqlException (0x80131904): 用户 'hds0310272' 登录失败。原因: 该帐户被禁用。]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +96
   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.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
,