Activesync not syncing - Error: Activesync encountered a problem on the server 0x85010014

Posted on 2008-11-16
Last Modified: 2013-12-05
I have been working on this problem for the past 24 hours (almost solid), and found no solutions online that worked, or had the exact same symptoms.  I have finally solved this, and am posting it so that others don't have to go through the same garbage I did.


  -  2 servers
  -  Server 1 (Back-End) / SVR01:
     - WIndows Server 2003 R2 Ent x86 (SP2)
     - Domain Controller
     - DNS Server
     - Exchange 2003 SP2: Back-End Server, RPC Back-End
  -  Server 2 (Front-End) / SVR02:
     - WIndows Server 2003 R2 Ent x86 (SP2)
     - Exchange 2003 SP2: Front-End Server, RPC Front-end, SSL Certificate

All Exchange services were working fine through the front-end server to the back-end: OWA (SSL), OMA (SSL), RPC over HTTPS, Activesync (SSL), IMAP (SSL)


  1)  Needed to reload Server 2 (SVR02), in order to reconfigure the disk partitions..
  2)  Uninstalled Microsoft Exchange from Server 2 (SVR02) using the setup files.  The uninstall was successful.
  3)  Removed Server 2 (SVR02) from the domain, and verified that the server was no longer in Active Directory or Exchange System Manager.  The uninstallation of this server from the environment was clean.
  4)  Reloaded Server 2 (SVR02) with Windows 2003 R2 Ent (SP2), and added the new, fully-patched server to the domain with the same name as before:SVR02
  5)  Installed Exchange 2003 SP2 into Server 2 (SVR02), with no issues.
  6)  Installed the SSL Certificate into IIS 6 using the IIS Manager.
  7)  Made Server 2 (SVR02) a front-end server, and front-end RPC Proxy


  -  RPC over HTTPS: Working
  -  OWA (SSL): Working
  -  OMA (SSL): Working
  -  IMAP (SSL): Working
  -  ActiveSync: >>NOT WORKING<<

I enabled verbose event logging for ActiveSync on my device so that I could troubleshoot the problem more efficiently:
  1)  Go to ActiveSync on the device, and select: Menu -> Configure Server
  2)  Continue through the ActiveSync pages until you get to the point where you select what you want to sync (Contacts, Calendar, E-Mail, Tasks)
  3)  Go to Menu -> Advanced
  4)  Change "Event Logging" from "None" to "Verbose"

ActiveSync issue:
Whenever ActiveSync is configured on any Windows Mobile device, using any account in the organization, the following problem sequence comes up:
  1)  ActiveSync attepts to connect, and briefly displays: "Synchronizing Folders", then stops
  2)  Activesync displays the error: "ActiveSync encountered a problem on the server", with the error code 0x85010014
  3)  In the logs on the device (located in \Windows\ActiveSync\Microsoft Exchange0.txt), the following information comes up at the last aprt of the log:
        =-=- [15/11/2008 9:42:24.0] -=-=
        =-=-=-= Server Response =-=-=-
        HTTP/1.1 500 Internal Server Error
        Date: Sat, 15 Nov 2008 16:42:59 GMT
        Server: Microsoft-IIS/6.0
        X-Powered-By: ASP.NET
        Pragma: no-cache
        Content-Type: text/html
        Content-Length: 56
        MS-Server-ActiveSync: 6.5.7638.1
Question by:hp_be_messaging
    1 Comment
    LVL 3

    Accepted Solution


    I ended up doing a lot of troubleshooting, and a lot of research into various articles.

      1)  Verified that there were no SSL requirements in IIS on the back-end server (SVR01): PROBLEM STILL EXISTS
      1)  Reloaded the front-end, Server 2 (SVR02), from scratch again: PROBLEM STILL EXISTS
      2)  Re-issued the SSL certificate, and verified SSL functionality: PROBLEM STILL EXISTS
      3)  Changed the front-end server to not require SSL for any functions: PROBLEM STILL EXISTS
      4)  Removed exchange attributes and rebuilt the mailbox for my own user account: PROBLEM STILL EXISTS (still exists for all accounts)

    After much more troubleshooting and investigation, I decided that the problem must be with the back-end server (SVR01).  I looked around for instructions on reloading / rebuilding the Exchange IIS directories and virtual directories, and finally came across this Microsoft KB Article, which outlined it perfectly: - "How to reset the default virtual directories that are required to provide Outlook Web Access, Exchange ActiveSync, and Outlook Mobile Access services in Exchange Server 2003"

    I used method 2 located in this KB article to rebuild the virtual directories on the back-end Server 01 (SVR01), and it has fixed my problem!  All services are fully functional now.

    >> >> Method 2: Use Adsutil.vbs
    >> >> 1. Back up your IIS Metabase. To do this, follow these steps: a.  Start IIS Manager.
    >> >> b.  Right-click Default Web Site, point to All Tasks, and then click Save Configuration to a File.
    >> >>  
    >> >> 2. Delete the virtual directories for Outlook Web Access. To do this, right-click Exadmin in the left pane of IIS Manager, and then click Delete. Click Yes when you are prompted with the question of whether you want to delete this item.
    >> >>
    >> >> Repeat this step for the following virtual directories: " Exchange
    >> >> " ExchWeb
    >> >> " Microsoft-Server-ActiveSync
    >> >> " OMA
    >> >> " Public
    >> >>  
    >> >> 3. Quit IIS Manager.  
    >> >> 4. Click Start, click Run, type cmd, and then press ENTER.
    >> >> 5. Change to the following folder. In this example, Drive is the hard disk drive where Windows is installed:
    >> >> Drive:\inetpub\adminscripts
    >> >> 6. Type adsutil, and then press ENTER.
    >> >>
    >> >> Important By default, CScript is not the default scripting host for Windows Server 2003. To run the adsutil command, CScript must be configured as the default scripting host. To do this, click Yes if you are prompted to register CScript as you default host for VBscript, and then click OK.
    >> >>
    >> >> Note If you receive a list of adsutil command options, CScript is already configured as the default scripting host for VBscript.
    >> >> 7. Type adsutil delete ds2mb, and then press ENTER.
    >> >>
    >> >> Note To set the default scripting host to WScript, type WScript //H:WScript at the command prompt, press ENTER, and then click OK.
    >> >> 8. Click Start, point to All Programs, point to Administrative Tools, and then click Services.
    >> >> 9. To restart the Microsoft Exchange System Attendant service, follow these steps: a.  Click Start, click Run, type services.msc, and then click OK.
    >> >> b.  Right-click Microsoft Exchange System Attendant, and then click Restart.
    >> >> c.  When you are prompted to restart the dependant Exchange Server services, click Yes.
    >> >>
    >> >> Note When you restart the Microsoft Exchange System Attendant service, the Microsoft Exchange Information Store service is also restarted. In this scenario, your Exchange Server users lose connectivity to their Exchange Server mailboxes.
    >> >>
    >> >> The virtual directories are re-created. To verify that the virtual directories are re-created, start IIS Manager, and then view the Default Web site folder.
    >> >>
    >> >> Important If the virtual directories are not re-created after 15 minutes, restart the computer.
    >> >>  
    >> >> 10. Reset the access permissions to Anonymous. To do this, follow these steps:a.  Start IIS Manager, right-click ExchWeb, click Properties, and then click the Directory Security tab.  
    >> >> b.  Under Authentication and access control click Edit, and then verify that the Enable anonymous access check box is turned on.  
    >> >> c.  Click to select the Integrated Windows authentication check box, click OK, and then click Apply.
    >> >> d.  If an Inheritance Overrides dialog box appears, click Select All, and then click OK.
    >> >> e.  Under Authentication and access control, click Edit, and then click to clear the Integrated Windows authentication check box.
    >> >> f.  Click OK two times, and then quit IIS Manager.
    >> >>  
    >> >> Use a Web browser to verify that you can connect to your Outlook Web Access server. If you are also running other mobility services, verify that you can connect to these services by using an appropriate client.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    To show how to generate a certificate request 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 >> Certificates…
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

    746 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

    17 Experts available now in Live!

    Get 1:1 Help Now