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

Written by Sean Wallbridge on. Posted in SharePoint, SharePoint 2010, SharePoint Designer, Windows Server 2008

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:

 

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

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:

 

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

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

 

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

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

 

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

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:

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

 

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

 

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

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

 



Incoming search terms:

Trackback from your site.

Sean Wallbridge

Sean Wallbridge, President and Principal Consultant of itgroove Professional Services Ltd, is a 5 time SharePoint MVP and Evangelist from Victoria, British Columbia, Canada. Sean likes to characterize himself as a “SharePoint Jedi” (there are no experts, just those who continue to explore the enormous ways of the SharePoint force) and there is no better way to describe Sean’s enthusiasm for SharePoint! Sean and itgroove specialize in bringing a rich, professional SharePoint experience to the small and mid-size companies that form the backbone of business in British Columbia and Canada. In addition to being a SharePoint MVP, Sean has a rich background in the Windows world and carries many certifications including CISSP, MCSE, MCT and MCSA. Sean has lived and worked internationally (Bermuda) and still carries on an international consulting practice from his base at itgroove in Victoria

Comments (1)

Leave a comment