The Given Key Was Not Present in the Dictionary – SharePoint 2010 Error

Ok, I’ve run into this enough times now that I figure folks may not stumble across the Technet article that has already discussed this (http://social.technet.microsoft.com/Forums/en/sharepoint2010setup/thread/5279f8da-2924-461f-8c35-5b81a2329927). I’ve seen this in three scenarios so far:

 

Number One: When running the SharePoint Configuration Wizard, if the account you have defined for your SQL Server connection is different than the account you are installing (and it should be, but it doesn’t fail with the install account as it has local server admin rights), you may get the following:

 

Figure 1 : During the SharePoint Configuration Wizard, this may occur if the account you specified for the SQL Connection is the issue

 

Number Two: When trying to run the configuration wizard after a fresh SharePoint install (I know, we don’t want to run the wizard in production, but in testing, etc. this will come up), you may see it as well:

 

Figure 2 : When running this configuration wizard after SharePoint is installed, in Central Administration (why?)

 

Figure 3 : You may find yourself with it occurring here too

 

Figure 4 : As you can see from the correlation ID, it is attempting to lookup that account

 

Number Three: When attempting to register a new Managed Account, you may come across it as well:

 

Ok, so what is the fix?

It’s pretty simple actually. The account you are attempting to work with, cannot be queried by the system. Although I’m sure there is a more granular permission we can set that giving read to all authenticated users on the object, this one seems to do the trick every time:

 

  1. Open Active Directory Users and Computers
  2. Select “Advanced Features” from the View Menu
  3. Open the properties of the desired account
  4. Select the “Security” tab
  5. Find Authenticated Users and give them READ permission on the user object
  6. Click OK to close out and try again. You may want to consider doing this for any managed accounts you define in Central Administration

 

Figure 5 : Set read permissions for Authenticated Users on the account object and Voila!

 

Again, a growing discussion on the topic is here: http://social.technet.microsoft.com/Forums/en/sharepoint2010setup/thread/5279f8da-2924-461f-8c35-5b81a2329927

 

One response to “The Given Key Was Not Present in the Dictionary – SharePoint 2010 Error

Comments are closed.