Microsoft KB Archive/258505

From BetaArchive Wiki
Knowledge Base


XADM: Information Store Receives Access Violation When UTF-8 and UTF-7 Client Logs On

Article ID: 258505

Article Last Modified on 10/26/2006



APPLIES TO

  • Microsoft Exchange Server 5.5 Standard Edition



This article was previously published under Q258505


SYMPTOMS

If RichWin, which changes the internal language of a workstation to UTF-8 or UTF-7, is installed on your computer and you use Microsoft Outlook to log on to an Exchange Server computer, the Exchange Server information store may stop unexpectedly with a stack dump that is similar to the following:

FramePtr RetAddr Param1 Param2 Param3 Function Name
14e5f544 0057218a 011c3d88 ffffffff 14e5f590 STORE!EcMakeSortKey+0x1a3
14e5f56c 0057263e 00000000 14e5f590 14e5f598 STORE!EcMakeSortKey+0x83
14e5f598 005728f5 003784b0 00000409 14e5f65c STORE!TWIR__EcStreamSubstringUnicode+0x45
14e5f5bc 004f8055 00378ffb 00000409 14e5f65c STORE!TWIR__EcRestrictContent+0x46
14e5f5dc 004f7fd8 15d9b5b8 00000409 14e5f65c 0x004f8055
14e5f5fc 004f7f86 00000003 00000409 14e5f65c STORE!TWIR__EcRestrictHier+0x4e
14e5f61c 004bbb90 16d8d080 ffffffff 00000000 STORE!TWIR__EcFindRow+0xc6
14e5f740 0040567a 00000000 16d8d080 00000000 STORE!VMSG__EcSlowFindRow+0x23a
14e5f768 004a0421 00000000 16d8d080 00000000 0x0040567a
14e5f794 004f8b6f 00000000 16d8d080 00000000 STORE!EcFindRowOp+0xdc
14e5fa18 0040f397 00000003 0000084a 23648120 STORE!EcFindRow+0x12d
15ed4268 15ed4268 00030001 00000f67 00000000 STORE!@EcRpc@16+0x807


CAUSE

This issue can occur because any query that a client submits needs to be converted first to Unicode by the information store using the software development kit (SDK) function MultiByteToWideChar(). The flag of the conversion is always set as MB_PRECOMPOSED. In this case, the properties in the query are converted from UTF-8 or UTF-7 to Unicode, which does not allow the MB_PRECOMPOSED flag to be used. Then the conversion stops with returned value as 0. The later reference to the string causes an access violation.

RESOLUTION

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

191914 XGEN: How to Obtain the Latest Exchange Server 5.5 Service Pack


The following files are available for download from the Microsoft Download Center:

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.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange Server version 5.5. This problem was first corrected in Exchange Server 5.5 Service Pack 4.

MORE INFORMATION

For additional information about conversion between UTF-8 or UTF-7 and UNICODE, click the article number below to view the article in the Microsoft Knowledge Base:

175392 INFO: UTF8 Support


Keywords: kbbug kbexchange550presp4fix kbexchange550sp4fix kbfix kbgraphxlinkcritical kbqfe KB258505