{"id":55,"date":"2007-10-03T08:31:31","date_gmt":"2007-10-03T08:31:31","guid":{"rendered":"http:\/\/test.bleuanus.nl\/index.php\/active-sync-error-0x80072ee2\/"},"modified":"2018-12-11T16:09:08","modified_gmt":"2018-12-11T15:09:08","slug":"active-sync-error-0x80072ee2","status":"publish","type":"post","link":"https:\/\/www.bleuanus.nl\/index.php\/2007\/10\/03\/active-sync-error-0x80072ee2\/","title":{"rendered":"Active Sync error 0x80072EE2"},"content":{"rendered":"<p class=\"last-modified\">This post was most recently updated on December 11th, 2018<\/p><div><font face=\"Arial\" size=\"2\"><font face=\"Times New Roman\" size=\"3\">While the following problem occurred with a Palm Treo 700w, the below<br \/>\nworkaround may apply to other Windows Mobile 5.0 devices suffering from<br \/>\nsimilar problems.<br \/>\nThe problem appears to be endemic to particular devices and may be<br \/>\nrelated to the way a particular device handles USB connect\/disconnect<br \/>\nevents.<\/p>\n<p>Symptom:<br \/>\n&#8211; ActiveSync DirectPush initially works correctly wirelessly.<br \/>\n&#8211; The Windows Mobile device is then connected to a PC via USB and<br \/>\ncontinues to operate correctly.<br \/>\n&#8211; Once the device has been disconnected, wireless synchronization<br \/>\nfails. ActiveSync times out and clicking &#8220;View Status&#8221; reveals a status<br \/>\ncode of 0x80072EE2.<br \/>\nThe device then refuses to sync wirelessly until a soft reset is<br \/>\nperformed.<\/p>\n<p>Further Details:<br \/>\nThis problem is seen in configurations where the Exchange server being<br \/>\naccessed for synchronization has different external (i.e. public) and<br \/>\ninternal (i.e. private) IP addresses which are normally resolved from<br \/>\nthe same FQDN. (e.g. On the Internet echxg.foobar.com might equate to<br \/>\n99.88.77.66 while on the inside of a NATed network with an internal DNS<br \/>\nit might equate to 10.9.8.7.)<\/p>\n<p>Cause:<br \/>\nThe issue appears to have to do with the Windows Mobile DNS cache not<br \/>\nbeing cleared properly upon a wired\/wireless state transition when the<br \/>\nUSB cable is unplugged. When connected to a PC running the desktop<br \/>\nActiveSync software a Windows Mobile device has proxied wired access to<br \/>\nthe corporate network and performs a DNS lookup of the Exchange<br \/>\nserver&#8217;s FQDN against the internal DNS. This address appears, however,<br \/>\nto remain in the cache even after disconnecting the USB cable and thus<br \/>\nmoving back to the public (internet) address space. ActiveSync on the<br \/>\nWindows Mobile device then fails, as the server&#8217;s internal address is<br \/>\ninaccessible. (A soft reset naturally clears the DNS cache.)<\/p>\n<p>Workaround:<br \/>\nDisable the Windows Mobile DNS cache. This requires a registry<br \/>\nmodification. Windows Mobile does not include a registry editor, but<br \/>\nfree third-party editors are available (such as one from www.phm.lu).<\/p>\n<p>Change the value of:<br \/>\nHKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\InternetSettings\\DnsCacheEnabled<br \/>\nto 0<br \/>\nIf DnsCacheEnable does not exist, create it as a DWORD value.<\/p>\n<p><\/font><\/font><font face=\"Arial\" size=\"2\"><font face=\"Times New Roman\" size=\"3\">A soft reset is necessary for the change to take effect. <\/font><br \/>\n<\/font><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post was most recently updated on December 11th, 2018While the following problem occurred with a Palm Treo 700w, the below workaround may apply to other Windows Mobile 5.0 devices suffering from similar problems. The problem appears to be endemic to particular devices and may be related to the way a particular device handles USB [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}