The following code will fail with HRESULT=0x80070015 / "The device is not
ready."
hr = pMessage->CopyTo(0, NULL, (LPSPropTagArray)&excludeTags, NULL, NULL,
(LPIID)&IID_IMessage, pMessageCopy, 0, &pProblems );
Probably half of the emails succede and the other half fails with 0x80070015.
My guess is that this is that this error description does not adaquately
describe what the real problem is in exchange. Surely this isn't exchange
database corruption. Has anyone else ran into this?
thanks!
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"scottm" <sco...@discussions.microsoft.com> wrote in message
news:E4983C05-9C64-4040...@microsoft.com...
MAPI_E_CALL_FAILED == 0x80004005
Function MAPIOpenFormMgr(m_lpMAPISessionk ppFormMgr)
Line 216
Server is running Win2003/Exchange 2003 SP2.
> Forgot to mention. I also put MFCMapi on the Exchange server. Logged in
> as
> one of the users whose emails puke with the Device Is Not ready error.
> Tried
> to open one of those problem emails and MFCMapi display sthe following
> error:
>
> MAPI_E_CALL_FAILED == 0x80004005
> Function MAPIOpenFormMgr(m_lpMAPISessionk ppFormMgr)
> Line 216
>
> Server is running Win2003/Exchange 2003 SP2.
Do you have Outlook (or any other MAPI client) installed as well?
If yes: that is not supported. You cannot (in a supported way) have
client and server MAPI installed on the same machine.
Uninstall Outlook and try if that helps.
--
SvenC
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"scottm" <sco...@discussions.microsoft.com> wrote in message
news:6968D347-34BB-4D7B...@microsoft.com...
> Forgot to mention. I also put MFCMapi on the Exchange server. Logged in
> as
> one of the users whose emails puke with the Device Is Not ready error.
> Tried
> to open one of those problem emails and MFCMapi display sthe following
> error:
>
> MAPI_E_CALL_FAILED == 0x80004005
> Function MAPIOpenFormMgr(m_lpMAPISessionk ppFormMgr)
> Line 216
>
> Server is running Win2003/Exchange 2003 SP2.
If you do not have Outlook installed (and you should not on the server)
then I expect that no mail at all can be displayed, correct?
You simply have no MAPI forms implementation without Outlook.
--
SvenC