Microsoft KB Archive/194937

= PRB: RuleEdit Fails with MAPI_E_CALL_FAILED (Error 80004005) =

Article ID: 194937

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Server 2003 Software Development Kit

-



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.

Keywords: kbmsg kbprb KB194937

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.