[FIX] Exchange Active Sync with Hotmail (post Hotmail Server Upgrade-Jun 2012)) - HTC One X

MODS: This is my first post on "how to fix something". If I've done anything wrong, please correct me (and the post).
I (and a lot of other people) started having problems with Exchange ActiveSync with Hotmail around the mid-to-end of Jun 2012.
The symptoms on HTC Sense 4.0 phones include the error message "Sync is currently experiencing problems. It will be back shortly" when you try to sync with your Hotmail account.
On searching for a solution, I've found this is a known problem affecting multiple OS platforms (AOSP Devices, iPhones, BB’s, etc). Microsoft is updating their Hotmail servers with a newer version of the protocol, and this is breaking ActiveSync with Hotmail on many devices.
At some point in the future, many people expect that HTC will need to update their client software to support this new protocol. Until they do, I think that I’ve discovered a solution that may fix problems people have been having with syncing with their Hotmail accounts (and getting the "Sync is currently experiencing problems. It will be back shortly" errors.).
I make no promises that this will fix your problem (it worked for me). I only have one phone (to test with) and no friends (who could help with testing). The solution I’m recommending will cost you $3.00 so if you don’t want to initially spend the money on an application, then I’d recommend waiting for a few other users (who will hopefully report back) on whether or not this fixed they EAS issue with Hotmail.
I’ve applied this change and I’ve been able to successfully (manually) sync with my Hotmail Account successfully for the past 24 hours. I have not tested this with Contacts, Calendars, Tasks or with Push Mail (if this method allows for the successful sync of any/all those fields, please report back). I’ve been successfully syncing over WiFi and via my cellular connection.
Assumptions:
1) OS is ICS and you’re using the HTC Mail.apk (default HTC Mail Application) to sync with Hotmail.
2) Your phone is rooted.
3) You have SuperSU intstalled from Play Store: https://play.google.com/store/apps/details?id=eu.chainfire.supersu
4) You’re willing to spend $3.00 to buy SQLite Editor. (If someone know of a free version, please let me know and I’ll update the post).
Steps:
1) Create your EAS Hotmail Account just like you normally would: Settings->Accounts & Sync->Add->Exchange ActiveSync
2) Once you’ve completed your Account configuration, go to the Play Store and buy (sorry) SQLite Editor: https://play.google.com/store/search?q=sqlite+editor . It’ll cost you 3 bucks and it’s a great program (I’m not associated with the program at all (no conflicting interest)).
3) Launch SQLite Editor (once installed). It will ask for SU permissions the first time you launch it: Please allow SU access.
4) After a few minutes of scrubbing your phone’s databases, you’ll see a list. Scroll down to the one titled “Mail” (in smaller print right below the title “Mail”, you should see “com.htc.android.mail”). Tap on “Mail”->”mail.db”->”accounts”.
5) After clicking on “accounts, you should see a screen with all of your email accounts listed (if you have more than one). Tap AND HOLD on your Hotmail Account. From the pop-up menu, click on “Edit Record”.
6) Scroll down to you find the Field titled “_easSvrProtocol”. You should see a value in the field (mine had a 14 in the field). Change the value to 2.5 and click on “Save”.
7) Reboot your phone
8) Trying syncing your Hotmail account. It should now sync without the annoying message “Sync is currently experiencing problems. It will be back shortly"
Please provide feedback.
If anyone is wondering: I don't have a HTC One X (rather I have the Sprint EVO 4g LTE). It's S-Off/Rooted and I'm using a custom ROM (see signature).
Justin

Hi
weatheryoko said:
MODS: This is my first post on "how to fix something". If I've done anything wrong, please correct me (and the post).
I (and a lot of other people) started having problems with Exchange ActiveSync with Hotmail around the mid-to-end of Jun 2012.
The symptoms on HTC Sense 4.0 phones include the error message "Sync is currently experiencing problems. It will be back shortly" when you try to sync with your Hotmail account.
On searching for a solution, I've found this is a known problem affecting multiple OS platforms (AOSP Devices, iPhones, BB’s, etc). Microsoft is updating their Hotmail servers with a newer version of the protocol, and this is breaking ActiveSync with Hotmail on many devices.
At some point in the future, many people expect that HTC will need to update their client software to support this new protocol. Until they do, I think that I’ve discovered a solution that may fix problems people have been having with syncing with their Hotmail accounts (and getting the "Sync is currently experiencing problems. It will be back shortly" errors.).
I make no promises that this will fix your problem (it worked for me). I only have one phone (to test with) and no friends (who could help with testing). The solution I’m recommending will cost you $3.00 so if you don’t want to initially spend the money on an application, then I’d recommend waiting for a few other users (who will hopefully report back) on whether or not this fixed they EAS issue with Hotmail.
I’ve applied this change and I’ve been able to successfully (manually) sync with my Hotmail Account successfully for the past 24 hours. I have not tested this with Contacts, Calendars, Tasks or with Push Mail (if this method allows for the successful sync of any/all those fields, please report back). I’ve been successfully syncing over WiFi and via my cellular connection.
Assumptions:
1) OS is ICS and you’re using the HTC Mail.apk (default HTC Mail Application) to sync with Hotmail.
2) Your phone is rooted.
3) You have SuperSU intstalled from Play Store: https://play.google.com/store/apps/details?id=eu.chainfire.supersu
4) You’re willing to spend $3.00 to buy SQLite Editor. (If someone know of a free version, please let me know and I’ll update the post).
Steps:
1) Create your EAS Hotmail Account just like you normally would: Settings->Accounts & Sync->Add->Exchange ActiveSync
2) Once you’ve completed your Account configuration, go to the Play Store and buy (sorry) SQLite Editor: https://play.google.com/store/search?q=sqlite+editor . It’ll cost you 3 bucks and it’s a great program (I’m not associated with the program at all (no conflicting interest)).
3) Launch SQLite Editor (once installed). It will ask for SU permissions the first time you launch it: Please allow SU access.
4) After a few minutes of scrubbing your phone’s databases, you’ll see a list. Scroll down to the one titled “Mail” (in smaller print right below the title “Mail”, you should see “com.htc.android.mail”). Tap on “Mail”->”mail.db”->”accounts”.
5) After clicking on “accounts, you should see a screen with all of your email accounts listed (if you have more than one). Tap AND HOLD on your Hotmail Account. From the pop-up menu, click on “Edit Record”.
6) Scroll down to you find the Field titled “_easSvrProtocol”. You should see a value in the field (mine had a 14 in the field). Change the value to 2.5 and click on “Save”.
7) Reboot your phone
8) Trying syncing your Hotmail account. It should now sync without the annoying message “Sync is currently experiencing problems. It will be back shortly"
Please provide feedback.
If anyone is wondering: I don't have a HTC One X (rather I have the Sprint EVO 4g LTE). It's S-Off/Rooted and I'm using a custom ROM (see signature).
Justin
Click to expand...
Click to collapse
The first option to try is to change the Exchange Active server name, this is something that seems to work on HTC devices. It worked in my case. One of the problems is the new protocols/servers that Microsoft are using needs a redirect to what seems to be a particular data centre your account is held at, this redirect isn't understand by a lot of devices. So try this first, you will need to remove the Active Exchange account first which will clear contacts etc until you resyns.
1) Log into Hotmail via the internet, and look at the Url you are redirect to, for example: https://snt108.mail.live.com/default.aspx
2) Take the first three letters after the //, in this example snt. The three letters appear to identify the data centre holding your account.
3) Re-add your Exchange account, select manual setup, enter your details, and for the domain name use those first 3 letters then add -m.hotmail.com, in this example the server becomes snt-m.hotmail.com
4) For your username, use your email address, this might be populated already with just the first part of your email address, but it is important to then add the rest, so essentially your email is appearing twice in the settings.
Then complete the set-up and try and sync.
Hope that helps. If not, it is worth trying the other suggestion.
Regards
Phil

PhilipL said:
Hi
The first option to try is to change the Exchange Active server name, this is something that seems to work on HTC devices. It worked in my case. One of the problems is the new protocols/servers that Microsoft are using needs a redirect to what seems to be a particular data centre your account is held at, this redirect isn't understand by a lot of devices. So try this first, you will need to remove the Active Exchange account first which will clear contacts etc until you resyns.
1) Log into Hotmail via the internet, and look at the Url you are redirect to, for example: https://snt108.mail.live.com/default.aspx
2) Take the first three letters after the //, in this example snt. The three letters appear to identify the data centre holding your account.
3) Re-add your Exchange account, select manual setup, enter your details, and for the domain name use those first 3 letters then add -m.hotmail.com, in this example the server becomes snt-m.hotmail.com
4) For your username, use your email address, this might be populated already with just the first part of your email address, but it is important to then add the rest, so essentially your email is appearing twice in the settings.
Then complete the set-up and try and sync.
Hope that helps. If not, it is worth trying the other suggestion.
Regards
Phil
Click to expand...
Click to collapse
I tried "snt-m.hotmail.com" but the sync never completes.
For the moment, I use the "Hotmail" app from the store. I hope it will be fixed in next rom.

PhilipL said:
Hi
The first option to try is to change the Exchange Active server name, this is something that seems to work on HTC devices. It worked in my case. One of the problems is the new protocols/servers that Microsoft are using needs a redirect to what seems to be a particular data centre your account is held at, this redirect isn't understand by a lot of devices. So try this first, you will need to remove the Active Exchange account first which will clear contacts etc until you resyns.
1) Log into Hotmail via the internet, and look at the Url you are redirect to, for example: https://snt108.mail.live.com/default.aspx
2) Take the first three letters after the //, in this example snt. The three letters appear to identify the data centre holding your account.
3) Re-add your Exchange account, select manual setup, enter your details, and for the domain name use those first 3 letters then add -m.hotmail.com, in this example the server becomes snt-m.hotmail.com
4) For your username, use your email address, this might be populated already with just the first part of your email address, but it is important to then add the rest, so essentially your email is appearing twice in the settings.
Then complete the set-up and try and sync.
Hope that helps. If not, it is worth trying the other suggestion.
Regards
Phil
Click to expand...
Click to collapse
Phil,
I've tried that (mine started with "bay" so I tried changing my server to bay-m.hotmail.com) but I couldn't get it to work. I know some people have had sucess but others didn't (I was one of those who still couldn't sync). By changing the “_easSvrProtocol” from 14 to 2.5 was the only way I could get it to work. Currently I'm sync'ing using the default server (m.hotmail.com) and everything is working as designed.
Justin

Hi
weatheryoko said:
Phil,
I've tried that (mine started with "bay" so I tried changing my server to bay-m.hotmail.com) but I couldn't get it to work. I know some people have had sucess but others didn't (I was one of those who still couldn't sync). By changing the “_easSvrProtocol” from 14 to 2.5 was the only way I could get it to work. Currently I'm sync'ing using the default server (m.hotmail.com) and everything is working as designed.
Justin
Click to expand...
Click to collapse
I think the problem arises when they stop supporting these older protocols, hopefully by then HTC or Microsoft will have worked out the problems, until then we have to find our own solutions, nice one Microsoft.
Regards
Phil

Just confirming the solution in post #1 worked for me.
Big thanks here but curious to know how you would figure this out? What changed when the figure was altered from 14 to 2.5 as it was in my case also?

Funny thing i had similar problems with a normal exchange account, even after installing stock RUU.
Sent from my HTC One X using xda premium

Maybe a dev can see if a mod can be made for solving this problem?
Sent from my HTC One X using xda app-developers app

Risingson said:
Just confirming the solution in post #1 worked for me.
Big thanks here but curious to know how you would figure this out? What changed when the figure was altered from 14 to 2.5 as it was in my case also?
Click to expand...
Click to collapse
After reading about this on multiple threads (both within XDA and outside), I kept seeing reports from various posters that said "If you force the 2.5 Protocal, EAS works on Hotmail". So I started digging around and came up the the solution above.
Risingson: May I ask what you are sync'ing? (i.e. Contacts, Calendar, Email?) I only sync email so I'm curious if this fix allows for full EAS capability with Hotmail. I would think it would, but I'd like confirmation.
Justin

Funnily enough, the Hotmail app works fine for syncing contacts, emails and calenders.

weatheryoko said:
Risingson: May I ask what you are sync'ing? (i.e. Contacts, Calendar, Email?) I only sync email so I'm curious if this fix allows for full EAS capability with Hotmail. I would think it would, but I'd like confirmation.
Justin
Click to expand...
Click to collapse
Just email. Contacts and calendar are linked to Gmail which I am slowly making the switch to.
Push email works perfectly for hotmail now. It's a .co.uk account FWIW.

Risingson said:
Just email. Contacts and calendar are linked to Gmail which I am slowly making the switch to.
Push email works perfectly for hotmail now. It's a .co.uk account FWIW.
Click to expand...
Click to collapse
You've got the exact same set up that I have (except I'm using hotmail.com).
Justin

YES! works for me! big Thanks...

This worked for me as well on my Evo 4G LTE. Thanks weatheryoko .
For what it's worth, you don't need the $3 app. You can use something like SQLite Database Browser on your computer instead.

jadeboy7 said:
This worked for me as well on my Evo 4G LTE. Thanks weatheryoko .
For what it's worth, you don't need the $3 app. You can use something like SQLite Database Browser on your computer instead.
Click to expand...
Click to collapse
Is it possible to make this modification without root? Copy and modify the file on pc and copy it again to the device with a "adb push command"?
Sent from my HTC One X using xda app-developers app

MickyMax said:
Is it possible to make this modification without root? Copy and modify the file on pc and copy it again to the device with a "adb push command"?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Can you mount the /data partition without root? The database file (mail.db) is in /data/data/com.htc.android.mail/databases. If you can push/pull to/from there, it should work. I don't have much experience with unrooted devices though.

jadeboy7 said:
Can you mount the /data partition without root? The database file (mail.db) is in /data/data/com.htc.android.mail/databases. If you can push/pull to/from there, it should work. I don't have much experience with unrooted devices though.
Click to expand...
Click to collapse
Very good question... Someone can help?

MickyMax said:
Very good question... Someone can help?
Click to expand...
Click to collapse
You can always try it and see if it works.

This is interesting, so this would mean that recently Microsoft has upgraded their Exchange server from Exchange 2003 sp2 to Exchange 2010. They have always run a very old version of Exchange which is why the utilized Activesync version was 2.5. So if the fix is to change it from Activesync 14.0 to 2.5 that means some software upgrade happened recently on Microsoft's side which is what is causing this issue.

It's working!
FYI: My phone isn't rooted but is unlocked with custom recovery
So the adb commands are working fine! :good:
I have a folder with fastboot stuff : "D:\fastboot"
I have created a hotmail account on my phone and the fist sync doesn't work.
My phone is connected with debugging enabled and I run these commands
adb pull /data/data/com.htc.android.mail/databases/mail.db
Click to expand...
Click to collapse
I now have the "mail.db" file on my fastboot folder.
I downloaded SQLite Database Browser as suggested before. With the tool, I open the data of the table "account". I search my hotmail account and updated the "easSvrProtocol" to "2.5". Do not forget to save!
View attachment 1226181
I launched the push command
adb push mail.db /data/data/com.htc.android.mail/databases/
Click to expand...
Click to collapse
Reboot the phone and voilà!
The sync is working fine!
Thanks to jadeboy7 and weatheryoko
Please click Thanks if this post helps you.

Related

hotmail account problems [SOLVED]

Hi, my hotmail account got hacked recently and I have had to change all my details, however after trying to change them on my phone the account disapeared. I tried to add it again but now when I put the username and pass it and click next it logs onto windows live web mail, i dont want to have to faff about using webmail, i want to collect via outlook mobile. Can anyone direct me to a post where there is a fix for this?
same problem
i have same problem with my HD can any one solved this
another problem
I have a different problem with hotmail on HD ... believe it or not whenever i have an active hotmail account on my phone the device blocks all international SMS i dont know why but i am sure its the only reason and when i remove my account from mob sms reception becomes normal and i tried several times before posting this !
please
odm3xda said:
I have a different problem with hotmail on HD ... believe it or not whenever i have an active hotmail account on my phone the device blocks all international SMS i dont know why but i am sure its the only reason and when i remove my account from mob sms reception becomes normal and i tried several times before posting this !
Click to expand...
Click to collapse
apologies, please can we stick to the thread, please log this issue on a seperate thread as it isnt relevant to this issue.
thanks
try this, delete your hotmail account from your htc and then re add it. make sure you use these settings when prompted:
POP server: pop3.live.com
User name: Your Windows Live ID, for example [email protected]
Password: The password you usually use to sign in to Hotmail or Windows Live
SMTP server: smtp.live.com
Authentication required? Yes
might fix it...
not even there
There is no hot mail account there, it disapeared, Here is exectly what happens:
1. Click new account
2. insert username [email protected]
3. insert passwords
4. click next
usually here it downloads the setting for the account and the it asks if you want to add live account shortcuts to today screen, then downloads folders and then the account shows up in your list of accounts.
What happens instead is it opens opera and tries to log into what looks to be a live webpage, however the login details are simply a jpeg, it is really odd like some virus or something. I had this working before ok, i am not sure what has changed.
are you using windows mobile 6.5?
because if you are, in my experiences, the mail setup tool forces you to go to a website to check your mail. I havent used a 6.5 ROM that lets you use the inbuilt app.
stoolzo said:
There is no hot mail account there, it disapeared, Here is exectly what happens:
1. Click new account
2. insert username [email protected]
3. insert passwords
4. click next
usually here it downloads the setting for the account and the it asks if you want to add live account shortcuts to today screen, then downloads folders and then the account shows up in your list of accounts.
What happens instead is it opens opera and tries to log into what looks to be a live webpage, however the login details are simply a jpeg, it is really odd like some virus or something. I had this working before ok, i am not sure what has changed.
Click to expand...
Click to collapse
I have the same problem and i'm using windows mobile 6.1.
in gmail it's all working perfect.
good to know
Hi, its good to know I am not the only one out there with this problem, i thought i was going mad, I amusing the latest stock romm with spb mobile shell 3, dont think that has anything to do with it though as I had it setup ok at one point. My NTL (virgin) pop works ok.
the reason?
This might be happening as winmo will only let you setup one hotmail account, someone on my phone the old account might be there even though it is not showing up as an account, therefore when you go thorugh the wizard it automatically forwards you to live webmail, this would make sense, does anyone know how to find out in the registry what acounts are setup?
go to this link http://forum.xda-developers.com/showthread.php?t=476603&highlight=hotmail
i had this problem before as well but just searching on the various forums you can pretty much find the answer for anything.
all you need to do is create a new email account (without using the automatic settings for hotmail) type in the pop3 settings and your done.
Updated
I had a similar problem when I first set-up the phone. I originally downloaded a fixed version from this site. More recently I downloaded the update available from the MS website.
Always downloads to the phone now.
Running version 10.6.0046.0800
good man
Good job that man, that worked, you simply put in a rubbish user and pass and click next, unclick automatically look for setting from the internet and then it allows you to set it up manually.
thanks for that.

Problems: Google Exchange Server (Activesync)

Hey guys, since a few days I have massive problems with syncing my device with google (contacts, calendar, emails). I used activesync with the snyc settings to m.google.com and suddenly it tries to sync always the entire content from new, every time stating that there are changes done on the server side which requires entire resync. does anybody have the same issues and a solution to that?
I could never get it working right. I use goosync (payservice).
I use this for contacts and calendar but couldn't get the email portion to work reliably. I use IMAP for gmail.
mine syncs fine.
The Jack of Clubs said:
mine syncs fine.
Click to expand...
Click to collapse
same, works perfectly for me.
Although i only use google for calender and e-mail, i use dashwire to back up my contacts.
You have probably already tried it, but have you disabled all but one and checked it to see if you still have the same issue?
If it works properly with just e-mail for example, then add in calender and try it again. If it works then add contacts back in or if it breaks remove calender and try contacts instead.
Might help you track down whats causing the issue.
Just an idea.
Mine syncs fine as well. At first I had problems with syncing because I never set up a Calendar or Contacts with Google, so I unchecked everything except Mail. Try that.
Check this out from wmexperts.com:
Has anyone else noticed that they can't sync Google Gmail via Activesync over the past few days? At first I thought it was just me but soon came to find that the "Error Synchronization" message was being displayed on other Windows phones.
The official error code is 0x8600050c (Communications Error) and in looking over at Google Mobile's Help Forum, there are a few solutions available.
The first suggestion is to delete the current Exchange Server relationship and re-create it. Another solution suggests to un-check the email option in Activesync, reboot the phone, re-check the email option and sync. The latter seems to have the most success.
We couldn't find anything official from Google on the cause of these errors or of a "official" solution. If we hear of anything we'll pass it on.
you dont have tasks selected do you?
google sync is not up to snuff as it currently stands.
having tried it, doing this over & over:
The first suggestion is to delete the current Exchange Server relationship and re-create it. Another solution suggests to un-check the email option in Activesync, reboot the phone, re-check the email option and sync. The latter seems to have the most success.
Has been unacceptable.
perveeus said:
google syncis not up to snuff as it currently stands.
having tried it, doing this over & over:
The first suggestion is to delete the current Exchange Server relationship and re-create it. Another solution suggests to un-check the email option in Activesync, reboot the phone, re-check the email option and sync. The latter seems to have the most success.
Has been unacceptable.
Click to expand...
Click to collapse
Yes I agree, but to Google's defense, they say this is in Beta, but we are spoiled with great Google products so we are expecting too much. I do wish they would put more effort to it though, it has been like this since November when I tried it and I haven't seen anything improved in 3-4 months.
wpbear said:
Yes I agree, but to Google's defense, they say this is in Beta, but we are spoiled with great Google products so we are expecting too much. I do wish they would put more effort to it though, it has been like this since November when I tried it and I haven't seen anything improved in 3-4 months.
Click to expand...
Click to collapse
Oh don't think I am bagging google & all their great products & freebies.
But it just seem they set expectations so high, that they use the excuse of "beta" forever before releasing anything (witness gmail was an invite forever!).
I'm just spoiled!
schoolio said:
Check this out from wmexperts.com:
Has anyone else noticed that they can't sync Google Gmail via Activesync over the past few days? At first I thought it was just me but soon came to find that the "Error Synchronization" message was being displayed on other Windows phones.
The official error code is 0x8600050c (Communications Error) and in looking over at Google Mobile's Help Forum, there are a few solutions available.
The first suggestion is to delete the current Exchange Server relationship and re-create it. Another solution suggests to un-check the email option in Activesync, reboot the phone, re-check the email option and sync. The latter seems to have the most success.
We couldn't find anything official from Google on the cause of these errors or of a "official" solution. If we hear of anything we'll pass it on.
Click to expand...
Click to collapse
I had the same problem a few days ago. I deleted the Exchange Server relationship and re-created it, and it's worked fine since. I've had similar problems periodically in the past - I chalk it up to it being a free service.
I got google sync to work, just got my touch pro2 on sunday. works with my main google calendar, saw a user around here recommend ActiveGCSync for additional google calendars, will try that tonight. The only problem I had is i initially synced all my gmail contacts to my phone (most without names or phone numbers), so then I unchecked 'contacts' thinking it would take them out, but instead it removed ALL the contacts from my phone But now all my phone contacts are backed up in my gmail I guess I will have to clean up the mess manually and sync them back up...
I spent a good part of my day so far editing all my gmail contacts and merging duplicates and the last tihng I did was set up a bunch of new 'groups' under the contacts in gmail. I was hoping that after I sync'd back up that I would be able to use the google created contact groups as a means of filtering my contact list, but this seems not to be the case.
From searching around here I ran across a program called 'Seven' and others, which I will explore if there isn't another way. But I was hoping someone could give me some ideas other than individually editing the "Category" of each contact, which seems to be the field which it looks at for "Filter" under the menu soft key.
Thanks
I use Seven Beta to sync all my mail accs. On creation gives me the option for sync of contacts and calendar as well. Everything works great.
burtonsnow8 said:
I use Seven Beta to sync all my mail accs. On creation gives me the option for sync of contacts and calendar as well. Everything works great.
Click to expand...
Click to collapse
Do you sync google contacts that you have put into groups, and then can you use the TouchFlo contact list to filter them by those groups?

Exchange DirectPush/ActiveSync not pushing

We run Exchange 2003 here. Push sync is apparently not working on our T-Mobile HTC Desires. The device makes no attempt to sync unless and until you visit the Mail app. We're due to be upgrading to Exchange 2010 this year but until then I'm wondering if anyone else has similar experiences or ideas for a workaround (other than changing to a 5 minute poll frequency).
Actually this seems to be just one of many things (e.g. buggy IMAP implementation) that's broken with the stock Mail app. Haven't tried a reboot yet but even if that fixes this for our phones, it's hardly a "fix"...
Go to Settings > Accounts & Sync and make sure 'Auto-sync' is checked. I was stumped for the better part of a week before I figured out why my Gmail/exchange push wasn't working - this was the reason.
Have you tried Touchdown to see if that works ok? Whilst it is a paid app, it is better suited to a corporate environment than the standard HTC offering.
Regards,
Dave
@carrige: 'fraid not. Syncing is all set up correctly.
@foxmeister: Yes, TouchDown is on my radar. So far however, none of my users require Task syncing, which as far as I can see is the only particular feature advantage that TouchDown has over the HTC app (assuming the app works). Plus, TouchDown is uglier.
I appear to have found the solution though. It's obscure, so bear with me.
Ever since we started using DirectPush, our Exchange server has been logging errors along the following lines:
Event Type: Error
Event Source: Server ActiveSync
Event Category: None
Event ID: 3005
Date: 13/05/2010
Time: 11:32:22
User: OURDOMAIN\joe.bloggs
Computer: OURSERVER
Description:
Unexpected Exchange mailbox Server error: Server: [ourserver.ourdomain.local] User: [[email protected]] HTTP status code: [400]. Verify that the Exchange mailbox Server is working correctly.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Click to expand...
Click to collapse
Push email and Outlook Web Access always worked fine, so I just filed this under "annoyances". Well, it transpires that the problem is down to a misconfiguration within IIS. From EventID.net:
Removed this error message by removing all host headers from the Default Website in IIS. Go to Properties for the default Website for IIS:
- Click on ''website'' tab.
- Click on ''advanced'' next to IP Address.
- Remove all headers except an entry for ''Default 80'' with no host header value.
Click to expand...
Click to collapse
Now, this doesn't make sense, since we enforce HTTPS on a custom port. Nevertheless, making this change has simultaneously stopped the annoyance logging, and resolved the push email problem on the HTC mail app.
Result!
Exchange Active Sync on HTC Desire stopped pushing
Hi Rob - got a similar problem that only started on Tuesday this week 11th and haven't been able to figure it out. Guess it must be EAS on 2003 on my home server as I haven't lost any other functionality on the phone (eg internet access data connection, SMS etc)
However I don't have the error 400 code on my server admin and trying the fix you suggested didn't work as there were no header to delete.
Any clues? Seems to be a widespread problem...? Thanks.
If you force a sync and look in your application/security logs, can you see the connection being made by the phone?
Fixed it
Rob - thanks for advice. I seem to have fixed the problem by deleting the acount and re-instating it. Not very scientific and doen't help understand whay it broke in the first place, but at least it work now.. Lets see how long it lasts.
BTW called Orange and whilst they were very helpful, they weren't aware of a generic problem.
Also, have now changed the APN setting which were mostly blanks so could have been these (or lack of them( that might have caused the problem.
Southbarn said:
Rob - thanks for advice. I seem to have fixed the problem by deleting the acount and re-instating it. Not very scientific and doen't help understand whay it broke in the first place, but at least it work now.. Lets see how long it lasts.
BTW called Orange and whilst they were very helpful, they weren't aware of a generic problem.
Also, have now changed the APN setting which were mostly blanks so could have been these (or lack of them( that might have caused the problem.
Click to expand...
Click to collapse
Interesting that you resorted to removing the account, I had to do the same when my HTC Desire stopped being able to send emails. Receiving was fine, but impossible to send. Deleted account and re-installed, problem resolved.
Only issue now, which is what I was searching for when I came across this thread, is that occassionally I get emails that simply will never arrive on the handset. At home I mix between WIFI and GSM connection, and push appears to work perfectly. Today I discovered that 3 or 4 internal corporate emails of 20 or more received during my manual sync off-peak period, just will not come down to the phone. They are on the server, on my laptop, but not on the phone. Touchdown, running in paralll to Android mail client, has them perfectly.
Any ideas anyone?
For me unfortunately the conclusion is absolutely inescapable. In a corporate environment, the niggles with the stock HTC mail app are unacceptable.
But the good news is that Touchdown is only $20, which really isn't that much to pay if you take into account the overall cost of whatever package your users are on. After a short trial of Touchdown, I'm going to start deploying it to my user base shortly.
Shame on HTC for releasing the phone to market with so many bugs. But I suppose that's what we get for being early adopters...

[A] Exchange Settings CM7

Well, took me a while to figure out how to setup exchange for the Cyanogen Mod 7 (CM7) nightlies. I figured this could help some others having trouble. It asks for email address and password. I would enter this. It would fail. Then I realized it actually wants this:
[Domain]\[UserName]@[exchangeserveraddress]
So my email address might be: [email protected]
But I know my exchange server is "exchange.mail.com"
and I know my domain is "Staff"
So I don't enter [email protected] as my email address. I instead enter:
Staff\[email protected] as my email address.
Note: At my work, exchange is setup with all kinds of security and none of the auto discover junk that helps with setup. So these settings may help other people with 'difficult' exchange servers. For others, this may be completely unnecessary.
Weird. I didn't have any problems at all when I went to Settings>Accounts>Add>Corporate. Just punched in my email, pass, then on the next screen the username (Domain\user), FQDN of the public-facing exchange portal, and enabled "use all SSL certs" because my admin is a cheap crackhead who refuses to get a real cert.
Worked first time, too.
Thanks Joe.
drmacinyasha said:
Weird. I didn't have any problems at all when I went to Settings>Accounts>Add>Corporate. Just punched in my email, pass, then on the next screen the username (Domain\user), FQDN of the public-facing exchange portal, and enabled "use all SSL certs" because my admin is a cheap crackhead who refuses to get a real cert.
Worked first time, too.
Click to expand...
Click to collapse
Yes, there are all sorts of variables with exchange depending on security settings, auto-discovery settings, and the version of exchange server. What works on one server, does not work on another.
At my work, exchange is very secure with none of the auto discover junk that helps with setup. So these settings may help other people with 'difficult' exchange servers. For others, this may be completely unnecessary.
I just tried cm7 nightly. No problem getting exchange set up BUT my server requires that the password lock be setup on the phone and I kept getting a message that phone did not allow the required security. This is not an issue on the evio2 Rom I've been using.
Anyone else run into this on cm7?
Sent from my PC36100 using Tapatalk
mikegoldnj said:
I just tried cm7 nightly. No problem getting exchange set up BUT my server requires that the password lock be setup on the phone and I kept getting a message that phone did not allow the required security. This is not an issue on the evio2 Rom I've been using.
Anyone else run into this on cm7?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
That's because your other ROM doesn't have a fully compatible Email.apk which supports all the ActiveSync admin permissions. Just setup a phone lock which meets the minimum complexity (usually a 4-8 digit PIN will suffice), and accept the Admin rights via the notification you get.
drmacinyasha said:
That's because your other ROM doesn't have a fully compatible Email.apk which supports all the ActiveSync admin permissions. Just setup a phone lock which meets the minimum complexity (usually a 4-8 digit PIN will suffice), and accept the Admin rights via the notification you get.
Click to expand...
Click to collapse
My other ROM does support the ActiveSync permissions, which is why I'm able to successfully setup the password and sync with the Exchange server. This is NOT the case with CM 7.
Sent from my PC36100 using Tapatalk
mikegoldnj said:
My other ROM does support the ActiveSync permissions, which is why I'm able to successfully setup the password and sync with the Exchange server. This is NOT the case with CM 7.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
So you setup a lock with PIN, but it doesn't recognize this?
Exchange
Hey all, I found this thread while looking for a solution as to why I cannot setup my exchange account. I'm using CM7 but I have a moto cliq xt (I know this is the EVO threads).
I'm not sure from reading this thread, but are you all successfully connecting and syncing to exchange servers with CM7?
I know my credentials are correct (they worked on other roms and on stock) but I'm not sure what the problem is now.
My username is different than my email address on the exchange server, so Joe's suggestion wouldn't help me. I have a logcat from my push to the server if someone might be able to point out the problem from there.
I apologize for posting this in your thread, but I'm out of options and can't get an answer or solution from my home thread.
*Note - another user from my thread was able to, but his username matched his email, and he did it like Joe suggested. Also, I can connect using Touchdown and the same credentials (but I don't want to use Touchdown as I would like the native Email app to handle this.)
Any help or advice would be greatly appreciated.
No go for me... Stupid Exchange 2007 and your damn security policies! Why on earth do you work with the stock sense email.apk and not AOSP!
41rw4lk said:
Hey all, I found this thread while looking for a solution as to why I cannot setup my exchange account. I'm using CM7 but I have a moto cliq xt (I know this is the EVO threads).
I'm not sure from reading this thread, but are you all successfully connecting and syncing to exchange servers with CM7?
I know my credentials are correct (they worked on other roms and on stock) but I'm not sure what the problem is now.
My username is different than my email address on the exchange server, so Joe's suggestion wouldn't help me. I have a logcat from my push to the server if someone might be able to point out the problem from there.
I apologize for posting this in your thread, but I'm out of options and can't get an answer or solution from my home thread.
*Note - another user from my thread was able to, but his username matched his email, and he did it like Joe suggested. Also, I can connect using Touchdown and the same credentials (but I don't want to use Touchdown as I would like the native Email app to handle this.)
Any help or advice would be greatly appreciated.
Click to expand...
Click to collapse
I was able to use the settings that he put in there to get it to work domain\[email protected] Did you try to use them?
Are you even getting to the server name prompt? If so it should be the same as the webaccess address.
drmacinyasha said:
That's because your other ROM doesn't have a fully compatible Email.apk which supports all the ActiveSync admin permissions. Just setup a phone lock which meets the minimum complexity (usually a 4-8 digit PIN will suffice), and accept the Admin rights via the notification you get.
Click to expand...
Click to collapse
I know this thread hasn't been touched in a while, but I don't see a good solution for my particular Exchange setup. I run into the "This server requires security features that your phone does not support." issue and I was wondering something. If I have the Mail app from stock backed up in Titanium Backup, can I restore that app and use it? If so, would I need to uninstall the Email app that comes with CM7?
Since I really really miss my calendar/contacts sync from before, I may not wait for an answer and just hope that my nandroid backup in ROM Manager is a good safety net and go for it. I'll post my results if I do.
chuckuykendall said:
I know this thread hasn't been touched in a while, but I don't see a good solution for my particular Exchange setup. I run into the "This server requires security features that your phone does not support." issue and I was wondering something. If I have the Mail app from stock backed up in Titanium Backup, can I restore that app and use it? If so, would I need to uninstall the Email app that comes with CM7?
Since I really really miss my calendar/contacts sync from before, I may not wait for an answer and just hope that my nandroid backup in ROM Manager is a good safety net and go for it. I'll post my results if I do.
Click to expand...
Click to collapse
So I didn't wait, and I went ahead and mucked with it, but I got way less than stellar results. I was able to uninstall "Email.apk" using Titanium Backup, but when I tried to restore my "Mail.apk" from the same, it just sat there and never completed. I assume that the installation actually failed behind the covers due to some requisite not being in place and that TB was not able to interpret the error as a failed restore.
The search for an answer continues...

Gmail, Google Calendar and Google Contact Sync Clarity

Hello Everyone,
While on my typical WP7 blog crawls through the course of the day, I came across a number of people who seemed to ask the same question: How do I sync my Email/Contacts/Calendar to my WP7 device? Some even asked if it were possible via an App. The issue that I have is that I haven't really seen a real "How-To" on this particular subject. All I've seen are summaries that tell you to add an account, select google and enter your username and password.
I don't know if that completely answers the people's question so I wanted to make a "How-To" of my own with the method I use and if anyone else who's reading this can help add something to this, I'd appreciate it.
Before we start: Please make sure that you aren't using an Outlook account on your phone already.
Go to Settings
Go to "email & accounts"
Select "add an account"
Select "Outlook"
Enter your full email address and password, then select "sign in"
(WP7 will attempt to look for your settings and will not succeed. It will then prompt you to "check your information settings and try again.") Under username, enter your full email address again and the domain is "m.google.com" (without the quotes). Select "Sign In" again.
(WP7 Will again look for you settings to No avail) You will be prompted to check your information and try again, this is normal. Select "advanced"
Leave all the previous information in tact. Swipe down to Server and enter "m.google.com" then select "show all settings"
PLEASE MAKE SURE THAT THE CHECK BOX THAT REQUIRES ENCRYPTED (SSL) CONNECTION IS IN FACT CHECKED
(You can change the account name from "Outlook" to whatever you desire here.) You have the option to select what you would like the device to sync to from here, Calendar, Email, Contacts. When you are finished, select "sign in"
I hope this helps people out and I also hope that others can add to this.
Thanks for reading.
What is the advantage to choosing Outlook over Google on the "add an account" screen?
gfunk84 said:
What is the advantage to choosing Outlook over Google on the "add an account" screen?
Click to expand...
Click to collapse
If you chose 'Google', you don't have to go through OP's 10 steps and achive the same results. That will be too easy, isn't it
foxbat121 said:
If you chose 'Google', you don't have to go through OP's 10 steps and achive the same results. That will be too easy, isn't it
Click to expand...
Click to collapse
Not if you are one of the many people who's Google account isn't syncing properly.....
No need to be rude about it.
Sent from my fingers to your face...
conantroutman said:
Not if you are one of the many people who's Google account isn't syncing properly.....
Click to expand...
Click to collapse
Hmmm. It doesn't make any difference. When you add a Google account, WP7 automatically add it as EAS account just like OP did manually.
foxbat121 said:
If you chose 'Google', you don't have to go through OP's 10 steps and achive the same results. That will be too easy, isn't it
Click to expand...
Click to collapse
Made me smile.
The reason why I started looking around the web for something like this was because people were having issues syncing all of their contact's information (like Work 2, Company and Pager) and their Calendars.
I've found that I haven't run into either problem using this method as opposed to just setting up "Google" with the auto setting, which I have seen entries go missing on. YMMV, basically. I just wanted to help.
-Fight
EAS protocol (the protocol used by WP7 to sync with Google, either setup via 'Accounts' or via this manual methods) has some limitations (only one calendar per account and may not get all contact entries). But the biggest problem is still caused by Google EAS server itself. It is just not stable enough. In the past, I have constant problems when I was using WM 6.5 to sync with it. The reason is Google EAS server needs to translate between EAS protocol and GMail protocol and it's just not that easy to do. Even Microsoft has problem with its own EAS implementation on Hotmail.
foxbat121 said:
EAS protocol (the protocol used by WP7 to sync with Google, either setup via 'Accounts' or via this manual methods) has some limitations (only one calendar per account and may not get all contact entries). But the biggest problem is still caused by Google EAS server itself. It is just not stable enough. In the past, I have constant problems when I was using WM 6.5 to sync with it. The reason is Google EAS server needs to translate between EAS protocol and GMail protocol and it's just not that easy to do. Even Microsoft has problem with its own EAS implementation on Hotmail.
Click to expand...
Click to collapse
It's not that I don't understand that (hell, I've had problems with Gmail in general since the WM 5.1, back when we thought the Beta tag would never come off of gmail), It's that I've personally seen where contacts and calendar entries wouldn't completely sync and since I've gone "manual" with it, I haven't had those problems.
Again, I wasn't looking to put anyone down, I was just looking to help.
-Fight

Categories

Resources