2010-05-22

WTF Correlation ID

I was setting up a new SPS 2010 environment when I got:











Error



The given key was not present in the dictionary.








Troubleshoot issues with Microsoft SharePoint Foundation.




Correlation ID: 59994675-c867-4246-8fd3-56f6a70087c9


Date and Time: 5/22/2010 12:07:50 PM





It's highly unlikely (read impossible) that you will receive the same error as Correlation ID's are unique. To understand a little more about them read this: ILM 2007 Design Concepts

So how do you fix your problem after you receiving an error.




My initial strategy was to check the event log for a more detailed description because I was setting up an SPS service... that search was fruitless so I checked the sharepoint logs.




Steps to resolve:





  1. Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS

  2. Find the log that was modified around the time of the error

  3. Search for your Correlation ID.



My error is below and it basically means there's something missing from the AD account I used to run the service which MS think should be there... well guess what, yours truly used a security group instead of a User account.










05/22/2010 12:07:48.63 w3wp.exe (0x2408) 0x277C SharePoint Foundation Runtime tkau Unexpected System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.SharePoint.Utilities.SPUtility.GetUserPropertyFromAD(SPWebApplication webApplicaiton, String loginName, String propertyName) at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username) at Microsoft.SharePoint.ApplicationPages.AdminConfigServices.ValidateUserLogon(Object sender, ServerValidateEventArgs e) at System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) at System.Web.UI.WebControls.BaseValidator.Validate() at System.Web.UI.Page.Validate() at System.Web.UI.WebControls.Button.Ra... 59994675-c867-4246-8fd3-56f6a70087c9

No comments :

Post a Comment