Microsoft KB Archive/820273

= &quot;Cannot create a file when that file already exists&quot; error message when you try to move the X.400 message queue in Exchange Server 2003 =

Article ID: 820273

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition

-



SYMPTOMS
After you modify the location of the message queue in the X.400 Properties dialog box in Exchange System Manager, when you try to modify the path to restore it to the original location (typically, C:\Program Files\Exchsrvr\Mtadata), you receive the following error message:

Cannot create a file when that file already exists.

Facility: Win32

ID no: c00700b7

Microsoft Exchange Management



CAUSE
This problem may occur if the folder where you want to store the X.400 message queue is not empty.

You cannot use Exchange System Manager to move the message queue to a location that is not empty. This is true even if you want to restore it to the original location.



WORKAROUND
To work around this problem, use the Windows Management Instrumentation moveMTAData method to programmatically move the message queue to the folder that is not empty.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
For additional information about the moveMTAData method, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa143916.aspx

For additional information about the Exchange_Server class, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa143823.aspx

For additional information about Windows Management Instrumentation scripting, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms811556.aspx

Additional query words: XADM ESM WMI

Keywords: kbnofix kbbug kbprb KB820273

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.