Microsoft KB Archive/301005

From BetaArchive Wiki
Knowledge Base


XADM: Access Violation When You Move a Mailbox Programmatically by Using Cdoexm.dll

Article ID: 301005

Article Last Modified on 2/19/2007



APPLIES TO

  • Microsoft Exchange 2000 Server Standard Edition



This article was previously published under Q301005


SYMPTOMS

If you move a mailbox programmatically by using the move mailbox method in Exchange 2000, an access violation may occur in the application that calls the move mailbox method.

CAUSE

This problem can occur because Cdoexm.dll loads Mapi32.dll explicitly from the Exchsrvr\Bin folder, to avoid conflict with the Mapi32.dll file that is included with Microsoft Outlook. However, if the application calls the MAPIInitialize function, Mapi32.dll is loaded from the Winnt\System32 folder. Because of this, two Mapi32.dll files are loaded in the application address space, which causes the access violation.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft Exchange 2000 Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

Component: Collaboration Data Objects

File name Version
Cdoexm.dll 6.0.4720.7
Exadmin.dll 6.0.4720.7
Maildsmx.dll 6.0.4720.7


NOTE: Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 1.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server.

MORE INFORMATION

For additional information about the pre-Exchange 2000 Server Service Pack 1 (SP1) version of this fix, click the article number below to view the article in the Microsoft Knowledge Base:

296862 XADM: Access Violation When You Move a Mailbox Programmatically by Using Cdoexm.dll


Keywords: kbbug kbexchange2000presp2fix kbfix kbqfe KB301005