6.0.0-git
2019-03-23

[#11315] ActiveSync problems with WP7
Summary ActiveSync problems with WP7
Queue Horde Framework Packages
Queue Version Git develop
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester leena.heino (at) uta (dot) fi
Created 2012-07-27 (2430 days ago)
Due
Updated 2012-08-29 (2397 days ago)
Assigned 2012-08-05 (2421 days ago)
Resolved 2012-08-13 (2413 days ago)
Milestone
Patch No

History
2012-08-29 12:46:21 Git Commit Comment #15 Reply to this comment
Changes have been made in Git (master):

commit b2632a1de65f76124522384a86f179beb8eef857
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun Aug 5 17:10:26 2012 -0400

     Fix synckey comparison. Must compare to a string.

     Possibly fixes Bug: 11315

  .../lib/Horde/ActiveSync/Request/Sync.php          |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/b2632a1de65f76124522384a86f179beb8eef857
2012-08-13 02:10:32 Michael Rubinsky State ⇒ Not A Bug
 
2012-08-08 16:22:50 Michael Rubinsky Comment #14 Reply to this comment
So in order to make WP7 and ActiveSync work I have to add line like 
this to prefs.local.php:
$_prefs['trash_folder']['value'] => 'Deleted Items'
It doesn't need to be named "Deleted Items', but you *must* be moving 
deleted items to the trash folder, not just marking them as deleted. 
I.e., the 'use_trash' preference must be set.
Would it be possible to use one trash_folder setting for ActiveSync 
and another trash_folder setting for normal webmail users?
No. This is a bug in the WP7.5 client. We are not going to hack our 
code to work around MS's bug.

2012-08-08 16:13:21 leena (dot) heino (at) uta (dot) fi Comment #13 Reply to this comment
So in order to make WP7 and ActiveSync work I have to add line like 
this to prefs.local.php:
$_prefs['trash_folder']['value'] => 'Deleted Items'

Would it be possible to use one trash_folder setting for ActiveSync 
and another trash_folder setting for normal webmail users?
2012-08-08 16:00:04 Michael Rubinsky Comment #12 Reply to this comment
Sorry, I might not have been clear.  You already have a "Trash" folder 
in your folder hierarchy, but you do not have it flagged as what 
Exchange considers the "Deleted Items Folder". You need to tell IMP 
which of your folders is the Trash folder. This is done in the 
preferences for IMP.
2012-08-08 12:21:01 leena (dot) heino (at) uta (dot) fi Comment #11 Reply to this comment
I created a folder "Deleted Items" but ActiveSync still gives the same 
error: 8004010F
2012-08-08 01:43:52 Michael Rubinsky Comment #9 Reply to this comment
aaaaaand, after further searching, I believe *your* problem is that 
you do not have a "Deleted" items folder.

It seems that there was code introduced in Windows Phone 7.5 that 
inadvertently caused FOLDERSYNC to break when there is no Deleted 
items folder sent from the server. This is a bug in the client code 
and the suggested workaround from Microsoft is to enable the Deleted 
folder.

This is a user setting in IMP.  If you can verify that this is the 
issue, I'll add a note in the wiki, but there is nothing we can do 
server side to work around this.
2012-08-08 01:35:41 Michael Rubinsky Comment #8 Reply to this comment
Additionally, there are multiple postings in various (non-horde) 
forums about this error code and WinMo 7 devices.

A microsoft forum suggests changing the Locale setting on the phone, 
then setting it back to the original Locale, rebooting and re-pairing 
the sync partnership.

E.g., 
http://answers.microsoft.com/en-us/winphone/forum/wp7-sync/email-problems-with-htc-hd7-windows-phone-error/feb2d9d3-dd7d-4be3-87c5-5b2b99c3cdea
2012-08-08 00:09:51 Michael Rubinsky Comment #7 Reply to this comment
I cannot reproduce this error on any of my test devices, including a 
WinMo6.5 device, using a similar folder structure.

Is this the *entire* log? Also, are there any other errors reported in 
the horde/server log? If you can get a wiretrace of the conversation 
that might be useful as well.
2012-08-06 08:45:12 leena (dot) heino (at) uta (dot) fi Comment #6 Reply to this comment
I tried to patch and it did not seem to fix the problem. I still get 
the error 8004010F.
2012-08-05 21:22:57 Michael Rubinsky Comment #5
State ⇒ Feedback
Reply to this comment
Actually, the folder names don't seem to be a problem from my testing.

However, there was an issue with initializing the sync object in 
certain code paths - one of which only a WinMo phone would follow.

See if the following fixes your issue:

http://lists.horde.org/archives/commits/2012-August/015779.html
2012-07-30 19:08:24 Michael Rubinsky Comment #4 Reply to this comment
There is also Remote Connectivity Analyzer for ActiveSync at:
https://www.testexchangeconnectivity.com/
Yep, well aware of this tool. Thanks.
2012-07-30 19:08:00 Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Assigned
Reply to this comment
ActiveSync always fails with Error Code: 8004010F
Works fine here on all my test devices though I don't have a WP7 
device to test.

The log also looks fine. The server is sending exactly what it should 
be, but it looks like the device does not like something in it. My 
guess is that it's something to do with the sub folder structure.
2012-07-27 11:59:25 leena (dot) heino (at) uta (dot) fi Comment #2 Reply to this comment
There is also Remote Connectivity Analyzer for ActiveSync at:
https://www.testexchangeconnectivity.com/
2012-07-27 11:19:20 leena (dot) heino (at) uta (dot) fi Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ ActiveSync problems with WP7
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
New Attachment: 2b3c1196268cc2bdd43145042692e545.txt Download
Reply to this comment
ActiveSync always fails with Error Code: 8004010F

Attached ActiveSync synclog.

Tested with: Nokia Lumia 900 (Windows Phone 7.5)
Tried to sync: Email, Contacts, Calendar, Tasks

Saved Queries