Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Intermittent poison messages due to NotInBagPropertyErrorException in Exchange Server 2019 and 2016


View products that this article applies to.

Symptoms

Intermittently messages are not delivered and no non-delivery report (NDR) is generated in Microsoft Exchange Server 2019 or Exchange Server 2016. You eventually find that the missing messages are landed in the Poison message queue.

In addition, the following events are logged in the application log:

Time:     DateTime
ID:       1051
Level:    Warning
Source: MSExchange Extensibility
Machine:  
Message:  Agent 'Mailbox Rules Agent' caused an unhandled exception 'NotInBagPropertyErrorException: [0x66a5000b] SendReadNotifications' while handling event 'OnPromotedMessage'

Time:     DateTime
ID:       25012
Level:    Error
Source: MSExchangeTransportDelivery
Machine:  
Message:  An unhandled exception was thrown while processing data from client IP address <IPAddress>. SMTP state transitions: WaitingForGreeting -> GreetingReceived (EhloProcessed)
GreetingReceived -> WaitingForGreeting (XAnonymousTlsProcessed)
WaitingForGreeting -> GreetingReceived (EhloProcessed)
GreetingReceived -> GreetingReceived (XExpsProcessed)
GreetingReceived -> GreetingReceived (XSessionParamsProcessed)
GreetingReceived -> MailTransactionStarted (MailProcessed)
MailTransactionStarted -> WaitingForMoreRecipientsOrData (RcptProcessed)
WaitingForMoreRecipientsOrData -> ReceivingBdatChunks (BdatProcessed)
ReceivingBdatChunks -> ReceivingBdatChunks (BdatProcessed). Exception System.ExInvalidOperationException: Agent 'Mailbox Rules Agent' encountered an unexpected error while handling event 'OnPromotedMessage'. ---> Microsoft.Exchange.Data.Storage.NotInBagPropertyErrorException: [0x66a5000b] SendReadNotifications


Time:     DateTime
ID:       10003
Level:    Error
Source: MSExchangeTransportDelivery
Machine: 
Message:  The transport process failed during message processing with the following call stack: System.ExInvalidOperationException: Agent 'Mailbox Rules Agent' encountered an unexpected error while handling event 'OnPromotedMessage'. ---> Microsoft.Exchange.Data.Storage.NotInBagPropertyErrorException: [0x66a5000b] SendReadNotifications

↑ Back to the top


Resolution

To fix this issue, install one of the following updates:

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: CI122126, kbHotfixAuto, kbqfe, kbfix, kb, intermittent poison message queue

↑ Back to the top

Article Info
Article ID : 4570252
Revision : 5
Created on : 9/15/2020
Published on : 9/15/2020
Exists online : False
Views : 306