Users receive Failed to Remove Delegate error when attempting to remove a delegate

This article applies to the following products:
     Messageware CalendarShare 2007

 

SYMPTOM

 

Users receive a Failed to Remove Delegate when attempting to remove a delegate using the Manage Delegates link in OWA. In addition a MSExchange Common error is logged in the event logs.

 

Log Name:      Application

Source:        MSExchange Common

Date:          <DATE_WHEN_ERROR_OCCURS>

Event ID:      4999

Task Category: General

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      <SERVER_NAME>

Description:

Watson report about to be sent to dw20.exe for process id: 3532, with parameters: E12IIS, c-RTL-AMD64, 08.01.0240.006, WS, M.E.D.Storage, M.E.D.S.DelegateUser.Equals, System.NullReferenceException, d493, 08.01.0393.001.  ErrorReportingEnabled: False

 

CAUSE

 

This behavior is unrelated to the Messageware CalendarShare and is related to an issue with EWS.  When a delegate's mailbox is deleted from the Exchange Server 2007 organization; the corresponding delegate entry in the properties of the principal mailbox is not deleted.  When adding a delegate to the list, the orphaned delegate entry is converted to NULL, which then causes the error to occur when removing a delegate.

 

MORE INFORMATION

 

To correct the EWS error that is occurring the Exchange Server 2007 has to be upgraded to Service Pack 2 Update Rollup 2.

 

Exchange Server 2007 Service Pack 2

http://www.microsoft.com/downloads/details.aspx?FamilyID=4c4bd2a3-5e50-42b0-8bbb-2cc9afe3216a&displaylang=en

 

Description of Update Rollup 2 for Microsoft Exchange Server 2007 Service Pack 2

http://support.microsoft.com/kb/972076

 

The RemoveDelegate operation of EWS fails, and then a "500 internal server" error response and event ID 4999 are logged in an Exchange Server 2007 server

http://support.microsoft.com/kb/975903/

 

 

 

This article applies to the following products:
     Messageware CalendarShare 2007