Event ID: 20501

Posted on 2009-04-23
Last Modified: 2012-06-27
Blackberry Professional Software in a Exchange 2007 environment.

Event Type: Warning
Event Source: BlackBerry Messaging Agent BPS Agent 1
Event Category: None
Event ID: 20501
Date: 08/04/2009
Time: 8:54:36 AM
User: N/A
Computer: BPS
{} MsgMemStateDb::AddMessageState - EntryId is invalid

I have seen a few questions, buy no answers to why I am getting many of these messages. Everything "seems" fine though. User gets emails, nothing seems to be missing. I just get a bunch of these from what seems to be when a message gets passed though the BPServer
Found in BPS_MAGT_01.txt

[40000] (04/08 15:17:15.446):{0x10EC} [BIPP] PingResponse 1534 received

[40423] (04/08 15:18:00.915):{0x1088} {} Queuing new mail through notification (external). EntryId=16979

[40724] (04/08 15:18:00.915):{0x111C} {} Get record key for this MAPI object, EntryId=16979

[40435] (04/08 15:18:00.915):{0x111C} {} Queuing new mail through notification. EntryId=16979. Msgs Pending 0

[30085] (04/08 15:18:00.915):{0x111C} {} New mail has arrived, EntryId=16979

[20501] (04/08 15:18:00.915):{0x111C} {} MsgMemStateDb::AddMessageState - EntryId is invalid

[40287] (04/08 15:18:00.931):{0x111C} {} Queuing message, RefId=-2139227383, EntryId=16979, Posted=04/08 15:18:00, Delivered=04/08 15:18:00

[30066] (04/08 15:18:00.931):{0x111C} Total Msgs Pending 1

[30081] (04/08 15:18:00.946):{0x111C} {} Sending message to device, size=520, EntryId=16979, RefId=-2139227383, TransactionId=-908362632, Tag=555

[40279] (04/08 15:18:00.946):{0x111C} {} SubmitToRelaySendQ, Tag=555

[40000] (04/08 15:18:00.946):{0x10F0} [BIPP] Send data, Tag=555

[40000] (04/08 15:18:04.056):{0x10EC} [BIPP] Received status DELIVERED, Tag=555

[30097] (04/08 15:18:04.056):{0x111C} {} Message has been delivered to device, Tag=555, EntryId=16979

Open in new window

Question by:Crenor
    LVL 26

    Expert Comment

    by:Gary Cutri
    Hi, just start the BlackBerry Database Consistency Service on the BES (its disabled by default).  Also turn on Hard Delete reconciliation by following these steps below:

    1. Open the BlackBerry Professional Manager.
    2. Select the Home tab.
    3. Click Server Properties.
    4. Select Messaging.
    5. Set Hard Deletes Reconciliation to True.

    Once this is done restart the server when possible and if the error still occurs we can run a "dbcc checkdb" on the database to see if any tables are corrupt.

    Author Comment

    That did not work.
    So I found out what is not working.
    Messages are not getting marked as read, this is a must have feature... lots of fun

    Expert Comment

    Any solution on this one?

    Author Comment

    I got the messages to mostly work (sometimes they are slow) by wiping the device and re-activating it.
    But I am still getting the messages.

    On the outlook side I am also getting a lot of Sync Issues - Conflicts


    Accepted Solution

    I called Blackberry directly and they said don't worry...

    The sync issues I had in Outlook were due to using cached mode, turn that off and the sync errors go away.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Having now spent 3 months on the iPhone, I am at a loss as to how anyone would choose this device for business use. After many years using Blackberry phones (several 7xxx models and, until recently, an 8100 Pearl) I have reluctantly had to switch to…
    I felt secure communicating on the BBM... Till some time back!! It was probably the fact that the BBM messages do not travel over the internet was making me feel 'secure' about it, or was it the fact that BBM only works on a BlackBerry Devices a…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now