The "500" error code is returned when you send an HTTP SOAP request to the "/adfs/services/trust/mex" endpoint on a computer that is running Windows Server 2008 R2 or Windows Server 2008

Applies To
Windows Server 2008 R2 Datacenter Windows Server 2008 R2 Enterprise Windows Server 2008 R2 Standard Windows Server 2008 Service Pack 2 Windows Server 2008 Datacenter Windows Server 2008 Enterprise Windows Server 2008 Standard Windows Server 2008 Datacenter without Hyper-V Windows Server 2008 Enterprise without Hyper-V

Symptoms

Consider the following scenario:

  • You install the Active Directory Federation Services (AD FS) 2.0 on a computer that is running Windows Server 2008 R2 or Windows Server 2008 Service Pack 2 (SP2).
  • Some clients send many HTTP SOAP requests for the metadata of the AD FS 2.0 service to the "/adfs/services/trust/mex" SOAP Metadata Exchange endpoint for AD FS 2.0.

In this scenario, memory is leaked until garbage collection occurs if the HTTP SOAP requests fail. Additionally, the Metadata Exchange endpoint may stop responding, and then the client receives an instance of the "500" error code from the AD FS 2.0 server. 

Note After a garbage collection occurs, the Metadata Exchange endpoint may stop responding again if client errors build up.

Cause

This issue occurs because AD FS 2.0 leaks memory when a HTTP SAOP request to the "/adfs/services/trust/mex" Metadata Exchange endpoint fails. Therefore, the endpoint may be unable to process any new requests after a while.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

http:⁠//support.microsoft.com/contactus/?ws=support Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Server 2008 R2 or Windows Server 2008 Service Pack 2 (SP2). Additionally, you must have Active Directory Federation Services (AD FS) 2.0 installed.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows Server 2008 R2 or Windows Server 2008 file information notes

Important

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows Server 2008" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows Server 2008

File name File version File size Date Time Hashes Platform
Microsoft.identityserver.service.dll 6.1.7600.20737 638,976 30-Jun-2010 11:21 MD5: 6E24CF1DE6A53CD92C44B6C1F984D081
SHA1: 085A88D707576DA39D9301208C6A04C3A2A569A8
x86
Microsoft.identityserver.service.mof Not applicable 4,606 26-May-2010 12:22 Not applicable Not applicable
Uninstallwmiprovider.mof Not applicable 1,012 26-May-2010 12:22 Not applicable Not applicable

For all supported x64-based versions of Windows Server 2008

File name File version File size Date Time Hashes Platform
Microsoft.identityserver.service.dll 6.1.7600.20737 638,976 30-Jun-2010 11:24 MD5: 6E24CF1DE6A53CD92C44B6C1F984D081
SHA1: 085A88D707576DA39D9301208C6A04C3A2A569A8
x64
Microsoft.identityserver.service.mof Not applicable 4,606 26-May-2010 12:23 Not applicable Not applicable
Uninstallwmiprovider.mof Not applicable 1,012 26-May-2010 12:23 Not applicable Not applicable

For all supported x64-based versions of Windows Server 2008 R2

File name File version File size Date Time Hashes Platform
Microsoft.identityserver.service.dll 6.1.7600.20737 638,976 18-Jun-2010 09:54 MD5: 6E24CF1DE6A53CD92C44B6C1F984D081
SHA1: 085A88D707576DA39D9301208C6A04C3A2A569A8
x64
Microsoft.identityserver.service.mof Not applicable 4,606 23-May-2010 01:26 Not applicable Not applicable
Uninstallwmiprovider.mof Not applicable 1,012 23-May-2010 01:26 Not applicable Not applicable

Workaround

Workaround for Windows Server 2008 R2 and for Windows Server 2008

To work around this issue, restart the service for Active Directory Federation Services (AD FS) 2.0.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Server 2008 R2 and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Server 2008

File name Msil_microsoft.identityserver.service_31bf3856ad364e35_7.0.6002.22435_none_bc20eb8285ca8a87.manifest
File version Not applicable
File size 5,302
Date (UTC) 30-Jun-2010
Time (UTC) 16:44
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_1_for_kb2254265~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not applicable
File size 1,987
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_for_kb2254265_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not applicable
File size 1,625
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_for_kb2254265_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not applicable
File size 1,436
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable
File name X86_703669a96ca3a3a214269f311bb1fbc8_31bf3856ad364e35_7.0.6002.22435_none_b5d2b97f5e49f3e8.manifest
File version Not applicable
File size 703
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable

Additional files for all supported x64-based versions of Windows Server 2008

File name Amd64_703669a96ca3a3a214269f311bb1fbc8_31bf3856ad364e35_7.0.6002.22435_none_11f1550316a7651e.manifest
File version Not applicable
File size 705
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Msil_microsoft.identityserver.service_31bf3856ad364e35_7.0.6002.22435_none_bc20eb8285ca8a87.manifest
File version Not applicable
File size 5,304
Date (UTC) 30-Jun-2010
Time (UTC) 16:56
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_1_for_kb2254265~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not applicable
File size 1,997
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_for_kb2254265_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not applicable
File size 1,635
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_for_kb2254265_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not applicable
File size 1,444
Date (UTC) 30-Jun-2010
Time (UTC) 21:52
SHA-1 hash Not applicable
MD5 hash Not applicable

Additional files for all supported x64-based versions of Windows Server 2008 R2

File name Amd64_dd3ee929101affdbf79caae5c47da439_31bf3856ad364e35_7.1.7600.20737_none_3963e9aef2fb4aa9.manifest
File version Not applicable
File size 705
Date (UTC) 18-Jun-2010
Time (UTC) 15:28
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Msil_microsoft.identityserver.service_31bf3856ad364e35_7.1.7600.20737_none_ba64488de9b9a7d2.manifest
File version Not applicable
File size 5,018
Date (UTC) 18-Jun-2010
Time (UTC) 10:39
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_1_for_kb2254265~31bf3856ad364e35~amd64~~6.1.1.0.mum
File version Not applicable
File size 2,035
Date (UTC) 18-Jun-2010
Time (UTC) 15:28
SHA-1 hash Not applicable
MD5 hash Not applicable
File name Package_for_kb2254265_rtm~31bf3856ad364e35~amd64~~6.1.1.0.mum
File version Not applicable
File size 1,668
Date (UTC) 18-Jun-2010
Time (UTC) 15:28
SHA-1 hash Not applicable
MD5 hash Not applicable