If you have a corrupt message in a hidden folder, e.g.
Backup - \MAILSERVER\Microsoft Exchange Mailboxes WARNING: "\MAILSERVER\Microsoft Exchange Mailboxes\username ?BlackBerryHandheldInfo?BlackBerryMsgOnDeviceSearchFolder??????????????????????????????????????? ?????????????????????????????????FW: email subject" is a corrupt file.
Then you might need to use MDBVU32 (microsoft database viewer utility win32) to access the Exchange Inf. Store directly using MAPI (Messaging Application Program Interface).
DO NOT DO THIS LIGHTLY - YOU CAN ACCIDENTALLY CORRUPT/RUIN YOUR EXCHANGE MAILBOXES!
MFCMAPI is an improved version of MDBVU32
http://mfcmapi.codeplex.com/
This is a result of the problem with "OpenDatabase() failed for
You have to download the mdbvu32 utility from google extract/install it on the Exchange server
login to the Exchange server
Run the mdbvu32.exe utility on the Exchange server MFCMAPI can be run from any workstation...
The MAPILogonEX(MAP_LOGONUI) window will appear. (uiUIParam NULL)
Checkbox: "MAPI_NEW_SESSION" and hit ok
Click "new" on the next window, and go through the wizard filling out the information for connecting to the Exchange server (e.g. servername & username)
MDB -> OpenMessageStore
Select the "D Mailbox -
MDB -> Open Root Folder
On the left area (Child Folders column) Double click on Top of Information Store
(Or instead start from MDB -> Open IPM Subtree)
Highlight the BlackberryHandheldInfo folder and double click it
Double click the "BlackBerry MsgOnDeviceSearchFolder" (Note that this may take awhile as it loads all Messages in that folder)
NOTE THAT LOADING 34,000 ITEMS can take up to 10 minutes waiting...
MFCMAPI allows you to sort by subject (very useful for finding a corrupt email)
Highlight the offending message
Choose the lpFld -> DeleteMessages() (ON SELECTED MSGS) dropdown choice and click on the Call Function Button
(DO NOT ACCIDENTALLY CHOOSE THE DELETE FOLDER!!!!)
At the popup which will show you the complete message subject, click OK
Click Close a number of times, then choose MDB -> Log off Store then choose Session -> Log off
Note that you can also delete Outlook Rules this way:
the Associated Messages in Fld list where all your rules are listed. Click the rule that you want to delete (to examine rule's properties, double-click it).
MAPILogon MAPIFindNext