Answered by:
CRM 4.0 Installation Error - Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed

Question
-
Hi -
While trying to install MS CRM 4.0 on the system, it throws an error in between stating the following error
16:33:51| Error| System.Exception: Action Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed. ---> System.DirectoryServices.DirectoryServicesCOMException (0x80072030): There is no such object on the server.
i didnot understand what object it is trying to refer here, when i check back in the SQL server, the Config database MSCRM_CONFIG exists on the server.
i tried searching for this error on the internet, but all it returns is the KB article describing errors related to installing a server with german version of SQL Server. i checked everything on SQL server & MS CRM server is english.
and i also confirmed the bits i am trying to install is of english version.
Though initially by mistake i have executed the MS CRM 4.0 German bits, but i uninstalled it.
and now it gives me this exception. adding an extract of the installation log.
33:47| Info| Executing IDiffBuilder.Pass2 ...
16:33:47| Info| Installing Stored Procedures ...
16:33:47| Info| Name = p_GetAllOrgsFromAuthInfo, Description = Get all the user's organizations based on authentication information, Target = All
16:33:47| Info| Name = p_GetAllOrgsFromCrmUserId, Description = Get all the user's organizations based on CRM UserId, Target = All
16:33:47| Info| Name = p_GetCrmUserId, Description = Get the crm user id based on the authentication information and organization id, Target = All
16:33:47| Info| Name = p_GetDefaultOrgFromAuthInfo, Description = Gets the default organization of the user based on the authentication information, Target = All
16:33:47| Info| Name = p_GetDisabledPrivileges, Description = Returns disabled privilege Ids for organization, Target = All
16:33:47| Info| Name = p_GetDisabledAccessRights, Description = Returns disabled AccessRights for organization, Target = All
16:33:47| Info| Name = p_DisableCreateUser, Description = Disables CreateUser feature for organization, Target = All
16:33:47| Info| Name = p_SetOrganizationCurrentStorageSize, Description = Set organization current db size. Disables CreateEntity feature if size exceeds max size for organization, Target = All
16:33:47| Info| Name = p_GetOrganizationFeaturePurchaseStatus, Description = Determines if an organization has purchased a feature, Target = All
16:33:47| Info| Name = p_GetPrivilegesInRole, Description = gets privileges in a role, Target = All
16:33:47| Info| Name = p_GetUsersInRole, Description = gets users in a role, Target = All
16:33:47| Info| Name = p_CheckPrivilege, Description = verifies if user has specified privilege, Target = All
16:33:47| Info| Name = p_CleanupSiteWideNotifications, Description = Cleanup site-wide notifications, Target = All
16:33:47| Info| Name = fn_GetTimePart, Description = Get Time and Minutes as float for comparison, Target = All
16:33:47| Info| Name = p_UpdateCurrentActiveKey, Description = Updates and returns the current active CrmKey, Target = All
16:33:47| Info| Executing Sql Scripts ...
16:33:47| Info| File = Scripts\Constants.sql, Message = Add required database constants to mimic enumerations, Target = All
16:33:47| Info| File = Scripts\SqlGovernor.sql, Message = Add required Sql Governor values, Target = All
16:33:47| Info| File = Scripts\SecurityRolesOnPremiseAndSPLA.sql, Message = Add pre-defined security roles, Target = OnPremise, SPLA
16:33:47| Info| File = Scripts\PrivilegesOnPremiseAndSPLA.sql, Message = Add pre-defined security privileges, Target = OnPremise, SPLA
16:33:47| Info| File = Upgrade\UpgradeEA2.sql, Message = Upgrade settings, Target = All
16:33:47| Info| File = Scripts\Features.sql, Message = Add features., Target = All
16:33:47| Info| Installing Sql Jobs ...
16:33:50| Info| Executing Install action: Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction
16:33:51| Error| System.Exception: Action Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed. ---> System.DirectoryServices.DirectoryServicesCOMException (0x80072030): There is no such object on the server.at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.Crm.Setup.Database.ActiveDirectoryHelper.GetAccountName(DirectoryEntry entry)
at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.GrantDBAccessHelper(String sqlServerName, String databaseName, String groupName, CrmDBConnectionType connectionType)
at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.GrantDBAccess(String sqlServerName, String databaseName, String groupName, CrmDBConnectionType connectionType)
at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.GrantConfigDBAccess(String sqlServerName, String databaseName, String groupName)
at Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel, Option1
16:57:12| Info| InputResult: Cancel
16:57:13| Error| Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed. ---> System.DirectoryServices.DirectoryServicesCOMException (0x80072030): There is no such object on the server.at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.Crm.Setup.Database.ActiveDirectoryHelper.GetAccountName(DirectoryEntry entry)
at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.GrantDBAccessHelper(String sqlServerName, String databaseName, String groupName, CrmDBConnectionType connectionType)
at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.GrantDBAccess(String sqlServerName, String databaseName, String groupName, CrmDBConnectionType connectionType)
at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.GrantConfigDBAccess(String sqlServerName, String databaseName, String groupName)
at Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Server.ConfigDBInstaller.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary stateSaver)
at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
at Microsoft.Crm.Setup.Server.ServerSetup.Run()
16:57:13| Info| Microsoft Dynamics CRM Server install Failed.
16:57:13| Info| Microsoft Dynamics CRM Server Setup did not complete successfully.Action Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed.
There is no such object on the server.Thursday, July 10, 2008 12:25 AM
Answers
-
Is the OS Win2003 SP2?
You will have to run intl.cpl and setu the options to "English (United States)
Monday, July 21, 2008 8:29 AMModerator
All replies
-
Is the OS Win2003 SP2?
You will have to run intl.cpl and setu the options to "English (United States)
Monday, July 21, 2008 8:29 AMModerator -
Hi,
Im hoping this is a fresh installation. I suggest u try these.
1. Delete the config database form SQL
2. Delete the program files directry of your CRM after uninstalling.
3. Then uninstall and reisntall IIS.
Then before u run the setup make sure your Windows Server is running SP2 and all updates have been installed. (Windows Update)
Install IIS and then run the CRM setup.
Let me know what happens
Sampath: MCT Ms CRM
Friday, September 26, 2008 10:36 AM -
I met a same problem, is it the problem of the permission from installation account?
Action Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed
Is that meaning the account for installation doesn't have the enough privilege to operate the SQL Server db ?
thanks in advance for your helpMonday, March 16, 2009 9:57 AM