Microsoft KB Archive/931908

From BetaArchive Wiki

Article ID: 931908

Article Last Modified on 10/11/2007



APPLIES TO

  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition



SYMPTOMS

Consider the following scenario:

  • You have a Microsoft Windows Server 2003-based client computer.
  • On this computer, you use an application that calls the CryptQueryObject function to decode an embedded PKCS7 certificate.

In this scenario, a temporary file of 0 bytes is created in the %windir%\Temp folder. This temporary file is not deleted when the CryptQueryObject function finishes its task. Additionally, when the number of temporary files reaches about 65,000, the call to the CryptQueryObject function takes longer than expected to finish.

Note %windir% represents the path of the Windows system folder. Typically, this path is C:\Windows.

RESOLUTION

Hotfix information

A supported hotfix is now 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 this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

Prerequisites

No prerequisites are required.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Server 2003, Itanium-based versions
File name File version File size Date Time Platform SP requirement Service branch
Crypt32.dll 5.131.3790.2877 1,757,184 07-Feb-2007 14:11 IA-64 SP1 SP1QFE
Wcrypt32.dll 5.131.3790.2877 595,968 07-Feb-2007 14:11 x86 SP1 WOW
Crypt32.dll 5.131.3790.4018 1,756,672 07-Feb-2007 14:17 IA-64 SP2 SP2QFE
Wcrypt32.dll 5.131.3790.4018 595,456 07-Feb-2007 14:17 x86 SP2 WOW
Updspapi.dll 6.3.4.1 655,152 07-Feb-2007 14:19 IA-64 None Not applicable
Windows Server 2003, x64-based versions
File name File version File size Date Time Platform SP requirement Service branch
Crypt32.dll 5.131.3790.2877 1,430,016 07-Feb-2007 14:11 x64 SP1 SP1QFE
Wcrypt32.dll 5.131.3790.2877 595,968 07-Feb-2007 14:11 x86 SP1 WOW
Crypt32.dll 5.131.3790.4018 1,429,504 07-Feb-2007 14:15 x64 SP2 SP2QFE
Wcrypt32.dll 5.131.3790.4018 595,456 07-Feb-2007 14:15 x86 SP2 WOW
Updspapi.dll 6.3.4.1 462,128 07-Feb-2007 14:19 x64 None Not applicable
Windows Server 2003, x86-based versions
File name File version File size Date Time Platform SP requirement Service branch
Crypt32.dll 5.131.3790.2877 595,968 08-Feb-2007 02:39 x86 SP1 SP1QFE
Crypt32.dll 5.131.3790.4018 595,456 08-Feb-2007 02:31 x86 SP2 SP2QFE
Updspapi.dll 6.3.4.1 379,184 27-Dec-2006 07:40 x86 None Not applicable


WORKAROUND

To work around this problem, manually delete the temporary files before the number of temporary files reaches 65,000.

STATUS

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

MORE INFORMATION

This problem is more apparent when the CryptQueryObject function is called either directly or indirectly from a server application through some intermediate layer. When the number of temporary files reaches 65,000, client computers experience significant delays. A known indirect caller of the CryptQueryObject function is the constructor of the System.Security.Cryptography.X509Certificates.X509Certificate2 managed class.

Technical support for x64-based versions of Microsoft Windows

If your hardware came with a Microsoft Windows x64 edition already installed, your hardware manufacturer provides technical support and assistance for the Windows x64 edition. In this case, your hardware manufacturer provides support because a Windows x64 edition was included with your hardware. Your hardware manufacturer might have customized the Windows x64 edition installation by using unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with a Windows x64 edition. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware. If you purchased a Windows x64 edition such as a Microsoft Windows Server 2003 x64 edition separately, contact Microsoft for technical support.

For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site:

For product information about x64-based versions of Microsoft Windows Server 2003, visit the following Microsoft Web site:

For more information, 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


Keywords: kbbug kbfix kbqfe kbpubtypekc kbexpertiseadvanced kbhotfixserver KB931908