Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XADM: How to Use Mdbview to Remove Mailbox Event Scripts


View products that this article applies to.

This article was previously published under Q280726

↑ Back to the top


Summary

This article describes how to use the Mdbview utility (Mdbvu32.exe) to remove mailbox event scripts.

↑ Back to the top


More information

If you run a script against a mailbox, and the script does not start, you can delete the script from the mailbox by using the Mdbview utility. This issue may occur even after you delete and republish the script in Microsoft Outlook. Before you perform the procedure in this section, make sure that you create an Outlook profile for the mailbox by using the associated script. You must create this profile on the computer where you run Mdbview.

To delete a script using Mdbview:
  1. Run Mdbvu32.exe.

    This file is located in Server\Support\Utils\I386 on the Exchange Server 5.5 CD-ROM.
  2. In the MAPILogonEx(MAPI_LOGON_UI) dialog box, click to select the following check boxes, and then click OK:
    • MAPI_NEW_SESSION
    • MAPI_EXPLICIT_PROFILE
    • MAPI_NO_MAIL
  3. When you are prompted to enter a profile, enter the profile for the mailbox that has the broken script.
  4. In the MDB Viewer Test Application window, click the MDB menu, and then click OpenMessageStore.
  5. Click the mailbox, and then click Open.
  6. In the MDB Viewer Test Application window, click the MDB menu, and then click Open Root Folder.
  7. In the Child Folders section, double click Top of Information Store.
  8. Double-click Inbox.
  9. In the Associated Messages in Folder section, click the script that you would like to delete.

    NOTE: If more than one script is displayed, make sure that you click only the scripts that you want to remove.
  10. Click Operations Available, and then click lpFld->DeleteMessages().
  11. To delete the script, click Call Function.
  12. Repeat steps nine to eleven for every script that you want to delete. (You can also click multiple messages to delete by using the CTRL or SHIFT key.)
  13. After you have deleted all of the scripts that you want to delete, click Close three times to return to the MDB Viewer Test Application window.
  14. Click the Session menu, click Session Logoff, and then click OK.
  15. Quit Mdbvu32.exe

↑ Back to the top


Keywords: KB280726, kbinfo

↑ Back to the top

Article Info
Article ID : 280726
Revision : 5
Created on : 10/28/2006
Published on : 10/28/2006
Exists online : False
Views : 256