Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updated: May 5, 2010
Applies To: Active Directory Federation Services (AD FS) 2.0
The following table provides troubleshooting guidance for specific error event messages or other issues that you may encounter if you are having problems with starting or stopping the Federation Service.
Before you begin the troubleshooting process, we recommend that you first try to configure Active Directory Federation Services (AD FS) 2.0 for troubleshooting and check for known common issues that might prevent normal functioning for the Federation Service. For detailed instructions for configuring and performing related system checks, see Configuring Computers for Troubleshooting AD FS 2.0 and Things to Check Before Troubleshooting AD FS 2.0.
Event or symptom | Possible cause | Resolution |
---|---|---|
Event ID 102 |
This error can occur when the Federation Service has a problem at service startup. For more details about the cause for this failure, view the additional information that is provided in the event. Some possible causes for this event include the following:
|
Use the additional information that is provided in the event to determine the correct resolution for this issue. Depending on the specific data that is in the event, some of the following are possible resolutions:
|
Event ID 131 |
The Federation Service configuration data contains invalid data. |
Fix the configuration error as reported in the event, and then try to start the Federation Service again. |
Event ID 132 |
Service configuration data is missing a required element. |
Fix the configuration error as reported in the event, and then try to start the Federation Service again. |
Event ID 133 |
This condition can occur when the certificate is found in the specified store, but there is a problem accessing the certificate's private key. Common causes for this condition include the following:
|
Possible resolutions for this condition include the following:
|
Event ID 134 |
This condition occurs when the findValue that is specified does not match any certificate in the specified store. Common causes for this condition include the following:
|
Possible resolutions for this condition include the following:
|
Event ID 135 |
This condition can occur when the certificate is found in the specified store, but there is more than one certificate that matches the findValue. |
If the certificate was identified by name, and there are multiple certificates of the same name, configure the certificate by using the certificate thumbprint. Locate the element that is specified in this event, and modify its findValue to use the thumbprint of the certificate instead. |
Event ID 136 |
An unexpected error was encountered in the configuration data that is required to successfully start the Federation Service. See additional details in this event to further determine the cause and troubleshoot the problem. |
Fix the specified configuration error as reported in this event, and then try to start the Federation Service again. |
Event ID 201 |
This condition typically occurs when the access control list (ACL) for the endpoint URL is missing, or the HTTP namespace in the ACL is not a prefix match of the endpoint URL. |
Ensure that a valid ACL for each URL is configured on this computer. |
Event ID 202 |
The service encountered a critical error that prevents it from operating normally. |
Review the additional data in this event to investigate the possible source of the problem. If the problem reoccurs, contact your product support resources for more information, using the data that is provided in this event. |
Event ID 203 |
The service encountered a critical error that prevents it from operating normally. |
Reboot the computer that is hosting the Federation Service. Review the additional data in this event to investigate the possible source of the problem. If the problem reoccurs, contact your product support resources for more information, using the data that is provided in this event. |
Event ID 204 |
The service encountered a critical error that prevents it from operating normally. |
Reboot the computer that is hosting the Federation Service. Review the additional details in this event to investigate the possible source of the problem. If the problem reoccurs, contact your product support resources for more information, using the data that is provided in this event. |
Event ID 217 |
An error in the configuration binding for an endpoint occurred. |
Fix configuration errors using the Set-ADFSEndpoint cmdlet or the cmdlets in Windows PowerShell, and restart the Federation Service. If the problem persists, run the AD FS 2.0 Federation Server Configuration Wizard again to repair the endpoint. |
Event ID 220 |
Multiple causes are possible for this event. |
See the Troubleshooting Event ID 220 section later in this topic. |
Event ID 244 |
An unexpected error occurred with the WS-MetadataExchange endpoint. |
Check the event context for the details of the exception. If this error occurs repeatedly, and you cannot interpret the exception details, contact your product support resources for help. |
Event ID 277 |
An unhandled exception caused the AD FS 2.0 Windows Service to shut down unexpectedly. |
Check the event context for the details of the exception. If this error occurs repeatedly, and you cannot interpret the exception details, contact your product support resources for help. |
Event ID 352 |
This event is raised for all possible SQL Server failures that AD FS 2.0 encounters in servicing its configuration data store, except for constraint violations or deadlock errors. The additional details in this event provide more information about the error that was encountered. Possible causes for this event condition include the following:
|
For SQL Server time-out issues, review overall SQL query loads to determine whether moving the AD FS 2.0 configuration database to another server computer might improve performance. For connectivity issues, determine whether the computer that is hosting SQL Server is reachable. For more information, see the Troubleshooting Event ID 220 section later in this topic. |
Event ID 359 |
A subservice of the Federation Service failed and was unable to restart itself. |
Restart the Federation Service to recover from the error. |
Event ID 380 |
The AD FS 2.0 token issuance service failed to start because one of the primary certificates has expired. Primary certificates are used for either token-signing, token-decrypting, or service communications. |
Check to see whether Event ID 349 has also been logged. If it has, the AD FS 2.0 administration subservice has been started successfully. This enables you to use Windows PowerShell cmdlets for AD FS 2.0, such as Set-ADFSProperties, to reconfigure the Federation Service. |
The AD FS 2.0 Windows Service shut down unexpectedly and is configured to automatically restart, but it is unable to do so. |
The AD FS 2.0 Windows service might not be configured to enable restart after successive failures. |
Verify service recovery settings. In the Services node of Server Manager, browse to and double-click the AD FS 2.0 Windows service. In service properties, click the Recovery tab, and review the following recovery settings:
By default, the Service controller (sc.exe) takes no action to restart the service after two successive failures. |
The Federation Service is unable to communicate with a certificate revocation list (CRL) server. |
The following are possible causes for this event:
|
The following are possible resolutions for this event:
|
Event ID 220 reports that the Federation Service configuration data could not be loaded correctly from the AD FS 2.0 configuration database. This event is always raised in connection with Event ID 102. The cause of this event failure is usually that the SQL Server database that is used for storing AD FS 2.0 configuration data is unavailable.
The following table discusses the likely potential causes of this problem and their corresponding resolutions.
Cause | Resolution |
---|---|
The remote computer that is hosting the SQL Server database is not reachable. |
Use Ping.exe to verify that the remote computer can be reached from the federation server. |
The computer that is running SQL Server and that is configured for storing AD FS 2.0 configuration data is not started. |
Start the SQL Server instance that hosts the AdfsConfiguration database. Verify that the service is running the |
The Windows Internal Database (WID) that is configured for storing AD FS 2.0 configuration data is not started. |
Start the WID instance that hosts the AdfsConfiguration database. Verify that the service is running the |
The AD FS 2.0 Windows service identity cannot log on to SQL Server. |
Ensure that SQL Server is running under a built-in account, such as NetworkService or LocalSystem. If SQL Server is running under a domain account, verify that the service principal name (SPN) for that account has been registered correctly. To verify the SPN, use the following syntax with the SetSpn.exe command:
The output of this command should have MSSQLSvc/ Another possible resolution for this error includes connecting to SQL Server using SQL Management Studio, and verifying the following settings:
|
The AD FS 2.0 Windows service identity can log on to SQL Server, but it does not have access to the AdfsConfiguration database. |
Using SQL Server Management Studio, make the AD FS 2.0 Windows service identity the owner of the IdentityServerPolicy schema (see the previous resolution). |
SQL Server is timing out. |
The following are possible resolutions for this error:
|
AD FS 2.0 endpoints do not have ACL permissions set correctly. |
Run the AD FS 2.0 Federation Server Configuration Wizard again to repair ACL permissions for the specified endpoints. |