Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I troubleshoot ActiveSync on Exchange 2003?

Posted on 2011-09-21
8
Medium Priority
?
775 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

610 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