ActiveSync mobile connection issue (Exchange 2010)
Since a couple of days I'm trying to configure the ActiveSync on Exchange 2010 to work with mobile devices in the company. When use Remote Connectivity Analyzer usually can connect with ActiveSync but sometimes get the error 502 - Bad Gateway. The server is exposed to the internet thru the Apache reverse proxy (with OWA enabled and working correctly). When trying to connect any mobile device I have the answer "cannot connect to the server" without any particular message in log files on the Server. The message I have every 30 minutes in the server's Event Viewer is A runtime exception occurred in AuditLogSearchServicelet's worker while processing a request. Exception: Microsoft.Exchange.Data.Storage.UserHasNoMailboxException: The user does not have an Exchange mailbox. at Microsoft.Exchange.Data.Storage.ExchangePrincipal..ctor(ADUser user, ADObjectId mdb, DatabaseLocationInfo databaseLocationInfo, RemotingOptions remotingOptions, Boolean asArchive) at Microsoft.Exchange.Data.Storage.ExchangePrincipal.InternalFromADUser(ADUser user, RemotingOptions remotingOptions) at Microsoft.Exchange.Management.SystemConfigurationTasks.AuditLogSearchDataProviderBase.GetMailboxSession(ADUser mailbox, String action) at Microsoft.Exchange.Servicelets.AuditLogSearch.TenantWorker.GetSearchWorker(ADUser arbMbx) at Microsoft.Exchange.Servicelets.AuditLogSearch.TenantWorker.DoWork() I use the test account without administrative rights. I'm also getting the following info in the IIS log when ExRCA connection test is successful: 2012-05-09 12:29:30 192.168.2.50 POST /Microsoft-Server-ActiveSync/default.eas Cmd=Sync&User=username&DeviceId=1399583192&DeviceType=TestActiveSyncConnectivity 443 - 192.168.2.51 Microsoft-Server-ActiveSync/12.0+(TestExchangeConnectivity.com) 401 2 5 0 And with rejected connection there is a message: 2012-05-09 12:33:29 192.168.2.50 POST /Microsoft-Server-ActiveSync/default.eas Cmd=Sync&User=username&DeviceId=1399583192&DeviceType=TestActiveSyncConnectivity 443 - 192.168.2.51 Microsoft-Server-ActiveSync/12.0+(TestExchangeConnectivity.com) 401 2 5 46 I have no idea what's the reason. I think about the certificate errors (self signed certs), or maybe some wrong redirection on reverse proxy but after many tried changes I still cannot resolve the problem. I have tried it on Android based mobile phone and also on iPad (both of them have the ActiveSync connection tools built-in). Can anyone give me any idea?
May 9th, 2012 9:03am

Thanks for your update and confirmation. Have a nice day :)Fiona Liao TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2012 5:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics