Unable to delete emails
On our SBS2003 box, we have a service accountthat shows that it has 9 emails in its Outlook web access inbox.
When I try to view any of them, I receive a page cannot be found error. When I try to delete any of them, it says "Some Items can't be deleted. They were either moved, already deleted, or access was denied."
I tried using ExMerge.exe toextract and archive theemails to a .pst file on the server, and it showed that the operation completed successfully.Unfortunatly, the emails still show up inweb access.
I have also tried logging in as the user on adomain workstation to attempt to clear the emails from Outlook 2007. The inbox shows up empty, however there was a sync issue. The sync log showed:
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
9:19:35 The following message had an error and synchronization of it was skipped (0xfffff9bf):
It appears that there is an error for each of the 9 emails.
The real annoyance is that this account is our Micrsoft CRM user account. Therefore, I receive around 4,000 critical errors in the server application log every day. The error is:
Source:
MSCRMExRouterService
Event ID:
0
Description:
Microsoft.Crm.Tools.ExchangeConnectorService.ExchangeSinkServiceException: Opening a message in mailbox: CRMUser failed (System.Runtime.InteropServices.COMException (0x80040E19): Object or data matching the name, range, or selection criteria was not found within the scope of this operation......
Any ideas?
June 18th, 2008 9:37pm
Hello,
You can try by deleting those 9 mailswith MFCMapi.
Here is the procedure to delete it: ESM shows size & count but mails in outlook iszero
In this link instead of double click on Top of the Information store, expand it and double click on Inbox & delete culprit mails.
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2008 5:39am
Amit Tank,
I did not have an option named "Top of the Information store". I did have one named "IPM_SUBTREE" with one called "inbox" under it. However, neither of those had any messages. The only message I did find was the sync error log in "All Messages" under "Finder".
Any other suggestions?
June 20th, 2008 2:45am
You are not able to see "Top of the Information store" because outlook is configured with cache mode, remove the cache mode from outlook profile and proceed for it.
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2008 4:02am
Hi,
To use MFCMAPI to delete it, please follow the steps below:
1, download MFCMAPI using the following link:
http://www.microsoft.com/downloads/details.aspx?FamilyID=55fdffd7-1878-4637-9808-1e21abb3ae37&DisplayLang=en
2, Launch MFCMAPI tool on the users client.
3, Go to Session -> Logon and Display Store Table
4, Select the outlook profile of the suer and double-click Mailbox - your user name
5, Expand "Root Container"
6, Expand "Top of Information Store"
Note: if the user has configured the outlook profile to use cached mode, we need to expand IPM_subtree under root container
7, Select on "Inbox", double click to open it
8, select the problem message and right click it. then please select Delete message
9, then please select permanent deletion (deletes to deleted item retention if supported) and click OK.
10, Close MFCMAPI dialog boxes, and click Session -> Logoff in the MFCMAPI main window. Close MFCMAPI main window.
Thanks
Allen
June 20th, 2008 8:59am
I disabled cached mode, and can now see the bad email under "Inbox" in "Top of Information Store".
WhenI click any of the email, I get 3 error notification boxes in a row:
Error: Code: MAPI_E_CALL_FAILED == 0x80004005Function DefaultOpenItemProp( iItem, mfcmapiDO_NOT_REQUEST_MODIFY, lppProp)File f:\df7830\extest\src\mfcmapi\contentstablelistctrl.cppLine 1416
Error: Code: MAPI_E_CALL_FAILED == 0x80004005Function m_lpContentsTableListCtrl->DefaultOpenItemProp( iSelectedItem, bModify, lppMAPIProp)File f:\df7830\extest\src\mfcmapi\contentstabledlg.cppLine 917
Error: Code: MAPI_E_CALL_FAILED == 0x80004005Function m_lpHostDlg->OpenItemProp(pNMListView->iItem, mfcmapiREQUEST_MODIFY, &lpMAPIProp)File f:\df7830\extest\src\mfcmapi\contentstablelistctrl.cppLine 1490
Then, I am able right-click the message and follow the deleting instructions. it is followed by the warning:
Warning: Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680Function ((LPMAPIFOLDER) m_lpContainer)->DeleteMessages( lpEIDs, lpProgress ? (ULONG_PTR)m_hWnd : NULL, lpProgress, ulFlag)File f:\df7830\extest\src\mfcmapi\folderdlg.cppLine 702
The screen refreshes, but the email are still there.
I tried logging out and back in.
These email just won't go away.
What's next?
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2008 2:36am
Looks like mailboxes has corruption so at last you can delete the mailbox and re-create it since it is empty.
Remove the exchange attributes from AD user, go to Exchange System Manager and right click on mailbox and purge it, then go to AD users and re-create mailbox. This will create a fresh mailbox but make sure that new mailbox stamps the correct email address, if not then you need to correct it.
Note that during this mailbox recreation, application will not be able to access mailbox.
June 21st, 2008 4:31pm