Good afternoon all,
Twice in the past two weeks I have run into a showstopping error when installing 4.0. One was a fresh install, the other was an upgrade from 3.0. Basically the setup program goes through the validation steps OK, and but when it starts the install and gets to the step where it's creating the database I get the following error:
Got error: System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=XXXXX Settings,CN=XXXXXXX,CN=Servers,CN=XXXXX,CN=Sites,CN=Configuration,DC=XXXX,DC=XXX".
at System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext context, String partitionName, String siteName, Boolean isDefaultNC, Boolean isADAM, Boolean isGC)
at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext context, String domainName, Boolean isDnsDomainName, String siteName)
at System.DirectoryServices.ActiveDirectory.Domain.get_DomainControllers()
The installation gives a retry option but it tries to recreate the MSCRM_CONFIG database and then halts the installation with a failure.
In the first install scenario, an admin inadvertantly deleted the domain controller named in the error instead of demoting it. In the second case, the DC was actually only powered on when needed to conduct testing. In both cases, the DC's involved were in no way connected to CRM.
What is the installer doing when looking for these domain controllers? What happens in the future when a DC is taken offline? Will this cause problems with the application or future upgrades? Is there any way around this error?
Thanks,
Rob