Related
I've had my 2 Desires for about 3 weeks now. When I first received them we were using MS Exchange 2003, and Mail/Contacts/Calendar all synced perfectly.
Since then, we have upgraded our Exchange Server to Exchange 2010, which is lovely, BUT it turns out that the Desire Calendar will not sync with Exchange 2010. It would seem to be a Desire/HTC issue, as our iPhones/iPod Touches still sync Calendar fine with Exchange 2010.
I also note that a colleague is syncing the Desire Calendar with Exchange 2007 without problems.
So it is the combination of Desire Calendar and Exchange 2010 which fails. If I go to Settings/Accounts & Sync/Exchange Activesync and enable Calendar Sync I can see error messages saying "Syncronization is experiencing problems". If I leave Calenday sync enabled, it causes Mail and Contacts to sync poorly too, but if I disable Calendar sync, Mail and Contacts sync fine.
Has anyone else got Calendar sync working with Exchange 2010?
Desire Exchange 2010 Calendar
I recieved my Desire yesterday after reading quite a bit about it. Yes it can Sync with Exchange and all is what i read.
I set it up to Sync with the Exchange 2010 server and to my surprise it didn't sync the existing calendar items. Contacts and Mail is no problem.
If i add e new Calendar item on the Desire it does show in Outlook on my pc so Exchange does have a sort of sync with the Calendar. Adding a new item in Outlook never shows on the Desire. It seems like a one way sync or something. The Desire can sync to Exchange but it seems Exchange cannot sync to the Desire
I have a test account on one of our clients Managed Exchange 2007 servers. Setting up ActiveSync to the Exchange 2007 server works like a charm. Full sync both ways.
Just modify all your calendar items, for example by adding an additonal category by change your view to "list" or "list all active" and selecting all your appointments. Add a category, remove the category and switch back your view. Now you can happy sync your calendar with E2k10
Whoa! Steady there.
Can you give me some background to this before I apply it to my 12 year calendar history? How did you discover this, and have you actually successfully done this?
It worked and now not anymore
Strangest thing. My girlfriend planned a few appointments in here Calendar and invited me. So I accepted those invites on my Desire and all of a sudden the 2way sync worked. I could add items on my Desire and they popped up in the Exchange/Outlook Calendar and vice versa.
But that was unitil I rooted my device this morning...meaning new flash and standard factory reset. Now it will not sync the Calendar anymore. Tried sending new invites from a different account without any luck.
So...the calendar sync does work eventually...dont know why or how I did it.
Other thing you could do is, is install HTC Sync and manually do an Outlook sync of only the Calendar items (all items). I did this and they all showed up on my Desire. I did a one time sync.
Trying to figure out how to get the sync working again.
XDAgeek said:
Whoa! Steady there.
Can you give me some background to this before I apply it to my 12 year calendar history? How did you discover this, and have you actually successfully done this?
Click to expand...
Click to collapse
Not really any background information, sorry. I've done some research on it but did not find anything, including analysing the extended sync protocols, everything looks ok, but there's no sync.
I've got this solution from a swiss-forum "android.pocketpc.ch" (sorry I can't post links since no moderator removed the restrictions yet) and it worked like a charm. I've tried it since I'm the Exchange-Admin myself and I now I've a functional backup;-)
Same problem here. Cannot get calendar to Sync with Exchange 2010.
If I add a new meeting to the Desire it appears in Outlook.
If I modify this meeting in Outlook then it appears as 2 separate meetings on the Desire.
If I delete an appointment on the Desire then it comes back once the sync runs.
All in all very disappointing for a State of the art phone.
Anyone got a real fix for the Exchange 2010 calendar problem?
A huge thanks to dab_ch for posting above the workaround to get the Calendar syncing to Exchange 2010. This is now working perfect to two Desires here.
If you have this problem, follow the advice in the post above. It worked for me, twice.
dab_ch fix is only working in part for me.
Some of the Exchange calendar items still do not appear on the Phone.
If I modify an appointment on Exchange the change is not reflected on the next sync from Exchange
Also, While Exchange Contacts are appearing on the phone. If I add a new contact to the Phone this does not appear in exchange.
The Sync Process still reports "Synchronization is experiencing problems."
A Further update.
I setup a new account on Exchange2010 and then transferred the Calendar using export and import.
Now my Calendar Synch in both directions is working fine.
It looks like my problem was related to a problem with my account on Exchange or some appointment in it.
Contact Sync problems
While the calendar is working 100%.
I still have a problem, that if I create a contact on the phone it does not sync to Exchange 2010.
There are no errors from the ActiveSync process.
Is anybody else having this issue?
Please note that if your Desktop Outlook client is using 'Cached Mailbox', then after adding the temporary category to each item, you MUST wait for the local Outlook database to sync completely back to the Exchange before you then remove the temporary category and then again wait for the completion of the sync back to exchange from Outlook.
Failure to comply with this will leave you with only a partially synced database - the part which did manage to sync back to Exchange.
You can tell when it is still syncing by watching the satus bar at the bottom of Outlook - it will say 'Updating Calendar', then after a few minutes return to 'All folders are up to date'.
Note the sync doesnt start immediately, so you wil see the 'All folders are up to date' message for perhaps 15 seconds before the sync starts. Wait for the 'Updating...' message etc.
Contact sync does seem slow, but it does work here eventually. It ought to be fast tho, so something is not right. I even tried the temporary category trick, but it didnt speed it up.
XDAgeek you are right.
I tried a number of different accounts to reproduce the problem with the Calendar and it seems Cache mode was my issue.
The Calendar sync is now working 100%.
On the Contact Sync from Phone issue, this still seems to be not working. I added a contact to one of my test Desire phones two days ago and it is still not in exchange.
For me it was not the cache mode.
I did an export-mailbox on the Exchange 2010 server.
Deleted my mailbox...recreated it so it was blank....no synch issue of course (So it is definitely not an Exchange 2010 issue)
I created 1 item in the Calendar in Outlook 2007 and that popped up nicely on the Desire. Great...so I thought.
Did an import-mailbox with the backed up pst...and Sync had problems again.
Started filtering out where the problem came from.
Turns out I had some Items (birthdays and such) with recurrence that the ActiveSync in Android is not happy about (Same Items sync fine with a WinMo 6.1 device). So I deleted all the recurrence itmes and copying them back 1 by 1. Syncing was still going fine until a certain item. So I edited that item by removing the recurrence pattern and reapplying it making sure it was an All Day event (that is a Birthday usually ). And Presto...everthing is syncing fine now.
Better logging is needed?
Has anyone else got Calendar sync working with Exchange 2010?
Click to expand...
Click to collapse
Mine is working fine syncing calendar with Exchange 2010, has been since i got my desire back in March.
Very strange that so many people are having the same issue.
after a few beers
sorry this post is under the influence but...
there is a subtle problem with my synching. overall the calender syncs fine. with one exception: any diary entry i type directly into outlook, (with receipients also), does not synch. if i am sent and then accept an entry, or if i make the entry on my phone it syncs. direct outlook entry does not work. pants.
tuntang said:
sorry this post is under the influence but...
there is a subtle problem with my synching. overall the calender syncs fine. with one exception: any diary entry i type directly into outlook, (with receipients also), does not synch. if i am sent and then accept an entry, or if i make the entry on my phone it syncs. direct outlook entry does not work. pants.
Click to expand...
Click to collapse
I have exactly the same problem. If a collegue invites me, my calendar syncs fine, but if I add items myself, the sync is almost random (some items dissappear) and the new item does not show/sync.
I really do not want to delete all recurring items, but maybe i'll give it a try. Google Calendar Sync does not seem to be a great solution either.
HTC answered me (i have a Legend) that Exchange 2010 is currently NOT supported.
Thanks all, I follow the "category" method and it works like charm now!!! )))
Category.. No category... SYNC!
Thanks!
Also for me the assign category then undo worked.
Now my whole calendar is synced and I'm ready to go!
Had the Desire for about a week and like it a lot but will have to return it because Exchange sync doesn't work and that's a key feature for me.
1. Set up account and set 1 home screen to the mail widget and for a couple of days it worked perfectly until I saw new emails on the home screen widget that didn't appear in the mail app itself! How can the widget apparently be more up to date than the source of the data - the mail app?
2. After this could no longer sync e-mail - it appears that contacts and calendar sync but e-mail shows "sync protocol error"
3. Removed account and set it up again and it worked perfectly for about 24 hours and then exactly the same thing happened. Removed account, removed battery, reset account and its working again....for about a day before I get the same result (home screen widget showing e-mails that aren't showing on the mail app itself and I get sync error).
4. Removed all apps and reset to factory settings and set up account again but the same thing has happened again after about a day. It seems that if it tries to sync and can't connect because there's no signal eg I'm on underground then it locks and can no longer sync
It's Microsoft Exchange server 2003 SP2 and colleagues have no problem with i phones or blackberries and I've been using WM phones for years without any problems. Unfortunately phone is useless to me if this doesn't work and disappointed that HTC claiming feature that in my case clearly doesnt work
More information on above
Forgot to say that although I wasn't getting any e-mail update I was able to send e-mails all the time that this was going on! So I could send but not receive.
apart from a similar issue the first few days in, my Desire sync's fine with my exchange 2007 server. although I've not used the mail widget
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
fredfox_uk said:
apart from a similar issue the first few days in, my Desire sync's fine with my exchange 2007 server. although I've not used the mail widget
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
After posting the above, I had this happen again this evening. If occurred when the connection changed from "H" to "G" I'm missing 55 mails
I'll have to try and figure out what's happening
I've had exchange working great for the last 3 weeks. Then it decided to stop working. I've deleted the account and re created it and no joy. Just won't sync. I'm gonna try with moxier now and see if that works.
Sent from my HTC Desire
Identical problem here with my Desire.
It is not just a simple receive problem because I can delete emails from the main "Inbox" folder, than switch to the "Deleted Items" folder, sync and retreive the emails I've just deleted.
But syncing the main "Inbox" folder is not working anymore.
Seems like internal index data for that folder is broken.
This is not a server problem because just deleting the sync account and re-creating it magically fixes it until something screws up again.
This is clearly a case of bad application coding. Damn try-catch statements
Had the same problem myself on 2 different phones, I found that going into account settings and doing a save without changing anything (it says it is checking your password) fixes it.
Seems to happen if you make a lot of changes via outlook and the phone looses its place.
LM
MufDvr said:
Had the same problem myself on 2 different phones, I found that going into account settings and doing a save without changing anything (it says it is checking your password) fixes it.
Seems to happen if you make a lot of changes via outlook and the phone looses its place.
LM
Click to expand...
Click to collapse
Tried, but does not work for me.
I wonder if the application event logs on the Exchange server will give more information on the failure? Is SSL set up correctly? Some people have been having problems with self-issued certificates.
fredfox_uk said:
After posting the above, I had this happen again this evening. If occurred when the connection changed from "H" to "G" I'm missing 55 mails
I'll have to try and figure out what's happening
Click to expand...
Click to collapse
Funny you mention about it breaking when going from "H" to "G". I thought I had seen bandwidth related success with my exchange syncing. On WIFI, I could sync the whole inbox, but I would get failures when trying on 3G. I then reduced the inbox to "last 7 days only" and it worked. Going back to higher bandwidth, suddenly I could have the whole inbox without sync errors.
Deleting & recreating Exchange sync account works
For me, deleting and recreating the Exchange sync account workedto get rid of "Sync protocol error". Not funny, but at least there's a way out.
So far so good...
Suspecting some local index file is broken if the sync task is suddenly aborted, I have avoided killing any task and guess what ? So far so good...
Will keep you informed.
P.S. Even if this is the real issue, the sync code is BROKEN.
Hi,
Has anybody gotten to the bottom of this? I've found several threads about the same error across several HTC phones on several different forums.
Deleting and re-adding the account seems like a last resort?
All my contacts are synched via Exchange so if i delete it i assume i lose all of them? And then would i lose corresponding text messages? Anything else? Do all my links to Facebook, Flickr etc get lost? I can see some weird strings of code in my contacts on Outlook now so is the Desire clever enough to pick these up and link everything back together again?
If i can get everything back by just re-adding the account then I'll give it a go but it really does seem far from ideal.
Hi all,
Sorry to bump but i've still not taken the step of deleting my exchange account through fear of losing information.
Obviously it will delete my contacts but will it also delete corresponding SMSs, links to facebook, twitter etc (in Outlook I can see some funny code strings in each contact which i think may be the links)?
Basically, will anything be permanently lost or will i simply need to re-add the account to get everything back as it was?
Is there a way to back up my contacts first? HTC Sync?
Thanks
When I removed an Exchange account from the stock mail app it didn't remove the linking data (which appears in the notes field of your contacts). And there would be no reason for it to delete SMSes, although with the contacts gone, it may not be able to link the phone numbers to names.
HTC Sync could sync your contacts to a separate Outlook installation, or you could use one of the many backup apps (search around here for reviews).
I've only had my Desire for 24 hours but I elected to go with Touchdown right from the get-go after advice from a colleague. So far, it's working a treat (fingers crossed it stays that way). Is anyone here using TD and experiencing these issues, or is it just with the native mail app?
I have a simular issue where Exchange mail stops receiving and sending emails. I only pick up that there is an issue, when attempting to send a email.
This happens regularly, and I have reported this issue to HTC.
My fix when this occurs is to untick and retick SSL option and save.
Well i've removed and re-added the exchange account and so far everything seems to be working ok. Will keep you folks posted - hopefully it doesn't happen again!
Chaps,
Just joined, but I think I have your answer... Task Killer. If you run any of the task killer apps, they can kill the exchange as it is happening, leaving the inbox status in a corrupt state, and the only way to fix this is to delete the account and start over. But then, if the task killer kills the sync, you will have to do it oveer, and over again. Task Killers are great for killing the main apps, but use them on the desire in manual mode only, and only kill the main apps, not the background processes.
Regards
Jaffa
I don't believe it is caused by task killers - I use Advanced Task Killer but it doesn't even list email as open even though it is. I noticed my inbox started having issues after changing sync from 7 days to 14 - it kept re-downloading the last few messages, then after 1 day simply stopped updating the inbox. All other folders fine. I suspect it's a space/size issue - some reports from POP users sound similar. HTC / Android really need to address this. Slowly getting sick of my HTC Legend...(Legendary failure!)
skip to the end for the solution!
Our IS department helpfully upgraded our exchange server overnight to exchange 2010.
After putting in the new details we hit a problem - the calender refused to sync and just came back with the unhelpful "an error has occurred"
We did a bit of googling and realised that quite a few other people were having the same problem with 2010. Most had placed the fault with HTC or Android - we were able to do a bit of digging and certainly with our problems we found a solution.
We tried to sync with another account on our phones (2 different Desires one orange branded one "normal") another test account synced fine - no errors. So that narrowed the fault down to our specific exchange accounts. A bit more googling suggested that possibly corrupted entry's in the calender were causing the sync to fail - or open ended repeating appointments (such as birthdays)
Our IS department found 1 corrupted entry in my colleagues account (a meeting that appeared to be set for some time 3072 ....) I deleted all of my repeating birthdays (they were all in my Google cal anyway). Once this was done both accounts started to sync with no problems.
So the short version - if you cant sync with exchange 2010 on your HTC Desire - find and remove those corrupted entry's and/or delete/edit open ended repeating appointments.
Hopefully this will be useful to someone who will be able to avoid the same couple of hours of panic that we had this morning!
Argh. I cannot tell my users to delete all their open-ended recurring appointments when we migrate to Exchange 2010 later this year...
We also had this problem with exchange 2010 and a number of Desire's and have resolved it by following the advise on/showthread.php?p=6305877#post6305877"]http://forum.xda-developers.com/showthread.php?p=6305877#post6305877[/URL]
When we selected all appointments, assigned a category, then selectd all appointments again and removed the category. waited 10 minutes to ensure Outlook cache and Exchange has synced.
After this the phones worked fine.
Rob Pomeroy said:
Argh. I cannot tell my users to delete all their open-ended recurring appointments when we migrate to Exchange 2010 later this year...
Click to expand...
Click to collapse
the open ended thing maybe not the solution - it may be that one of the recurring appointments was corrupted - could have just been coincidence
the category solution sounds much better !!
alternative for low number of users of exchange
sync emails and contacts normally, download htc sync to computer for calendar. Not Ideal but it works from exchange to the phone but not from the phone to exchange
I want to bump up this thread, as a form of thanks to TS, because after hours of troubleshooting (on why my calendar doesn't get sync), and numerous factory reset, I found out that it's indeed some corrupted entry in the calendar that causes the calendar not being able to sync!
Thanks ever so much!
This solution worked for me on a HTC Wildfire with Android 2.2
As advised, I went into my Desktop Outlook calender, and either deleted or "Saved & Closed" all recurring appointments. Used the month view for this. Works like a charm now! Thank you once again
i never had problem syncing with exchange 2010
Guys,
I had the same issue where the calendar wasn't syncing. The fix that I found was that I had some recurring appointments in outlook with no end date. I put an end date on these in outlook, let it sync back to the server and then the calendar synced first time.
Let me start off by saying that this issue has had me running in circles going batsh!t crazy for weeks now. Generally speaking, Exchange contacts and mail worked for me right out of the box using the built in Sense Mail and continued to work through several iterations of the Fresh ROM. Definitely occasional issues but all in all it worked. And, since I was constantly experimenting with new ROMs, I always just assumed it was me who had done something when syncing stopped working.
That said, after weeks of no tweaking Exchange Mail suddenly stopped working and despite all efforts I can't get it to work well again. Moxier, Roadsync, and Touchdown all work without a hitch. And, even the AOSP Email app I used when trying out Cyanogen continued to sync despite the occasional "connection error." Unfortunately, I would really prefer to use the built in Sense Mail app and hope someone here can help me fix whatever it is that is not working.
What Works and What Doesn't:
Exchange Mail - If I delete the account and start over I can nearly always set the account up but, on occasion get continuous "Failure, Try Again Later" dialogs. Once set up, the phone immediately starts trying to sync. The most frequent result at this point is no mail shows up but the syncing icon will spin for hours to no avail. However, if I go to view the folders, I can see my different folders which are clearly from my exchange account. However, sometimes after I set the account up and it starts syncing, some mail WILL start to show up in the inbox (10-20 messages) but then stop while the sync icon spins indefinitely.
Exchange Contacts - Always worked and continues to work
Exchange Calendar - From the very beginning had "connection timeout socket" issues but so I use a workaround using Google Calendar Sync. I am perfectly fine with this workaround so, if it can't be fixed it is no big deal.
Numerous times I have tried
-deleting and re-adding the account
-changing up the sync options
-wiping the phone and re-flashing ROM's (including stock)
-Using apps that prevent the phone from locking
-screaming and yelling
If anyone can help I would be very grateful. I also attached a logcat that ran this morning.
http://dl.dropbox.com/u/4716709/Log.txt
hmmmm...
For clarification:
After a hard reset, no rooting, no ROM, just a plain stock 2.2 EVO, you cannot sync Exchange mail? Contacts are OK, and Calendar requires workaround?
I would check with your IT dept and see if they have any restrictions on device synchronization. Ensure they are running at least Exchange 2007, and try having them delete the synchronization from the server-side.
I would test on a different EVO, preferably one that has never been rooted or flashed. Does your account sync, or can you duplicate the symptoms?
Fully stock EVO has the same inconsistencies. I'm on my second EVO due to a screen issue with the first one and was traveling so didn't root the new one for about a week and had same issues. Additionally, there is someone in our IT dept with an EVO who has had the same issues but, lacking my perseverance (or stupidity) gave up for touchdown.
It seems to be completely isolated to the HTC Mail app because even if I install the AOSP Email app on a Sense Rom I can sync email fine. Unfortunately, the AOSP Email app has little functionality in comparison and what I like most is the full screen widget of the Sense...
okolowicz said:
Fully stock EVO has the same inconsistencies. I'm on my second EVO due to a screen issue with the first one and was traveling so didn't root the new one for about a week and had same issues. Additionally, there is someone in our IT dept with an EVO who has had the same issues but, lacking my perseverance (or stupidity) gave up for touchdown.
It seems to be completely isolated to the HTC Mail app because even if I install the AOSP Email app on a Sense Rom I can sync email fine. Unfortunately, the AOSP Email app has little functionality in comparison and what I like most is the full screen widget of the Sense...
Click to expand...
Click to collapse
Check your settings for SSL and TLS. Maybe something is off there. Also check how much mail you are trying to sync and the size of the mails you're trying to download. These are all in the account settings.
Also find out if your IT dept has changed anything on their end. I had issues when upgraded from Exchange 2007 to Exchange 2010, it could be something related to that also...
Perhaps you can provide your settings and we can take a look. It's hard to pinpoint a problem without specific info.
there are some good suggestions in the thread already, but I have something relatively basic you could try. At anytime after deleting your exchange info, did you ever go into manage applications and see if there was any data still in the mail app, and if so, did you try to clear the data and cache before reloading your exchange info?
Regarding the amount of mail I am trying to sync, I've tried the default 14 days down to 3 days with no difference in reliability. I've also tried changing up the allowed size of emails from anywhere between 10kb and entire mail but still no consistency.
The settings I use are pretty straight forward and haven't messed around too much because I haven't seen to many areas to tweak. The server address is mail.companyname.com and the domain is companynameI've tried with and without the SSL box checked which has made no real difference.
What makes it frustrating is the inconsistency. For example, yesterday I deleted and set the account up again with another combination of settings and email started syncing almost immediately. But, as is typical, after syncing the first 20 messages or so nothing else showed up and the sync icon spun indefinitely. And, contacts of course synced without issue.
If there are other settings you recommend me looking at, please let me know.
fachadick had an excellent suggestion. I've seen similar sync issues when the local cache remains even after having removed the account (client-side), or if a particular mailbox in Exchange was previously synced with a Windows Mobile device (server-side).
1. Try removing the account from your EVO, and wiping out the local cache in Settings - Applications - Manage Applications (the 'All' tab). Check every app that is associated: Calendar, Calendar storage, Calendar Sync Adapter, Contacts Storage, etc, etc
2. Have your IT dept delete any and all sync relationships on the server side.
After these two items, reboot your phone, wait a while, and try again. Question: what version of Exchange does your company run?
Something I noticed...I set my gmail to sync hourly but it does not do that at all. Both my hotmail accounts will sync hourly but whenever I go to my gmail app, the longest time before another sync was like 22 mins. I emailed myself something through gmail once and although my sync settings were still set at hourly, I got the email 10 minutes later. Idk what's going on with that. I just now put it on manually because I'm pretty sure its turning on my 3G more times than it should.
ms79723 said:
...whenever I go to my gmail app
Click to expand...
Click to collapse
gmail app?
Anyhow, I have my gmail sync every 15min and think it's pretty accurate...
I actually have several gmail accounts and they sync at various times with my main personal account syncing every 15min... And it all seems fine...
argentocruz said:
gmail app?
Anyhow, I have my gmail sync every 15min and think it's pretty accurate...
I actually have several gmail accounts and they sync at various times with my main personal account syncing every 15min... And it all seems fine...
Click to expand...
Click to collapse
He probably means the Gmail email app you get once you configure a Gmail account on your WP7.
slightly different problem with gmail sync
Hey everybody,
I'm wondering if anybody else is having the same problem as me at the moment ?
I've had the phone a few months now. I experienced a few issues with Hotmail and returned to using Gmail. It used to sync and push emails flawlessly, however it seems to have stopped working which is driving me mad.
When I wake up, i'm used to seeing new messages waiting for me (mainly XDA forum news). However, the push functionality has stopped working. I open my inbox, and see a message indicating email is up to date. However, no new messages are displayed. When pushing the sync button, the inbox is synced and the new messages are displayed, despite the settings set for "as items arrive". Highly annoying and not very productive to have to check for messages manually.
I played around with the settings trying various options, I even deleted the account and started over again (which was a pain re linking contacts etc, all to no avail.
Can anybody help me to restore my push email please ? I'm getting really cheesed off now.
Thanks
Garrickus.
Could it be possible that your phone had synced with G-mail 50 minutes before you sent yourself an email, and then you received it 10 minutes later, after the scheduled hour?
BUMP
go to email account settings and check if it is showing any errors. happened to me once. I re-entered my username passoword and the error went away. Perhaps this is due to Google getting very picky these days as many gmail accounts are getting hacked.
Why not just leave it in 'push' mode? Unless you have a lot of emails every hour, push email uses less data than polling. Gmail's exchange activesync isn't exactly rock solid. Back in WM 6.xx days, I have to reset my account every few weeks.