How do I troubleshoot ActiveSync on Exchange 2003?

I am unable to get mobile devices to connect to an Exchange 2003 server using ActiveSync.  I've reviewed the suggestions in this article http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html, and verified the following

1.  Exchange 2003 SP2 is installed.
2.  Port 443 is open.
3.  LAN binding order is correct.
4.  Directory Security settings match the recommendations.
5.  ASP.NET is 1.1.4322
6.  HTTP-Keepalives are enabled and set at 480
7.  The IISADMPWD does not exist.
     IPv6 is not installed.
8.  Default website is set to all unassigned, port 80
SSL Certificate - I have a 3rd party SSL certificate that matches the fqdn


When I run a test from http://testexchangeconnectivity.com I get the following error:

Attempting the FolderSync command on the Exchange ActiveSync session.
The test of the FolderSync command failed.
Additional Details
Exception details:
Message: The operation has timed out
Type: System.Net.WebException
Stack trace:
 at System.Net.HttpWebRequest.GetResponse()
 at Microsoft.Exchange.Tools.ExRca.Tests.ActiveSync.ActiveSyncFolderSyncTest.PerformTestReally()

I've tried rebuilding the virtual directory, but that hasn't helped.
mjschneider00Asked:
Who is Participating?
 
mjschneider00Connect With a Mentor Author Commented:
Sorry for the delay in responding to this question.  I finally had an opportunity to take down the mail database and run the eseutil /p repair.  Still running into the same problems when testing activesync via Remote Connectivity Tester.

I've recommended to the customer that we upgrade their system to Exchange 2010.
0
 
e_aravindCommented:
when you try to access the URL
https://<e2k3-be-server>/Microsoft-server-activesync
this should prompt for authen...then it should revert back to the URL "501/505 Error"
0
 
Alan HardistyCo-OwnerCommented:
Any HTTP errors in the test or is that it?

You've been through my article from top to bottom and checked ALL the settings?  (It looks that way - but just making sure).
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
mjschneider00Author Commented:
Thanks for the replies.

e_aravind - When I go to https://<exchange_server>/Microsoft-server-activesync, I do get the prompt for authentication, and after entering in the credentials, I get the HTTP 501/505 Erorr.

alanhardisty - I've been through your article to the point of resetting the virtual directories using Microsoft's KB883380.  I've checked all the settings, and am not getting any HTTP errors through http://testexchangeconnectivity.com.  I did get the 3005 error in the event log and increased the http-keepalives to 480.  I've not had a chance yet to test the suggestions after the KB883380 step.

One thing that is odd with this server, is I can't perform an IIS RESET successfully.   Not all the services start back up, and I end up having to reboot the server to get IIS back up and running.
0
 
Alan HardistyCo-OwnerCommented:
Hmm - sounds nasty!

What doesn't restart with an IISRESET?

Any Application Event Logs that might help around the time you run IISRESET?

Could be database corruption causing you issues.  Can you setup a brand new account for testing and see if that works on the test site?
0
 
mjschneider00Author Commented:
Alan - When I perform an IISRESET it encounters an error when stopping services, so it sends kill commands to the services (since I didn't use the /noforce parameter).  The services that log a 'terminated unexpectedly' event are:

World Wide Web Publishing Service
IIS Admin Service
Microsoft Exchange Routing Engine
Simple Mail Transfer Protocol

When IISRESET attempts to restart the services, the two services that don't come back up are:

World Wide Web Publishing Service
Windows Remote Management (WS-Management)

I'm running the isinteg command listed in your article against the Mailbox database to see if it finds any database corruption.

When you mention setting up a brand new account, are you talking about just creating a new Exchange user?

Thanks!
0
 
Alan HardistyCo-OwnerCommented:
Okay - no probs.

You need to run the eseutil commands as well as isinteg. Isinteg just fixes integrity.  Eseutil /p repairs issues in the database and should be run first, then eseutil /d, followed by isinteg. (minimum of twice).
0
 
mjschneider00Author Commented:
Never found a solution.  Hoping that upgrading to Exchange 2010 will fix the problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.