Table of Contents


You may receive the following error attempting to log on to a SharePoint 2007 site: An unexpected error has occurred (AD FS 2.0 - "An unexpected error has occurred" Error or Blank Page Displayed Attempting to Log on to SharePoint, Event ID 23 Logged)

On SharePoint 2010, no error will be displayed and instead you will see a blank page in the browser

If you enable AD FS 2.0 tracing, you will see Event ID 23 logged at the same time as the logon failure.

Log Name:      AD FS 2.0 Tracing/Debug
 Source:        AD FS 2.0 Tracing
 Date:          8/6/2010 1:54:41 PM
 Event ID:      23
 Task Category: None
 Level:         Warning
 Keywords:      ADFSAttributeStore
 User:          CONTOSO\adfssrvc
 LDAPAttributeStoreReader: Attribute value for claimType is not found in attribute cache
 Event Xml:
     <Provider Name="AD FS 2.0 Tracing" Guid="{f1aa12b3-dba2-4cab-b909-2c2b7afcf1fd}" />
     <TimeCreated SystemTime="2010-08-06T17:54:41.257599200Z" />
     <Correlation ActivityID="{79EA24E7-B808-4650-B864-CAF862DA3067}" />
     <Execution ProcessID="3748" ThreadID="3420" ProcessorID="0" KernelTime="2" UserTime="13" />
     <Channel>AD FS 2.0 Tracing/Debug</Channel>
     <Security UserID="S-1-5-21-3424507853-4201969778-1758407596-1107" />
       <EventData>LDAPAttributeStoreReader: Attribute value for claimType is not found in attribute cache</EventData>


These symptoms may occur if the correct claim is not being sent from AD FS. For example, if you have a AD FS claim that requires the email address attribute to be populated for an account in Active Directory, and that attribute is not populated, you may see these symptoms.


Determine the type of claims you are using and verify the necessary attributes are populated for the claims to work.