Unable to open msg store if first prompt for password canceled
- From: Ashutosh <smbs-msdn@xxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 15:02:07 +0530
Hi,
<<This is a old topic but I have found the reason for this, but not a solution. The thread was started on 1st July 2008>>
If I use the account management API to get the account of a profile, and after that call IMAPISession::OpenMsgStore, it prompts for the password only once. For subsequent calls, it just returns the fail one provider error.
However, if use account management API for a profile and open the message store from a different profile, it works fine.
I have checked the code for account management, the code doesn't have any leaks and every thing is properly acquired and released. All this is being done in the application's main thread only.
I am really stuck because of this. Please advice.
Regards,
Ashutosh
.
- Follow-Ups:
- RE: Unable to open msg store if first prompt for password canceled
- From: "Charles Wang [MSFT]"
- RE: Unable to open msg store if first prompt for password canceled
- Prev by Date: Re: PR_FOLDER_WEBVIEWINFO info..
- Next by Date: RE: MAPI_E_NETWORK_ERROR returned from ConfigureMsgService
- Previous by thread: PR_FOLDER_WEBVIEWINFO info..
- Next by thread: RE: Unable to open msg store if first prompt for password canceled
- Index(es):
Loading