Solved

How do I troubleshoot ActiveSync on Exchange 2003?

Posted on 2011-09-21
8
766 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:mjschneider00
  • 4
  • 3
8 Comments
 
LVL 26

Expert Comment

by:e_aravind
ID: 36578616
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
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36578761
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
 

Author Comment

by:mjschneider00
ID: 36587888
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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36590240
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
 

Author Comment

by:mjschneider00
ID: 36590946
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
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36591494
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
 

Accepted Solution

by:
mjschneider00 earned 0 total points
ID: 36946627
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
 

Author Closing Comment

by:mjschneider00
ID: 36972767
Never found a solution.  Hoping that upgrading to Exchange 2010 will fix the problem.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
In-place Upgrading Dirsync to Azure AD Connect
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question