XADM: CDOEXM Error Message When You Move the Log File Path of a Storage Group (328361)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

This article was previously published under Q328361

SYMPTOMS

If you rename a storage group, and then change the path of the log files programmatically through CDOEXM, you receive the following error message:
0x8000FFFF (E_UNEXPECTED), "The Microsoft Exchange Information store could not find the specified object"
This occurs only if you try to rename the storage group, and then change the path consecutively.

CAUSE

When the CDOEXM MoveLogFiles method is called, the following operation occurs on the Store side:
  1. Dismount the Store.
  2. Move the log files.
  3. Mount the Store.
The store does not mount, and this results in the CDOEXM 0x8000FFFF (E_UNEXPECTED) error message.

The Store does not mount because store looks at the distinguished name (DN) of the child, and then extracts the DN of the parent for that child to make sure that the correct Messaging Database (MDB) is brought in the correct storage group. The problem is that just before you call the MoveLogfiles method, you renamed the storage group. However the Store still has the old DN for the child. As a result, when the Store tries to resolve the child DN to get the parent DN, the Store cannot find storage group DN in the Active directory (because the storage group is already renamed).

WORKAROUND

Move the log files before you rename the storage group.

STATUS

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

MORE INFORMATION

This is caused by the DSAccess cache; the cache has not been flushed. When the Information store queries for the DN of the MDB, it receives the old DN of the Messaging Database (MDB). When an MDB is mounted, Exchange Server explicitly compares the DN of the MDB with the DN of the storage group. If the DNs do not match, the mount is not successful.

Modification Type:MinorLast Reviewed:4/28/2005
Keywords:kbbug KB328361