Solved

How do I troubleshoot ActiveSync on Exchange 2003?

Posted on 2011-09-21
8
763 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:mjschneider00
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Never found a solution.  Hoping that upgrading to Exchange 2010 will fix the problem.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now