How to get Exchange ActiveSync to work properly.

nashtcs
nashtcs used Ask the Experts™
on
ActiveSnc is not working externally for one of my clients. I am testing using a tool on this website: https://www.testexchangeconnectivity.com. The tool works as I've tested ActiveSync before. But, when I run it for this client it fails and gives this as a reason:

Attempting an ActiveSync session with server
  Errors were encountered while testing the ActiveSync session
   Test Steps
   Attempting to send OPTIONS command to server
  Testing the OPTIONS command failed. See Additional Details for more info
   Additional Details
  Exception Details:
Message: The underlying connection was closed: An unexpected error occurred on a receive.
Type: System.Net.WebException
Stack Trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Tools.ExRca.Tests.ActiveSync.ActiveSyncOptionsTest.PerformTestReally()
Exception Details:
Message: The underlying connection was closed: An unexpected error occurred on a receive.
Type: System.Net.WebException
Stack Trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Tools.ExRca.Tests.ActiveSync.ActiveSyncOptionsTest.PerformTestReally()
Exception Details:
Message: The underlying connection was closed: An unexpected error occurred on a receive.
Type: System.Net.WebException
Stack Trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Tools.ExRca.Tests.ActiveSync.ActiveSyncOptionsTest.PerformTestReally()
 
The server is 2008 standard sp2 with Exchange 2007 sp2. It is also a Domain Conttroller running DNS. There is a valid ssl certificate on the server, and ActiveSync is enabled in Exchange. Why is it not working? Any help would be most appreciated.
 
 

 
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Is this not working for all users, some users, or just one?
Have you updated Exchange 2007 to the latest updates?
Is Windows 2008 updated to the latest updates?
Is the Certificate a 3rd party SSL SAN/UCC Certificate, or the one that was installed when you installed Exchange 2007?
Commented:
It's not working for all users. I need to update Exchange to rollup 2. Windows is up to date, and the cert is 3rd party.
Alan HardistyCo-Owner
Top Expert 2011
Commented:
The latest Rollup available is Service Pack 2 Rollup 3 and can be downloaded from:

http://www.microsoft.com/downloads/details.aspx?FamilyID=c781326a-7b81-444d-9836-760fa1e3a28a&displaylang=en

Is the SSL cert a SAN / UCC cert (multi-name)?

Were the users migrated from Exchange 2003 or is this a new Exchange 2007 installation?
Justin DurrantSr. Engineer - Windows Server/Virtualization

Commented:
You need a SAN or UC certificate.  I recommend GoDaddy  or www.domainsforexchange.net

http://blog.sembee.co.uk/archive/2008/05/30/78.aspx

One of the most important aspects of a successful Exchange messaging deployment is how you configure your SSL certificates for securing client communication to your Exchange infrastructure. This is because all communication between Outlook clients and the Autodiscover service  endpoint, in addition to communication between the Outlook client and Exchange services, occurs over an SSL channel. For this communication to occur without failing, you must have a valid SSL certificate installed. For  a certificate to be considered valid, it must meet the following criteria:

- The client can follow the certificate chain up to the trusted root.
- The name matches the URL that the client is trying to communicate with.
- The certificate is current and has not expired.

Remember,  the cert request needs to be generated by Exchange using PowerShell.
 http://technet.microsoft.com/en-us/library/aa998327.aspx

When you get the response back from the CA, use the import-certificate command to process  and enable it for SMTP, IIS, etc.
http://technet.microsoft.com/en-us/library/bb124424.aspx







Author

Commented:
I already have the necessary cert. I think it's an IIS issue because OWA is functioning normally either.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial