none
ActiveSync Problem RRS feed

  • Question

  • Hi all,


    I have been trying to fix this but no success so far, so any help would be appreciated.

    We have Windows Server 2003 for Small Business Server SP2, IIS 6 , running ASP.NET 2.0.50727 and Exchange 2003 SP2 version 6.5 (build 7638.2)

    We have 4 users to access email through smartphone; 2 Android and 2 iPhone users (one of them is myself). I guess October 31 is when it stopped working for one Android user as I didn't see any emails coming in to her phone. However, emails still sync properly for my phone (iPhone) and another user (Android).

    I replaced SSL certificate for webmail access around mid Oct, but I really don't think it's SSL problem because ActiveSync worked when there was no SSL certificate (I started placing it after I joined the company).

    I tried pretty most of suggestions out there in Google, but no luck so far. I will do my best to list out the things I have tried.

    1. Created SSL certificate again and placed it.
    2. Removed an email account on the phone. Restartd the phone and readded.
    3. Removed the phone partnership from Mobile Admin (https://x.x.x.x/mobileAdmin), and repeated 1.
    4. Made sure the settings for Exchange ActiveSync are good under Exchange System Manager. (Unchanged)
    5. Increased keepalive value from 120 to 600 for Default Web Site under IIS. (It was already enabled)
    6. Made sure ASP.NET is allowed under Web Service Extensions (IIS) (Unchanged)
    7. Checked security settings for all virtual directories; Exchange, exchange-oma, Microsoft-Server-ActiveSync, OMA, Public
    8. Restarted the server.
    9. Made sure 443 is opened.
    10. Match Description to mailbox name when an account is added to a phone.
    11. Increased database size limit for public store (mailbox store setting was already max)
    12. Changed HeartBeat Interval, but reverted back as everything stopped working after the change.
    13. Maybe more....can't recall

    These are just a few places I have looked:

    1. https://alanhardisty.wordpress.com/2010/02/28/exchange-2003-and-activesync-configuration-and-troubleshooting/
    2. https://blogs.msmvps.com/bradley/2009/04/03/iphone-sync-to-sbs-2003/
    3. https://support.microsoft.com/en-us/help/2469722/unable-to-connect-using-exchange-activesync-due-to-exchange-resource-c


    I will post some of event viewer log and partial log from W3SVC1 that I found on the server.

    ----------------

    Unexpected Exchange mailbox Server error: Server: [servername] User: [username@domainname.com] HTTP status

    code: [503]. Verify that the Exchange mailbox Server is working correctly.
    Event ID: 3005

    -----------------

    Exchange mailbox Server response timeout: Server: [servername] User: [username@domainname.com]. Exchange

    ActiveSync Server failed to communicate with the Exchange mailbox server in a timely manner. Verify that the Exchange mailbox Server is working correctly and is not overloaded.
    Event ID: 3007

    ----------------

    Unexpected Exchange mailbox Server error: Server: [servername] User: [username@domainname.com] HTTP status code: [409]. Verify that the Exchange mailbox Server is working correctly.
    Event ID: 3005

    ----------------

    The average of the most recent [200] heartbeat intervals used by clients is less than or equal to [540].  Make sure that your firewall configuration is set to work correctly with Exchange ActiveSync and direct push technology. Specifically, make sure that your firewall is configured so that requests to Exchange ActiveSync do not expire before they have the opportunity to be processed.  For more information about how to configure firewall settings when using Exchange ActiveSync, see Microsoft Knowledge Base article 905013, "Enterprise Firewall Configuration for Exchange ActiveSync Direct Push Technology" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=905013).

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Event ID: 3033

    ----------------

    2017-11-16 17:10:10 W3SVC1 x.x.x.x POST /Microsoft-Server-ActiveSync User=USERNAME&DeviceId=DEVICEID&DeviceType=iPhone&Cmd=Sync&Log=V4TEmSSC:0A0C0D0FS:0A0C0D0SP:1C4I6423S6224R0S0L0H0P 443 USERNAME x.x.x.x Apple-iPhone8C1/1407.60 500 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 207 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/-FlatUrlSpace-/9805173a2ee3b6458607cd811c4a2385-121ecc5/ - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/-FlatUrlSpace-/9805173a2ee3b6458607cd811c4a2385-121ecc5/ - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 207 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x DELETE /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 2 2148074254
    2017-11-16 17:10:10 W3SVC1 x.x.x.x DELETE /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x DELETE /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 200 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/Inbox - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/Inbox - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 207 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PUT /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PUT /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 201 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x POST /Microsoft-Server-ActiveSync User=USERNAME&DeviceId=DEVICEID&DeviceType=iPhone&Cmd=Sync&Log=V4TEmSFC:0A0C0D0FS:0A0C0D0SP:1C5I3440S67698R0S0L0H0P 443 USERNAME 68.144.142.172 Apple-iPhone8C1/1407.60 200 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 207 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x GET /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 2 2148074254
    2017-11-16 17:10:10 W3SVC1 x.x.x.x GET /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x GET /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID/9805173a2ee3b6458607cd811c4a2385-121ecc5 - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 200 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x PROPFIND /exchange-oma/username@domainname.com/NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/DEVICEID - 80 DOMAIN\USERNAME x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 207 0 0
    2017-11-16 17:10:10 W3SVC1 x.x.x.x SEARCH /exchange-oma/username@domainname.com/ - 80 - x.x.x.x Microsoft-Server-ActiveSync/6.5.7638.1 401 1 0

    -------------

    I masked IP, username, domain name and device ID from W3SVC1 log. I believe this is the part where my iPhone tries to sync after configuring an account on the phone. Plus, status of sync from Mobile Admin said 'OK'.


    MS Remote Connectivity Analyzer (https://testconnectivity.microsoft.com/) shows failure at first.

    ------------

    Attempting the initial sync to the Inbox folder. This initial sync won't return any data.
         An error occurred while the Sync command was being tested.
         
        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.Extensions.RcaHttpRequest.GetResponse()
    Elapsed Time: 100201 ms.

    ----------------

    I creating a new Active Directory account for test and it actually works. The Analyzer result shows it's good too. Exported my emails as .pst and imported to the test account. Then, it stopped working. I created a folder and moved everything in the inbox, then it worked again.

    After doing things, I haven't seen those events from the Event Viewer.

    However, it stopped working again after few days. The funny thing is the test result from the Analyzer stills shows good.

    One thing I noticed on the server is that there is w3wp.exe process running at 20~25% and I am not sure this is related.

    I am going to install KB941439 hotfix when I can and see if it does anything.

    I know this is a long post but I wanted provide the information as much as I could. Any help is greatly appreciated.

    Thanks,

    Jay

    Thursday, November 16, 2017 9:16 PM

All replies