ASP Page Is Slow to Refresh or Open When Using UTF-8 Codepage Value 65001 (291597)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Internet Information Services 5.0

This article was previously published under Q291597

SYMPTOMS

When you open an Active Server Pages (ASP) page on a Web server that is using Internet Information Services (IIS) 5.0, the page takes a long time to open or refresh.

CAUSE

This issue may occur if the .asp file contains UTF-8 codepage value 65001 (Universal Alphabet) in the CharSet Property and uses cookies. The problem occurs because the Request Object is delayed by extended processing time for each cookie. The problem is compounded if the cookies are large.

When Internet Information Services loads cookies from the URL, it calls the DecodeFromURL() to convert the two digit hexadecimal string (such as %2F) in the cookie to a hexadecimal byte. DecodeFromURL() parses each character in the cookie and calls IsDBCSLeadByteEx() if the codepage passed in (to DecodeFromURL()) indicates a multibyte codepage. This causes Internet Information Services to skip the next byte (the trailing byte) if the current byte is the leading byte. IsDBCSLeadByteEx() does not support UTF-8 and can take a long time to complete if the codepage is passed in UTF-8 codepage value 65001.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The following file is available for download from the Microsoft Download Center:
DownloadDownload the Q291597_W2K_SP3_x86_en.EXE package now. Release Date: February 15, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. The English version of this fix should have the following file attributes or later:
   Date         Time   Version        Size     File name
   ---------------------------------------------------------------------
   04-May-2001  18:16  5.0.2195.3519  707,856  Kernel32.dll
   04-May-2001  18:16  5.0.2195.3519  707,856  Kernel32.dll Uniprocessor
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one restart, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot


Modification Type:MinorLast Reviewed:9/26/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbOSWin2000fix kbWin2000PreSP3Fix kbWin2000sp3fix KB291597