FIX: SQL Mail Procedures May Intermittently Fail with Error 0x8004010f

Article translations Article translations
Article ID: 290058 - View products that this article applies to.
This article was previously published under Q290058
BUG #: 351682 (SHILOH_bugs)
Expand all | Collapse all

SYMPTOMS

The SQL Mail extended stored procedures xp_readmail and xp_deletemail may intermittently fail with error 0x8004010f (MAPI_E_NOT_FOUND), and calls to the xp_findnextmsg SQL Mail extended stored procedure prematurely stop iterating over the messages in the specified mailbox.

RESOLUTION

To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

Because of the bug in the underlying routine used to look up a mail message by an internal "key" value, xp_readmail or xp_deletemail might return this error incorrectly. Xp_findnextmsg internally catches this error and interprets it as having reached the end of the messages in the inbox, so xp_findnextmsg returns with a status of 1 before it has iterated over all of the messages.

Because the sp_processmail system stored procedure relies on these underlying mail extended stored procedures, it might also fail to process all messages correctly.

Properties

Article ID: 290058 - Last Review: November 6, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB290058

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com