Solved

How do I troubleshoot ActiveSync on Exchange 2003?

Posted on 2011-09-21
8
765 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

809 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