Monday 14 January 2008

Cannot open database requested in login '' Error in Moss 2007

The error message below is displayed when trying to view a page in MOSS 2007 that is checked out by another user.

Server Error in '/' Application.
--------------------------------------------------------------------------------

Cannot open database requested in login 'MOSS2007_SSP1_DB_DEV'. Login fails.
Login failed for user 'EC\WMSPSGBWA001003$'.
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 requested in login 'MOSS2007_SSP1_DB_DEV'. Login fails.
Login failed for user 'EC\WMSPSGBWA001003$'.

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 requested in login 'MOSS2007_SSP1_DB_DEV'. Login fails.
Login failed for user 'EC\WMSPSGBWA001003$'.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
Microsoft.Office.Server.Data.SqlSession.OpenConnection() +621
Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command) +214
Microsoft.Office.Server.Administration.SharedObjectStore.Initialize() +269
Microsoft.Office.Server.Administration.SharedObjectStore.GetObject() +384
Microsoft.Office.Server.Administration.SharedResourceProvider.Microsoft.Office.Server.Administration.ISharedObjectStore.GetObject() +122
Microsoft.Office.Server.Administration.SharedApplicationCollection`1.GetValue(SharedResourceProvider sharedResourceProvider) +118
Microsoft.Office.Server.Administration.SharedApplicationCollection`1.get_Item(SharedResourceProvider sharedResourceProvider) +30
Microsoft.Office.Server.ServerContext.GetApplication(String name) +174
Microsoft.Office.Server.ServerContext.GetApplication() +87
Microsoft.Office.Server.ServerContext.get_UserProfileApplication() +42
Microsoft.Office.Server.UserProfiles.UserProfileManager.get_m_Site() +49
Microsoft.Office.Server.UserProfiles.UserProfileManager.get_IsSiteAdmin() +62
Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(ServerContext serverContext, Boolean IgnoreUserPrivacy, Boolean backwardCompatible) +348
Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(ServerContext serverContext) +55
Microsoft.SharePoint.Publishing.WebControls.ConsoleUtilities.GetPageCheckedOutMessage(String userLoginName, String userName, String userEmail) +923
Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.OnPreRender(EventArgs e) +1025
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

No comments: