Server Error in '/' Application.

Cannot open database "WSS_Content_TaghvimEkran" requested by the login. The login failed.
Login failed for user 'FARHANGIHONARI\spsadmin'.

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_TaghvimEkran" requested by the login. The login failed.
Login failed for user 'FARHANGIHONARI\spsadmin'.

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_TaghvimEkran" requested by the login. The login failed.
Login failed for user 'FARHANGIHONARI\spsadmin'.]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +7838563
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +323
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +3399
   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +97
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover) +471
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +7867665
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +7867939
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +490
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +835
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +122
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +7869800
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +146
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1966
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +135
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +7875326
   System.Data.SqlClient.SqlConnection.Open() +315
   Microsoft.SharePoint.Utilities.SqlSession.OpenConnection() +36209615
   Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) +298
   Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock) +151
   Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command) +93
   Microsoft.SharePoint.Upgrade.SPDatabaseSequence.GetVersion(SPDatabase database, Guid id, Version defaultVersion, SqlSession session, SPDatabaseSequence sequence) +596
   Microsoft.SharePoint.Upgrade.SPDatabaseSequence.get_SchemaVersion() +455
   Microsoft.SharePoint.Upgrade.SPSequence.get_IsBackwardsCompatible() +144
   Microsoft.SharePoint.Upgrade.SPUpgradeSession.IsBackwardsCompatible(Object o, Boolean bRecurse) +32068907
   Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.get_IsBackwardsCompatible() +108
   Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBackwardsCompatibility() +226
   Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +93
   Microsoft.SharePoint.SPWeb.InitializeSPRequest() +319
   Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web) +396
   Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +578
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) +69
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +990
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +133
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +213


Version Information: Microsoft .NET Framework Version:2.0.50727.8806; ASP.NET Version:2.0.50727.5491