Microsoft KB Archive/933314

From BetaArchive Wiki
Knowledge Base


Mobile devices cannot send e-mail by using the AirSync feature in an Exchange Server 2007 organization that has more than 1000 accepted domains

Article ID: 933314

Article Last Modified on 8/27/2007



APPLIES TO

  • Microsoft Exchange Server 2007 Standard Edition
  • Microsoft Exchange Server 2007 Enterprise Edition



SYMPTOMS

If a Microsoft Exchange Server 2007 organization has more than one thousand accepted domains, mobile devices cannot send e-mail by using the AirSync feature to synchronize with the corresponding Exchange 2007 mailboxes. The mail remains in the Outbox folder.

When this problem occurs, the following event is logged on the Exchange server that is running the Client Access Server (CAS) role: Event ID :1008
Raw Event ID : 1008
Record Nr.   : 103021
Category     : Requests
Source       : MSExchange ActiveSync
Type         : Warning
Message      : An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an  outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same  item from multiple computers. If this is the case, Exchange ActiveSync will re-create the partnership with the  device. Items will be updated at the next synchronization.
URL=/Microsoft-Server-ActiveSync? User=activesynctester&DeviceId=6F24CAD599A5BF1A690246B8C68FAE8D&DeviceType=PocketPC&Cmd=SendMail&SaveInSent=T
--- Exception start ---
Exception type: Microsoft.Exchange.Data.Directory.ADSizelimitExceededException
Exception message: Current search restrictions cause too many objects to be returned from domain.com.
Exception level: 0
Exception stack trace:    at Microsoft.Exchange.Data.Directory.ADSession.AnalyzeDirectoryError(PooledLdapConnection  connection, DirectoryRequest request, DirectoryException de, Int32& retries, Int32 maxRetries)
   at Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId,  QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties,  CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator)
   at Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId, QueryScope scope, QueryFilter filter,  SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCtor, CreateObjectsDelegate  arrayCtor)
   at Microsoft.Exchange.Data.Directory.ADSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter  filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.Find[TResult](ADObjectId  rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetDefaultAcceptedDomain()
   at Microsoft.Exchange.AirSync.AirSyncUtility.get_DefaultAcceptedDomain()
   at Microsoft.Exchange.AirSync.SendMailBase.ParseInputToMessage(MessageItem message)
   at Microsoft.Exchange.AirSync.SendMailCommand.Execute()
   at Microsoft.Exchange.AirSync.Command.WorkerThread()
Inner exception follows...
Exception type: System.DirectoryServices.Protocols.DirectoryOperationException
Exception message: The size limit was exceeded
Exception level: 1
Exception stack trace:    at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId,  LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)
   at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan  requestTimeout)
   at Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation  ldapOperation)
   at Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId,  QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties,  CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator)
--- Exception end ---.


CAUSE

When AirSync calls the ADSystemConfigurationSession.GetDefaultAcceptedDomain method, AirSync tries to read all accepted domains. Then, AirSync filters on the client side for the default domain. If the Exchange Server 2007 organization has more than one thousand accepted domain objects, the Active Directory directory service returns an error. Therefore, AirSync cannot synchronize successfully.

RESOLUTION

To resolve this problem, install Update Rollup 4 for Exchange 2007. For more information about Update Rollup 4 for Exchange 2007, click the following article number to view the article in the Microsoft Knowledge Base:

940006 Description of Update Rollup 4 for Exchange 2007


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Keywords: kbtshoot kbprb kbexchmobility kbexpertiseinter KB933314