New Mail not syncing with iPhone
-
Thursday, January 08, 2009 4:36 PMI have what seems to be a unique problem. I have an apple iPhone that up until recently was syncing my mail, contacts, and calendars via Exchange ActiveSync great. Then one day, I went to check my mail and there were no new items. I checked OWA and my mailbox was FULL of new items. I am a remote employee and I use cisco VPN software to connect to my company's network and normally get my email through outlook 2003 that way. Whats odd is as soon as the mail is delivered to my Outlook, it will show up in my iPhone straight away. This would be workable if my VPN would stay running, but it usually dies 2 or three times a day and must be manually restarted, meaning no email for me. If it helps, my company is using Exchange 2003 standard (single server - no front end) and SSL is enabled, but like I said, it was working great for a while, and then just stopped.I referred to http://support.microsoft.com/kb/904000 and followed the steps to disable and reenable sycning on my iphone, but to no avail, the problem still occurs.Any help would be greatly appreciated.
nate
All Replies
-
Thursday, January 08, 2009 7:47 PMDo you have Forms Based Authentication enabled? Any errors when you try a sync on the iPhone? Any errors in the Event Viewer App log on the Exchange Server? Any other EAS users having issues syncing?
MVP Exchange Server -
Thursday, January 08, 2009 9:18 PMwe do use forms based authentication, but I would think if that was the issue, it wouldnt have worked in the first place and it was working fine just a coupld weeks ago. I will have to check with my IT dept to see about the logs, and to my knowledge no one else is having issues, but again, I am remote so I wouldnt hear about it unless they told me. I thought it might have something to do with the antivirus scanner. There are no errors on the phone when it happens.
nate -
Monday, January 12, 2009 1:38 AMI would think so too but you will need to cofirm if your Exchange Admin configured this correctly for FBA. Looking the IIS Logs would really help in troubleshooting your issue.
MVP Exchange Server -
Monday, January 12, 2009 7:08 AMModerator
Hi Nate,
Could you test the issue with a Windows Mobile powered device to see if it works?
At the same time, I suggest you rebuild the partnership with Exchange server and test the issue. If you have lots of pending change items to sync, try to separate them to different folders.
Thanks,
Elvis
The Microsoft Exchange Team Blog - You had me at EHLO - http://msexchangeteam.com/ -
Monday, January 12, 2009 8:53 PMhmm, I dont think I have a WinMo device where I could test it from, and as far as I know there arent any items pending sync, how could I check that? As far as your FBA question - if that were the case I shouldnt be able to get mail at all, right? and now I can get mail, but only after it has been delivered to outlook.
nate -
Tuesday, January 27, 2009 3:17 AM
I am a bit confused here. What exactly do you mean by :
misterbeauds said:... delivered to outlook.
nate
You also mentioned :
misterbeauds said:..Whats odd is as soon as the mail is delivered to my Outlook, it will show up in my iPhone straight away. This would be workable if my VPN would stay running, but it usually dies 2 or three times a day and must be manually restarted, meaning no email for me.
nate
Which seems to imply that your iphone is somehow related to your VPN, which means it must be tethered to your Laptop/desktop. Now, the only way this could work is using iTunes. The iPhone can sync with your local Outlook client using iTunes.
So I guess the important question is… “Does you iPhone work when it’s not connected to your desktop/laptop/VPN ?”
Cheers Wayne
Airloom -
Tuesday, January 27, 2009 3:56 AM
If you are syncing your iPhone with Outlook through iTunes, then I think this is an iTunes issue. I suggest looking through the Apple Support - Discussion forum : http://discussions.apple.com/index.jspa?categoryID=1 .
Cheers Wayne
Airloom.
- Proposed As Answer by Wayne Phillips. _ Monday, February 02, 2009 12:13 AM
- Unproposed As Answer by misterbeauds Tuesday, February 03, 2009 8:27 PM
-
Tuesday, February 03, 2009 8:09 PMnot syncing through itunes, going through exchange. I just mean that once the mail is marked "delivered", and it appears in outlook from the exchange server, it will then appear over the air and into my inbox on my iphone.
nate -
Tuesday, February 03, 2009 8:21 PM
misterbeauds,
OK, so when you ment "no email for me", you are taking about Outlook ? No email when the VPN goes down. Your device has nothing to do with your VPN. Simply put... Your iPhone stopped syncing.
What error message are you getting ? Can you browse the internet ? Can you access OWA though Safari ?
Cheers Wayne
Airloom -
Tuesday, February 03, 2009 8:26 PMwhat I mean is that when my VPN is down, I cant get mail delivered to my outlook, and only mail that has been already delivered (either through outlook or OWA) will sync to my iPhone. My understanding is that sometimes a virus scanner will prevent OMA from functioning correctly until an item is marked as "delivered". Thats what I think may be happening.
nate -
Wednesday, February 04, 2009 10:56 AMNate,
Just to clear this up... email gets delivered to your Exchnage Server. Once the email is on your Exchnage server, any of the client methods can access the email. This includes OWA, OMA, ActiveSync, RPC over HTTPS, WEBDAV, EWS and MAPI etc. The email is initially marked "unread". Your Outlook client (Through VPN) probably talks over MAPI, or possible RPC over HTTP. Your iPhone talks directly to your Exchange Server using the ActiveSync web service. Therefore; your Outlook client and VPN have absolutly no baring on your iPhone connection. Apart from your interaction with the data. If you read and email it is marked "read", then all access methods will see it as "read".
There is no corrolation, apart from location, between the Outlook and VPN with your iPhone, unless it's connected to the computer with a cable.
The problem could be sigle strength at your location
Cheers Wayne
Airloom -
Thursday, February 05, 2009 9:16 AM
Hi
I seem to have a similar problem like Nate.
W'ere using Exchange 2003 and our CEO has an iPhone. New mail only arrives at his iPhone when he has read it (using Outlook on his regular workstation). The "new" email on his iPhone is marked "read". Same for contacts and appointments: new as well as existing items in Outlook only show up on his iPhone when they are saved (again).
On the other hand: new items (appointments, email, contacts) which he creates on his iPhone almost immediately show up in his Outlook client.
The regular maintenance processes scheduled to run at midnight on the Exchange server itself (cleanup, online defragmentation etc) also force new email to be pushed to the PDA.Does anyone know how to fix this ?
-
Tuesday, February 10, 2009 4:43 AM
In both cases, do the items come though if you complete a manual sync ? Send the iPhone user an email and start a manual sync. I would expect the items to come though. If the items successfuly sync after a manual intervention, then the problem might be Push related. There are some things to consider when using Push in a Front End Exchange Environment.
Cheers Wayne
Airloom -
Wednesday, February 11, 2009 1:58 PM
Thanks for your answer Wayne, but we did already try a manual sync without success.
I did however find out what was going wrong. "Just for fun" we tried Google Mobile Sync which basically uses the same technique (Exchange Active Sync) and immediately the iPhone started to sync (in this case with the user's Google account).
I therefore turned my attention to the Exchange server itself and to the process that most likely was interfering with Active Sync: the anti-virus services. It turns out that as soon as I shut them down Active Sync runs without any problems: appointments, email etc. all arrives at the iPhone the way we want it to.
We use Scanmail for Exchange from TrendMicro, I will therefore contact them in order to get a solution.
Brgrds
Hans- Proposed As Answer by HansVH Wednesday, February 11, 2009 1:58 PM
-
Thursday, February 12, 2009 9:31 AM
Just to let you all know what eventually solved my problem:
Our TrendMicro Scanmail software has been updated somewhere in the past from version 7 to version 8. The update process failed to delete some registry entries which eventually caused the problem described above.
Look for a registry key called "VirusScanProactiveScanning" which you should find twice:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<servername>\
Private-3484c833-f074-4793-97a0-0bbbcdbb7c75]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<servername>\
Public-a785d57d-8a08-44ce-86c4-04bfea4691e5]
Just delete the "VirusScanProactiveScanning" keys and restart the main Scanmail service: problem solved ! -
Tuesday, February 17, 2009 11:54 PM
misterbeauds,
Are you still having push issues?
Cheers Wayne
Airloom- Proposed As Answer by CPI-ENG Thursday, November 26, 2009 11:38 AM
-
Friday, November 05, 2010 11:12 AMMine was a Trend issue, deleted the key, all sorted!
-
Tuesday, March 29, 2011 4:13 PMMy issue was caused by AVG Internet Security Suite and its Exchange spam filtering add on. I uninstalled AVG completely from the Exchange server and the problem was resolved.
-
Wednesday, October 05, 2011 2:43 PMThe issue is caused by Anti-Virus software. I was running AVG Email Server Edition 2012. Messages would not sync until they were opened by a client. Either Outlook or OWA. As a work around I setup a test rule in Outlook to automatically mark message as opened. Then every new message was sync immediately.
The fix that I got from Microsoft was to modify a registry setting.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan]
"ProactiveScanning"=dword:00000001
Changing the value from 0 to 1 Hexadecimal
See this Microsoft Article ID: 827615 to learn why
-
Monday, October 31, 2011 1:42 PM
The issue is caused by Anti-Virus software. I was running AVG Email Server Edition 2012. Messages would not sync until they were opened by a client. Either Outlook or OWA. As a work around I setup a test rule in Outlook to automatically mark message as opened. Then every new message was sync immediately.
The fix that I got from Microsoft was to modify a registry setting.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan]
"ProactiveScanning"=dword:00000001
Changing the value from 0 to 1 Hexadecimal
See this Microsoft Article ID: 827615 to learn why
Did that resolve the issue for you? - I am having the same exact issue - I was about to uninstall AVG to see if it was the issue.
- Proposed As Answer by PHMNHM Monday, May 14, 2012 5:10 PM
-
Saturday, March 31, 2012 4:43 PMSBS 2003 server. Same "had to be marked as read" before it showed on phone. AVG Exchange VSAPI component was the culprit. All I had to do was simply turn that component off and within a minute all the email showed up on the phone. No need to do a big uninstall. I don't know about the reg key stuff but I'm just going to leave the component off. All the stations are running the same AV so their local AV should pick the bug in the email just as readily as the Exchange plugin.
-
Monday, May 14, 2012 5:12 PMI also was able to go in and deacitvate that portion of the AV on the server. I use an online filtering service before it gets to the server. Thanks again for the tips!
-
Tuesday, May 15, 2012 5:59 PM
Turning OFF the Email Scanner for MS Exchange in the AVG advanced settings does stop the mobile phone synchronization errors but it also removes the scanner feature and its protection.
I contacted AVG Tech support on this issue and they are aware ofthe problem but they said by activating the Email Scanner for MS Exchange component AND checking the "Proactive Scan" checkbox under the Scan Settings it stops the VSAPI from interfering with the mobile phone Email synchronization.
We have iPhone, Android and Windows Mobile users and it seems to work OK on all platforms with these settings enabled.

