PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2007, 06:35 PM
n8mack33's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
 
Join Date: Feb 2007
Posts: 175
Reputation: 15
n8mack33 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Exchange DNS registry edit with custom roms

I have been using the registry edit described below to fix the problem described below. The registry edit no longer seems to work on custom roms (I have used Colnels and currently BigJ) for both 3.3 and 3.5 roms. Does anyone have any ideas? Perhaps the registry entry belongs in another location?

Thanks for any help or ideas. It is a pain to reset my device everytime I disconnect from my work computer. By the way, the correct entry is dnscacheenable (without a d at the end) - there is some debate because of the way it is described in the post.

__

While 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 connect/disconnect
events.

Symptom:
- ActiveSync DirectPush initially works correctly wirelessly.
- The Windows Mobile device is then connected to a PC via USB and
continues to operate correctly.
- Once the device has been disconnected, wireless synchronization
fails. ActiveSync times out and clicking "View Status" reveals a status
code of 0x80072EE2.
The device then refuses to sync wirelessly until a soft reset is
performed.

Further Details:
This problem is seen in configurations where the Exchange server being
accessed for synchronization has different external (i.e. public) and
internal (i.e. private) IP addresses which are normally resolved from
the same FQDN. (e.g. On the Internet echxg.foobar.com might equate to
99.88.77.66 while on the inside of a NATed network with an internal DNS
it might equate to 10.9.8.7.)

Cause:
The issue appears to have to do with the Windows Mobile DNS cache not
being cleared properly upon a wired/wireless state transition when the
USB cable is unplugged. When connected to a PC running the desktop
ActiveSync software a Windows Mobile device has proxied wired access to
the corporate network and performs a DNS lookup of the Exchange
server's FQDN against the internal DNS. This address appears, however,
to remain in the cache even after disconnecting the USB cable and thus
moving back to the public (internet) address space. ActiveSync on the
Windows Mobile device then fails, as the server's internal address is
inaccessible. (A soft reset naturally clears the DNS cache.)

Workaround:
Disable the Windows Mobile DNS cache. This requires a registry
modification. Windows Mobile does not include a registry editor, but
free third-party editors are available (such as one from www.phm.lu).

Change the value of:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Curre ntVersion\InternetSettings\DnsCacheEnabled
to 0
If DnsCacheEnable does not exist, create it as a DWORD value.

A soft reset is necessary for the change to take effect.
Reply With Quote
  #2 (permalink)  
Old 05-20-2007, 08:03 PM
schettj's Avatar
morsus mihi
Offline
Pocket PC: iPhone 4
Carrier: AT&T
Location: Not from around these parts
 
Join Date: Oct 2006
Posts: 3,017
Reputation: 3616
schettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Its supposed to be blah\blah\blah\DnsCacheEnable

Note, no d on the end.

Are you doing DnsCacheEnable or DnsCacheEnabled?
Reply With Quote
  #3 (permalink)  
Old 05-21-2007, 01:46 AM
n8mack33's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
Threadstarter
 
Join Date: Feb 2007
Posts: 175
Reputation: 15
n8mack33 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Yes, I am using dnscacheenable with no d at the end.

Anyone?
Reply With Quote
  #4 (permalink)  
Old 05-22-2007, 12:07 AM
n8mack33's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
Threadstarter
 
Join Date: Feb 2007
Posts: 175
Reputation: 15
n8mack33 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Is there some sort of certificate I could get or something like that? I really have no idea about server configurations.
Reply With Quote
  #5 (permalink)  
Old 07-13-2007, 08:53 PM
n8mack33's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
Threadstarter
 
Join Date: Feb 2007
Posts: 175
Reputation: 15
n8mack33 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Bummer - looks like the registry fix discussed below that works for 2.x roms (but not custom 3.x roms) doesn't work on the offical 3.3 that was just released.

So I'm still hoping someone will come up with an idea that might help...
Reply With Quote
  #6 (permalink)  
Old 09-12-2007, 05:39 PM
n8mack33's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
Threadstarter
 
Join Date: Feb 2007
Posts: 175
Reputation: 15
n8mack33 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
WM6 issues

The registry edit doesn't work for WM6 either. Does anyone know the correct registry edit for WM6 or is willing to help me figure it out?
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 05:19 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com