Server Error in '/' Application.

Login failed for user 'roofcode'.

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.SqlClient.SqlException: Login failed for user 'roofcode'.

Source Error:


Line 37:     public List<SliderTBx> GetList()
Line 38:     {
Line 39:         return db.SliderTBxes.ToList();
Line 40:     }
Line 41: 

Source File: c:\inetpub\vhosts\targetvn.com\tinhhoagroup.vn\App_Code\SlideManager.cs    Line: 39

Stack Trace:


[SqlException (0x80131904): Login failed for user 'roofcode'.]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +345
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +156
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +258
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +312
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +202
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +413
   System.Data.SqlClient.SqlConnection.Open() +128
   System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) +55
   System.Data.Linq.SqlClient.SqlProvider.get_IsSqlCe() +42
   System.Data.Linq.SqlClient.SqlProvider.InitializeProviderMode() +27
   System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +66
   System.Data.Linq.Table`1.GetEnumerator() +62
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +416
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +70
   SlideManager.GetList() in c:\inetpub\vhosts\targetvn.com\tinhhoagroup.vn\App_Code\SlideManager.cs:39
   _Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\targetvn.com\tinhhoagroup.vn\Default.aspx.cs:22
   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.3190.0