Sync over GPRS falis after IP-change - Networking

Hi,
I have the following problem with my HTC Tornado (WM6 – CE OS 5.2.19202). I’m using push mail over SSL with an Exchange 2003 Server. It has a dynamic IP, so I use dyndns.org. After every IP-change it’s not possible anymore to sync till I restart ActiveSync on the device, or enable, disable the flight mode.
When I used WM5 on the same device this issue was possible to fix by create the dword registry key:
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\DnsCacheEnabled=0
But on my new WM6 ROM is has no effect anymore. Has anyone experience with that configuration, may be a newer will ROM fix it?
Greetings Mirici
----
Free calculator with numeric solver for WM5/6 Smartphones: http://www.ntalk.de/graph

Hi Mirici,
I think all WM6 devices have this problem with Exchange push-mail on dyndns-servers.
I ended up programming a restart activesync script on the device. (every 120mins)
Don

Mail servers should not be run on dynamic IPs. Unless you are routing mail through another SMTP server you will have issues with reverse IP lookups and being blocked on dynamic IP blacklists.
If you can afford an SSL cert it should be easy enough to get a static IP. Or are you signing your own certs and installing root certificates on each WM device?

If you use a relay-smtp-server from your ISP as a send-connector, blacklisting should not be a problem. I have no problems running my Exchange2007 or 2010RC on a dynamic IP.
Installing the SSL-certificates on the mobile devices must be done, but what has this to do with a fixed IP? I use my toplevel DE domain and cname it to my dynamic name.
This is a exchange-server for private use. In a company I would surely have a fixed IP, but for private use a fixed IP is too expensive, at least here in Germany.
Anybody has a solution for this not involving to script-kill this ActiveSync process? The repllog.exe must be killed when the IP changes, because it does only do a DNS-query ONCE in its runtime.

I have the same problem with dyn. ip.
Im looking for a script or program that kills activesync when the serverconnection is lost an then restarts pushmail

Related

Activesync Support Code : 80072efd Easy Fix

First Post. And just wanted to help
I finally found the solution to an ongoing issue on my machine
"The server could not be reached. This can be caused by temporary network conditions. Support Code:80072efd"
I have a t-mobile mda with K-AM_WWE_216901_2169101_020710_ship rom installed and a windows xp sp 2 machine; I also have an exchange server sp2. I have been testing this phone big-time to rollout for numerous clients.
The problem came in after I had push mail working and went to sync locally over USB or Bluetooth. Active sync 4.1 would give me the error.
The solution was as follows for me
My mx record points to mail.domain.com but my server name is server.domain.com so I entered an "A" record in dns on my dns server named mail to point at the local ip address.
All was solved
I also ran into a problem on push mail early on where it would sync once and then not again, the issue was as easy in the default web page I turned on "enable keep alives" and changed the timeout to 1800 seconds.
I hope this helps.
ActiveSync version 4.2 made a change to how it interacts with the Windows networking stack to use Layered Service Providers (LSPs) on outgoing Desktop-Pass-Through connections. This allows for improved compatibility & policy compliance in environments where connections to the internet must be passed through these LSPs (ISA Proxy is one such example).
Unfortunately, it appears this change has caused some issues for a small segment of users who have LSPs that interfere with ActiveSync communication.
There is a registry key which can be created to essentially remove this change & revert to ActiveSync 4.1 behaviour. This key is:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"AllowLSP"=dword:0
This posting is provided "AS IS" with no warranties, and confers no rights.
Original post: http://blogs.msdn.com/jasonlan/archive/2006/07/07/659348.aspx
Thanks win_user
win_user's post was instant fix. Been looking for this for a while. Thanks
i have still the same problem. do i have to create the REG_WORD Key as binary, decimal or hexadecimal?
To create it is necessary key DWORD - in both systems of calculation equally "0"
Thanks to win_user--solved the problem perfectly.
http://www.pocketpcfaq.com/faqs/activesync/exchange_errors.php

Activesync workoround via wlan / wifi sync

I'm rather surprised not to have seen third party support step up to fill in Activesync's worthless inability to sync over wifi or wlan. It would be very nice to revive this forgotten feature. Don't you people remember the uproar it caused when MS removed it?
Anyhow, I'm almost certain there's a work-around. Has anyone seen or heard anything in development?
Why revive this feature?
1. For the sheer convenience of not having to go through exchange servers or third party services especially when they may not be available to you
2. To sync user specific software that's otherwise not syncable OTA
3. Greater freedom share files over a wlan/wifi connection especially with these new and faster broadband networks (ev-do, etc)
4. Not to have to make special trips to your workstation just to sync..
I've found a workaround - sorry it's in German - here:
http://www.mypocketpc.ch/Workshops/15899.aspx
But it seems that since ActiveSync 4.5 you need to configure a DOMAIN on the pocketPC, not only login and password.
Does anybody know how to set something like a "pseudo domain" or if the PC has a "default domain", if no domain is set?
I will try to translate the workaround now:
In earlier versions of ActiveSync WLAN Sync was possible (last known version 3.8), since version 4.x it was removed..
You can do a remote WLAN Sync as followed:
Start ActiveSync on the PocketPC. Go to Options > Server OR Configure Server [depends on your ActiveSync Version]
Enter the IP of the Windows PC. [if you don't know do: Start > Run > cmd > ipconfig /all ]
Enter Login and Password which are the same as on your Windows PC. [SSL I think should be deactivated]
IN v4.5 YOU HAVE A PROBLEM HERE: if you don't enter a DOMAIN, the configuration wizard doesn't continue IF YOU HAVE LOWER VERSION PLEASE TELL WHETHER YOU HAVE TO SPECIFY A DOMAIN
Click Next > Next > Finished.
Now you can MAYBE [see the DOMAIN problem] sync via WLAN again..
If anyone has an idea how to workaround the MUST-SPECIFY-A-DOMAIN problem please tell, I think I am not the only one who wants WLAN Sync back!
I think you need an exchange server for sync over wifi or gprs.
NO and YES!
YES: Microsoft WANTS that you use an Exchange Server, therefore they have removed support for syncing via WLAN since v4.x
NO: The posted workaround doesn't need an Exchange Server running!! Instead you are "simulating" that you have one. Earlier this Workaround seem to have worked, but since ActiveSync v4.5 it seems you NEED to specify a DOMAIN of your PC.. maybe just another hurd only!
So, the problem again: since you need to specify a DOMAIN of your PC now, is there a possibility to workaround this? Maybe via Registry or setting up a "Pseudo Domain" ? This MUST-HAVE-SPECIFIED-A-DOMAIN seems now to be the only problem, unfortunately you cannot leave the domain field empty.. but the Handheld tries to connect the PC via WLAN (...WOW! Just one step away from the Solution!!?...), but that fails due the DOMAIN problem.. (most PC are only in a workgroup, and not in a domain..)
Maybe we are only one step away from a working solution!
I think only the wizard is changed by MS so that when no
domain is entered you cannot go forward.
ActiveSync can be configured with Configuration Service Provider (CSP)
through XML file.
Infos here: http://msdn2.microsoft.com/en-us/library/aa456215.aspx
I will try this tomorrow with a configuration without domain and let you know
if it works.
Houser
You said it - the setup wizard seems to be the only hurd.
Hey, great idea. Where to find this config file?
I searched for it on PC and PPC, but found only binary files..
Hope you have success!
Here are the maybe suitable Registry Settings for ActiveSync setup, I will try this way:
http://msdn2.microsoft.com/En-US/library/aa457989.aspx
Here is a tool I have written to configure ActiveSync Settings
without ActiveSync wizard.
You can test it if you want.
Houser
Thx. I launched your tool and entered IP + Login + Pass, activated e.g. Tasks to synchronize, and deactivated SSL, and clicked Save.
Then I launched ActiveSync on the PPC (Trinity HTC P3600).. now there comes a screen:
Microsoft Exchange:
Result: Your account information could not be detected. Choose configure Server on the ActiveSync menu to check your Exchange Server credentials.
Support Code is: 0x85002009
Hmmm maybe because the domain entry is left empty?
What happens if you enter some characters for the domain?
Houser
If I enter a domain it tries longer to sync on the PPC - instead throwing at once the message above - the circling arrows animates for 3 seconds, then it ends ups with:
Waiting for network..
Hm, maybe the ActiveSync software on the PPC checks for the domain entry But.. maybe this check can be removed
Where is the configuration saved? To a file (which one) or to registry (which branch)?
I do not know where the config is saved. In WM2003 it was in the registry
but in WM5 that was removed and stored in some internal database
I think.
Houser
As you speak German, maybe this could be a workaround for the domain problem:
http://www.weyo.de/board/?n=320745&bn=21
I mean, maybe it's possible to enter a Pseudo Domain in the Registry on the PPC under
HKEY_LOCAL_MACHINE\\\\Comm\\\\Tcpip\\\\Hosts\\\\
And entering this Pseudo Domain as Domain in the ActiveSync Setup..
But what to enter in the Registry? The branch is currently empty, so no example exists
Hm, here's how to enter the information:
http://support.microsoft.com/kb/q199370/
ActiveSync uses the domain only for authentication.
The server name (DNS name) or IP is used for the connection.
In the registry you can enter Host names with IP adresses
that has nothing to do with domain name.
ActiveSync uses HTTP oder HTTPS (TCP/IP port 80 or 443) when
you configure a server in ActiveSync.
ActiveSync on your deskstop PC does not listen on this TCP ports
so you cannot connect.
Houser
Hm, any other idea? How crazy whatever..
Today not maybe tomorrow.
Houser
Houser said:
ActiveSync uses the domain only for authentication.
The server name (DNS name) or IP is used for the connection.
In the registry you can enter Host names with IP adresses
that has nothing to do with domain name.
ActiveSync uses HTTP oder HTTPS (TCP/IP port 80 or 443) when
you configure a server in ActiveSync.
ActiveSync on your deskstop PC does not listen on this TCP ports
so you cannot connect.
Houser
Click to expand...
Click to collapse
So what you are saying is, that there is no way to sync over wifi unless you have an exchange server?
freeyayo50 said:
So what you are saying is, that there is no way to sync over wifi unless you have an exchange server?
Click to expand...
Click to collapse
Yes this is the only way I have done it so far.
But may be there is another solution out there to do this
with Outlook on your desktop but I currently do not know
how that can work.
I will do some tests today and let you know about the results.
Houser
I did al the same and no results...
A followed all the steps for my ipaq 9610 as well and get same (no) results.
Maybe anyone a new idea?

Sinchronize pda with web exchange

Hi Guyz,
i have an HTC Trinity with latest rom released from italian distributor, just flashed three days ago.
Everythings are working fine but i cannot set a configuration for sinchronization of my company's web exchange server.
We have Exchange Server 2003 with SP2 and gate 443 already enable, but nothing....with Active Sync, during server's configuration, i cannot see any web server at typed address.
Web addressm user id and password are right.
Someone can give me a procedure for this setup? Any suggestion??
Many thanks.
Marco
Hi there, take a look at this:
http://www.msexchange.org/tutorials/Configuring-Mobile-Devices-Exchange2003.html
and this:
http://www.msexchange.org/tutorials/Managing-Mobile-Access-Exchange-Server-2003.html
or (absolutely recommended) try olx mobile access at www.gangl.de. this works perfect an it's easy to configure. Don't mind the german website for the application ist in english. 30-days trial for download.
Best regards.
There is a known Issue connecting with Exchange with ActiveSync and OMA
If your Exchange server is set up to use Forms-Base authentication(must be used to enable compression of static and dynamic data from the exchange server), ActiveSync and OMA will fail. This is a know issue. ActiveSync and OMA use WebDav to authenticate the user with NTFS permissions. Forms-Based authentication blocks this. Another virtual directory must be made for devices that use WebDav to authenticate with. Two places that discuss this issue and how to work around it are...
http://www.petri.co.il/problems_with_forms_based_authentication_and_ssl_in_activesync.htm
and at Microsoft:
http://support.microsoft.com/Default.aspx?kbid=817379
Sean Beeson

Active sync - Exchange: SSL over a non-default port

My ISP blocks all ports below 1024 so I had to setup my SBS2003 Exchange server to run on port 8080 (HTTP) & 4443 (HTTPS), which works perfectly (tested locally & on remote locations).
When I add the correct secure portnumber to the server address (ActiveSync > Tools > Configure Server Source), ActiveSync cannot find our Exchange Server. When I remove the portnumber everything works fine as long as I'm on my local network.
I enter it like this: exchangeserverdomain.com:4443
I have OWA running perfectly by using the same external server address:<port>, and all needed certificates are on my WM6 device (it's the HTC Touch Dual).
Seems like ActiveSync doesn't like portnumbers.
Any tips?
Me 2
I'm having a similar problem.
Anyone can help?
Many thanks in advance.
Pozi.
If anyone has found a solution for this, I sure would appreciate knowing. As I'm sure you found, older stuff retrieved by Google makes it clear that MS just didn't provide support for ActiveSync on custom ports in previous WM versions, but couldn't they have remedied this oversight by now? Reg key?
Active sync - Exchange: SSL over a non-default port - Solved in WM65 ?
Any idea if there is a workaround for this problem in WM 6.5 ?
thanks,
Koen.
No, I don't know if WM6.5 finally added the ability to specify port number for Activesync server.
We solved this need by using "SSL host headers," which permit multiple IIS sites to use the default SSL port 443 with different host names. Although the IIS (6.0) GUI doesn't provide this capability, it can be done at the command line using adsutil.vbs found in Inetpub\adminscripts. It requires a wildcard SSL certificate, is a little tricky to get right, and results in a misleading error message in the event log every time IIS starts, but it does work reliably.
See:
http://www.microsoft.com/technet/pr...108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true
ISP blocks all well-known ports - server activesync not working
thanks for the information, the configuration of Exchange is indeed not an issue.
Problem is that my ISP blocks all well-known (service) ports like 443,...
I would like to configure server activesync to use a different port (above 1024).
The Activesync interface on Windows mobile does not allow to enter a port number to specify the protocol.
eg. remote.company.com:4433 is automatically changed back to remote.company.com.
Any idea of a reg-key on WM to change the port to use for server activesync ?
If there is a way to do that in WM65, I don't know about it.
What kind of ISP "blocks all well-known ports"?
Good luck.
Not a solution per se but could you use SevenBeta to get your mail pushed? i think it works as long as you can get to the OWA server from the device. probably wouldn't give you contacts but at least you'd get mail while out of the office.
It's not Exchange, but the client...
I dislike it's come to this but it's true, the iPhone handles this over custom ssl ports just fine and I have not come across anything else that does. I do not know why. With the iPhone or iPod touch too I'd guess, you just enter your email address and password. It tries the regular ports and fails, and where you enter the server you enter your port like servername:customsslport and then you have full active synch abilities, synched email, all your subfolders, and the option to synch calendar and address book too.
I recently tried an android phone and looking for a solution, at this very site found out windows phones couldn't do this either... Developers have tried to give google this code correction but they won't accept it for whatever reason. I ended up using a tether to my old iPhone just to get decent ActiveSynch over custom SSL ports until I gave in and took back the Atrix for the newer iPhone, as my old phone was falling apart and was the older slower one. I've tried 2.1 & 2.2 Android phones and when you try to enter the port using serverort syntax you get invalid server format or the save button just gets grayed out until you remove the port. There's a few buggy market apps that sorta work in a limited way. It's possible the Blackberry may allow custom ssl ports on Exchange synch setup too, but I don't know, only that Windows and Android phones had issues with this but it works perfect on the iPhone, so it can't be a limitation of Exchange exactly. I haven't run into any good desktop clients for this, but to access full mobile email, synching even sent items and pushing select custom folders, calendar and contacts the iPhone truly synchs all these fine by entering the same port you use for custom OWA ssl in the Exchange email setup. I wish even desktop Outlook handled custom ssl port synching this well, and I'm not sure how the iPhone does it, as it seems very lightweight.
http://forum.xda-developers.com/showthread.php?t=602494
Lukasss said:
My ISP blocks all ports below 1024 so I had to setup my SBS2003 Exchange server to run on port 8080 (HTTP) & 4443 (HTTPS), which works perfectly (tested locally & on remote locations).
When I add the correct secure portnumber to the server address (ActiveSync > Tools > Configure Server Source), ActiveSync cannot find our Exchange Server. When I remove the portnumber everything works fine as long as I'm on my local network.
I enter it like this: exchangeserverdomain.com:4443
I have OWA running perfectly by using the same external server address:<port>, and all needed certificates are on my WM6 device (it's the HTC Touch Dual).
Seems like ActiveSync doesn't like portnumbers.
Any tips?
Click to expand...
Click to collapse
hmmm this is interesting

Activesync autoconfiguration for Exchange?

When you are setting up a new server source in AS, it has some options for doing things automatically (I assume based on our email domain name). This has never worked for me (I am the sys admin for our Windows network). Do I have to be running Exch2007 to get this functionality, or is it some sort of DNS issue that is making this fail? The front-end server that we use is not mail.domain.com We use webmail.domain.com.
Any thoughts are appreciated. We are going to be allowing our users to bring their own service and devices to our cell phone mix, and I want to make connecting with WM devices as easy as possible. I'm trying to reduce the number of blackberry devices we use.
Thanks!
Brandon
Microsoft Exchange 2007 Autodiscovery
Autodiscovery allows a user to enter their email address and password into Outlook 2007 or Windows Mobile 6 Pocket Outlook to have their profile or activesync relationship automatically configured to access an Exchange 2007 server.
In short, you add a DNS record for the host "autodiscover" in the domain you want to use Autodiscovery in. If you want it to work internally just add it to your company's DNS server. If you want it to work externally you have to add it to your external DNS server.
One important note is that you must have a multi-domain SSL certificate from a known public provider. This is because you need 4-hosts on the certificate (2-domains with 2-hosts each) I purchased a multi-domain certificate from GoDaddy.com for $58 for 1-year.
Search keywords: +Exchange +2007 +Autodiscover

Categories

Resources