You are currently offline, waiting for your internet to reconnect

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

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 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
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
Forums Visit our Windows Phone Forums for more helpful hints and ideas.
Properties

Article ID: 933314 - Last Review: 05/03/2010 21:52:28 - Revision: 4.0

Microsoft Exchange Server 2007 Standard Edition, Microsoft Exchange Server 2007 Enterprise Edition, Microsoft ActiveSync 4.5, Windows Mobile 6.5 Standard

  • kbprb kbexchmobility kbtshoot kbexpertiseinter KB933314
Feedback
"language-es-py">Paraguay - Español
Venezuela - Español
/html>microsoft.com/c.gif?DI=4050&did=1&t=">d=1&t=">ing = 1; var Route = "76500"; var Ctrl = ""; document.write(" ')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> y>