Server Error in '/' Application.

Cannot open database "WSS_Content_TAND_1515" requested by the login. The login failed.
Login failed for user 'VINHPHUC\p2services'.

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: Cannot open database "WSS_Content_TAND_1515" requested by the login. The login failed.
Login failed for user 'VINHPHUC\p2services'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Cannot open database "WSS_Content_TAND_1515" requested by the login. The login failed.
Login failed for user 'VINHPHUC\p2services'.]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +353
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +118
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +268
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +315
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +128
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +265
   System.Data.SqlClient.SqlConnection.Open() +133
   Microsoft.SharePoint.Utilities.SqlSession.OpenConnection() +2218
   Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) +748
   Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock) +112
   Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command) +53
   Microsoft.SharePoint.Upgrade.SPDatabaseSequence.GetVersion(SPDatabase database, Guid id, Version defaultVersion, SqlSession session, SPDatabaseSequence sequence) +446
   Microsoft.SharePoint.Upgrade.SPDatabaseSequence.get_SchemaVersion() +320
   Microsoft.SharePoint.Upgrade.SPSequence.get_IsBackwardsCompatible() +159
   Microsoft.SharePoint.Upgrade.SPUpgradeSession.IsBackwardsCompatible(Object o, Boolean bRecurse) +2387
   Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.get_IsBackwardsCompatible() +104
   Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBackwardsCompatibility() +1434
   Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +79
   Microsoft.SharePoint.SPWeb.InitializeSPRequest() +291
   Microsoft.SharePoint.SPWeb.EnsureSPRequest() +299
   Microsoft.SharePoint.SPWeb.get_Request() +27
   Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web) +240
   Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +862
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) +22
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +1149
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +209
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94


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