Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


February 28, 2005

Making Exchange ActiveSync Work

Cheap and simple wireless access
RSS
View this exclusive article with VIP access -- click here to join |
See More Exchange Information Store Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

Troubleshooting
The Windows Mobile implementations of EAS provide error codes when things go wrong. (Sadly, the PalmOne Treo 650 reports only a few generic errors and has no device logging, making it a much more difficult device with which to troubleshoot.) A complete discussion of EAS troubleshooting would occupy an entire article in itself—for excellent information about this topic, see Jim Westmoreland's "TechNet Support WebCast: Troubleshooting Microsoft Exchange Server 2003 ActiveSync issues" (http://support.microsoft.com/?kbid=836024)—but I can give you a few highlights to help you get started.

The most important foundation for troubleshooting is to understand the error codes you're getting. Microsoft hasn't published a comprehensive list of all potential error codes, but the EAS-troubleshooting Webcast transcript has some valuable nuggets of information. Here's some information about several common errors:

  • MIS_XX or SYNC_XX errors indicate a problem with the EAS server. For instance, SYNC_5 typically occurs because integrated authentication is disabled on the EAS virtual directory.
  • HTTP_XXX errors indicate communication problems between the device and the server. These errors can be pretty generic: For example, HTTP_401 means you have an authentication problem, but the error message doesn't display the actual problem. If you get these errors, check the IIS logs and your EAS server application event log. When I first tried to set up EAS, I got this error and, thanks to the event log, quickly determined that bad authentication settings on my front-end server were causing it. HTTP_403 means that the target account doesn't have permission to use EAS.
  • Internet_XX errors indicate communication problems with the device and the Internet. For example, INTERNET_7 means that the device can't resolve the DNS name you entered for the server, and INTERNET_45 and INTERNET_55 typically mean that the synchronization failed because the server certificate couldn't be validated.
  • ConnMgr_XX errors appear when the Connection Manager software (e.g., the client side of EAS) encounters an error. These errors are fairly rare.
  • Dev_XX errors are reported by the device. For example, the common DEV_1 error tells you that the device doesn't have enough free memory to complete the synchronization, and DEV_3 indicates that a timeout occurred during the synchronization.
  • Error codes that begin with 0x are Windows HResult error codes. You'll see these errors only if some kind of unexpected (and hence, uncaught) error occurs.

The first way to test whether EAS is working is to see whether you can reach the \Microsoft-Server-ActiveSync directory on your Exchange server. You should always get a 501 Not implemented message when you try to access this directory by using an HTTP GET request, regardless of the device you're using or the presence of SSL. To test whether EAS is working at all, try using a desktop machine inside your firewall to load that URL. If that works, try loading the URL on your device's Web browser. If you can't resolve it with SSL, try disabling SSL. If you still can't load it, you're probably experiencing some kind of name-resolution problem. . . .


Already a VIP member?
Please log on to view the full article

Why become a VIP member?

VIP-only online access
VIP CD delivered twice a year: offline access to the entire Windows IT Pro article library
Monthly issue of your choice of Windows IT Pro or SQL Server Magazine

Subscribe Now
Reader Comments
Thanks - it's coming like a freight train here, and there's not much info out there....

theitdude January 18, 2007 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Exchange Server and Outlook Whitepapers Email Controls and Regulatory Compliance

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Best Practice Tips for Managing and Supporting User-Owned Smartphones

Bail Out Your Exchange Environment

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement