Article ID: 946286 - Last Review: January 27, 2011 - Revision: 2.1 Error message when you try to log on to Microsoft Dynamics CRM: "Cannot open database '[Organization]_MSCRM' requested by the login"
On This PageSYMPTOMSYou install Microsoft Dynamics CRM. When you try to log on to Microsoft Dynamics CRM, you receive the following error message: Cannot open database "Organization_MSCRM" requested by the login. The login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Server Error in '/' Application. Cannot open database "MSCRM_CONFIG" requested by the login. The login failed. Login failed for user 'Domain\CRMServer$'. 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 "MSCRM_CONFIG" requested by the login. The login failed. Login failed for user 'Domain\CRMServer$'. 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 "MSCRM_CONFIG" requested by the login. The login failed. Login failed for user 'Domain\CRMServer$'.] 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.Crm.CrmDbConnection.Open() +386 Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadMetadataXmlFromDatabase(CrmDBConnectionType connectionType, String connectionString, Int32& maxBlobSize) +125 Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadCacheFromDatabase(CrmDBConnectionType connectionType, String connectionString) +65 Microsoft.Crm.ConfigurationDatabase.ConfigurationMetadata.LoadCache() +41 Microsoft.Crm.ConfigurationDatabase.ConfigurationMetadata.get_Cache() +114 Microsoft.Crm.ConfigurationDatabase.ConfigurationDatabaseService.InitializeMetadataCache() +28 Microsoft.Crm.SharedDatabase.DatabaseService.Initialize(String tableName) +53 Microsoft.Crm.SharedDatabase.DatabaseService.Retrieve(String tableName, String[] columns, PropertyBag[] conditions) +109 Microsoft.Crm.ServerLocatorService.GetSiteSettingIdFromDatabase() +155 Microsoft.Crm.ServerLocatorService.GetSiteSettingId() +187 Microsoft.Crm.ServerLocatorService.GetSiteSetting(String settingName) +82 Microsoft.Crm.LocatorService.GetSiteSetting(String settingName) +35 Microsoft.Crm.CrmTrace.get_RefreshTrace() +654 Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 CAUSEThis problem occurs if one or more of the following conditions are true:
RESOLUTIONTo resolve this problem, use one or more of the following methods. Method 1Set up the NT AUTHORITY\NETWORK SERVICE account as a SQL Server user who has access to the Microsoft Dynamics CRM databases. To do this, follow these steps:
Method 2Add the Microsoft Dynamics CRM server to the SQLAccessGroup group in Active Directory. To do this, follow these steps:
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top