While running SharePoint 2010 configuration wizard you may see the following error:
“The given key was not present in the dictionary”.
The sharepoint config database gets created, however the wizard fails at trying to create Central Admin site and CA content database. You need to :
1. delete the config database from the SQL server
2. in ADUC for all service accounts under security tab, add “Authenticated Users” with read permissions.
Thanks to Steve Peschka for the fix.
Another related issue you may encounter is not being able to register managed accounts using the GUI. The fix is, you guessed it, item # 2 above :).
If you’d rather bypass the GUI alltogether, you can easily add managed accounts using SharePoint 2010 powershell:
$ManagedAcct=’domainaccount_name’
$ManagedAcctPWD= ConvertTo-Securestring -asplaintext -force ‘account_password’
$cred = New-Object System.Management.Automation.PsCredential $ManagedAcct,$ManagedAcctPWD
New-SPManagedAccount -Credential $cred