Server Error in '/' Application.

Login failed for user 'sa'. Reason: The account is disabled.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Login failed for user 'sa'. Reason: The account is disabled.

Source Error:


Line 375:            DataTable myDataTable = new DataTable();
Line 376:
Line 377:            MyOleDbConnection.Open();
Line 378:            try { MyOleDbDataAdapter.Fill(myDataTable); }
Line 379:            catch { }

Source File: d:\TTDTCMS\Website\code\App_Code\Helper.cs    Line: 377

Stack Trace:


[OleDbException (0x80004005): Login failed for user 'sa'. Reason: The account is disabled.]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +497
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +100
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +57
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +1142
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +312
   System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +23
   System.Data.OleDb.OleDbConnection.Open() +52
   SmartLib.Helper.GetDataTable(String query) in d:\TTDTCMS\Website\code\App_Code\Helper.cs:377
   ListOfNews1.Page_Load(Object sender, EventArgs e) in d:\TTDTCMS\Website\code\ListOfNews.aspx.cs:21
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0