Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106 #737

Open
timjethen opened this issue Jul 15, 2024 · 2 comments
Open

Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106 #737

timjethen opened this issue Jul 15, 2024 · 2 comments

Comments

@timjethen
Copy link

I'm running into an issue where my old/dismissed reminders come back every time I restart outlook. I'm trying to resolve the issue per resolution 2 on https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/cannot-dismiss-outlook-calendar-reminders. When I try to delete the reminders folder via mfcmapi (64-bit version 24.0.24100.06) I get the following error:

Error:
Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106
Function lpParentFolder->DeleteFolder( static_cast(itemEID.size()), mapi::toEntryID(itemEID), lpProgress ? reinterpret_cast<ULONG_PTR>(m_hWnd) : NULL, lpProgress, ulFlags)
File C:__w\1\s\MFCMAPI\UI\Dialogs\HierarchyTable\MsgStoreDlg.cpp
Line 797

@stephenegriffin
Copy link
Member

@timjethen what flags are you passing and what variations have you tried?

@timjethen
Copy link
Author

Only tried the default flags other than making sure MDB_ONLINE and MAPI_NO_CACHE were set per instructions. I didn't make the connection between the tools->options and flags referred to in the error code. Selected options are:

Parse named properties
Register for notifications when you navigate to a folder
Enable Smart View
Use GetPropList for GetProps call
Prefer Unicode properties
Cache named property mappings
Use 'nice' column names
Use the MDB_ONLINE flag when calling OpenMsgStore
Use the MAPI_NO_CACHE flag when calling OpenEntry
Suppress MAPI_E_NOT_FOUND in contents table views
Terminate on heap corruption
Load add-ins

Any you would suggest clearing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants