PRB: RuleEdit Fails with MAPI_E_CALL_FAILED (Error 80004005) (194937)
The information in this article applies to:
- Microsoft Exchange Development Kit (EDK) 5.0
- Microsoft Exchange Development Kit (EDK) 5.5
This article was previously published under Q194937 SYMPTOMS
The RuleEdit sample has been included with the Platform Software
Development Kit (SDK) to help users understand how to programmatically
manipulate rules. However, using RuleEdit to add rules into a rule table
that is empty results in the MAPI_E_CALL_FAILED error.
CAUSE
With an empty rule table, you cannot get a pointer to the
IExchangeFolderRules interface.
RESOLUTION
The easiest way to fix this is to add a rule through the client interface.
However, you can do this programmatically using the IExchangeModifyTable
interface. Either of these methods works and allows RuleEdit to add rules.
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbMsg kbprb KB194937 |
---|
|