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.

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


View products that this article applies to.

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 ---.

↑ Back to the top


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.

↑ Back to the top


Resolution

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

↑ Back to the top


Status

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

↑ Back to the top


More information

Visit our Windows Phone Forums for more helpful hints and ideas.

↑ Back to the top


Keywords: KB933314, kbexpertiseinter, kbtshoot, kbexchmobility, kbprb

↑ Back to the top

Article Info
Article ID : 933314
Revision : 4
Created on : 5/3/2010
Published on : 5/3/2010
Exists online : False
Views : 347