Event ID 109 — Windows NT Token-Based Application Logging
Applies To: Windows Server 2008
You can use Active Directory Federation Services (AD FS) log files to troubleshoot issues with the Windows token-based agent. The creation and updating of AD FS log files are monitored here.
Event Details
Product: | Windows Operating System |
ID: | 109 |
Source: | Microsoft-Windows-ADFS |
Version: | 6.0 |
Symbolic Name: | WSA_FailureSettingUserNameHdr |
Message: | A failure was encountered while trying to set the user name custom header. User Name: %1 Additional Data The data field contains the Win32 error code. |
Resolve
Configure the agent for logging
Make sure that AD FS Windows NT Token Web Agent is configured to generate logs.
To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.
To enable logging:
Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
- On the Web server, click Start.
- In the Start Search text box, type regedit, and then press ENTER.
- Navigate to the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ifssvc\Parameters.
- Right click Parameters, point to New, and click DWORD Value.
- Name this new parameter DebugPrintLevel.
- Double-click the new entry, and then, in Value data, type FFFF to enable full logging.
- Click OK, and then close Registry Editor.
Verify
Verify that Active Directory Federation Services (AD FS) log files have been generated in the log files directory. The log files directory is referred to in the following location in the registry:
DebugLevel Dword "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ifssvc\Parameters"
To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.
To verify the location of the log files directory in the registry:
Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
- On the Web server, click Start.
- In the Start Search text box, type regedit, and then press ENTER.
- Click the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ifssvc\Parameters and then verify the location of the log files directory.
- Click OK, and then close Registry Editor.