Tuesday, August 21, 2012

Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. MS CRM 2011

while installing ms crm 2011 i got the below error while it was installing , although it has passes the environment checks.
while opening the log file, i got the error part as below

16:10:20|   Info| Installing Sql Jobs ...
16:10:20|   Info| Name = .HardDelete, Description = Add hard delete job, Target = All
16:10:21|   Info| Name = .SiteWideCleanup, Description = Add site-wide cleanup job, Target = All
16:10:23|   Info| CrmAction execution time; InstallConfigDatabaseAction; 00:00:13.7592882
16:10:23|  Error| Installer Complete: ConfigDBInstaller - Error encountered
16:10:23|Warning| Error reported while configuring _Deployment. Attempting rollback
16:10:23|   Info| ConfigDBInstaller: Beginning uninstall operation
16:10:23|   Info| Executing Uninstall action: Microsoft.Crm.Setup.Server.UnregisterRoleAction
16:10:23|   Info| UnregisterRoleAction does not apply since _Deployment is not a explicit server role.
16:10:23|   Info| CrmAction execution time; UnregisterRoleAction; 00:00:00
16:10:23|   Info| ConfigDBInstaller:  Uninstall completed
16:10:23|  Error| Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException: The server is not operational.
Name: "xxxxxxx" (here xxxxxx is the domain name)
 ---> System.Runtime.InteropServices.COMException: The server is not operational.
   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 System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
   --- End of inner exception stack trace ---
   at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
   at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
   at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.Create(String name, Guid defaultOrganizationId)
   at Microsoft.Crm.Setup.Database.StandardConfigSqlStrategy.AddInitialUser()
   at Microsoft.Crm.Setup.Database.DatabaseInstallerBase.Install()
   at Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
   at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
   at Microsoft.Crm.Setup.Server.ServerRoleInstaller.Install(IDictionary stateSaver)
   at Microsoft.Crm.Setup.Common.ComposedInstaller.InvokeInstall(Installer installer, 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.Common.SetupBase.ExecuteOperation()
16:10:23|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.ExecuteOperation
16:10:23|   Info| ActivatePage(ServerSetupFinishPage)

it seems its related to AD.
but i could not find anything.
in AD i saw there are few security groups created already for other installations.
btw the above i was installing without creating the security groups, tot installer will create it as the account i was using has AD admin privilege.

then i tot of installing with minimum credential (install ms crm with minimum credentials ).
So i just created the groups and then started installing by creating the config xml file.
then it just installed smoothly.

over internet i got few errors related to this, but some are while accesing crm and some while installing rollup.

hope this can help some one some where sometime :p

Regards,
Sudhanshu

1 comment: