I've been trying to get my iPhone sync with Exchange. Quite a hassle.
Currently, I'm working with my test environment. Here's the setup:
Exchange machine:
Windows 2003 SP2
Exchange 2003 SP2
IIS 6.0 on the same machine
Local CA server on the same machine
LinkSys (type of) router
-----------------
OMA and Mobile ActiveSync are enabled on Exchange.
Ports 80 and 443 are routed to IIS
Certificate generated and imported into IIS.
The Exchange/IIS server is published in DNS
OMA and Microsoft-Server-ActiveSyn
c folders require SSL and Basic Authentication
I created mobileconfig using iPhone Web Configuration Utility.
With my iPhone, I point Safari to
www.mydomain.com/myname.mobileconfig. It starts the profile installation, gets pass "accept Certificate" and then it hits this error message:
--------------------------
----------
---
Passcode cannot be set
The server for account "name given in mobileconfig" is not responding.
This account cannot receive new data until a new passcode is set.
--------------------------
----------
---
The popup offers "Ignore" button but that freezes the unit every time (must reboot).
I tried setting up a passcode on the iPhone but that's not it.
-***-
On the other hand, if I just create Exchange account on the iPhone, I must do it a few times before it "admits" that "user has been authenticated". However, even then the messages don't synchronize. I see "Connecting" for a few seconds (10 at most) followed by message "Updated <date/time>" - but no messages ever get downloaded.
I've been working on this for more than a week. I tried a lot of different configurations - with and without SSL. I feel like I'm losing my mind. There's really very little of documentation and step-by-step available on the net. There's a lot of material on the subject - but it's all pretty much the same and don't deal with "what if things go wrong".
Any suggestion would be highly appreciated.
TIA.