We help IT Professionals succeed at work.

ActiveSync Issues on iPhone with Exchange 2003

computersights
on
6,376 Views
Last Modified: 2011-10-19
I have followed the steps from Apple, and I use a Dell Axim w/ActiveSync to retrieve my work e-mail.  I am paying for the Enterprise Data Plan as well.  I have setup the Exchange account correctly and have installed the cert even though it's not necessary.  The iPhone will authenticate with the server and I know this because when I change my password on the domain the phone within 5 minutes prompts me for the new password.  What settings could possibly need to be fixed in Exchange!?
Comment
Watch Question

LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
Can you pull some log information from IIS to show us / paste here? It will show us the authentication of your phone to active sync.

Location of IIS log files:C:\WINDOWS\system32\Logfiles\W3SVC1

Author

Commented:
I, unfortunately, do not have access to that info until morning.  I do know that it does authenticate, but it doesn't sync the data from the server.
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
We will need to see those IIS logs to diagnose to make sure authentication is taking place properly.

Is your account configured for Activesync? or "outlook mobile access" as it's called in 2003, is that enabled? You can check in ADUC.

Author

Commented:
Yes, we checked my account in AD.  OMA was enabled including "unsupported devices."

Author

Commented:
LOG FILE INFO:
2008-07-23 04:27:01 W3SVC1 192.168.6.10 OPTIONS /Microsoft-Server-ActiveSync &Log=VNATNASNC:0A0C0D0FS:0A0C0D0SP:0C0I0S0R 443 domain\user 65.34.183.0 Apple-iPhone/501.347 200 0 0 530 304
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
Do you have SP2 installed on your Exchange 2003 server? What happens when you try to sync on your phone? Any errors, nothing, etc?

Author

Commented:
All SP's are installed, It looks as if it syncs, when I refresh the inbox it appears to authenticate fine, but I receive no errors.  If I get a prompt for the cert, I accept it (we generated our own).  I did test with another exchange server with a self-signed cert and was able to sync successfully.
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
i really want to say it's the self signed cert, active sync has probs without trusted certificates...

here's a similar issue: https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_Mobile-_PocketPC-_WinCE/Q_23558480.html

Author

Commented:
I use it on all of my Windows Mobile phones - no problems.. .hmmm
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
Right, but unless you install the cert as a trusted cert on the iphone (which i'm not sure you can do like you can on a windows phone) it won't work. Generally self signed certs don't work and prove to be more of a hassle with active sync than it's worth.

Author

Commented:
I have installed the Cert.  You have to "download" it by e-mailing it to an e-mail account you can access from the phone and downloading the attachment.  It will prompt you to install the cert (apple calls it a profile).  However, the other exchange server I tested with has a self issued cert that I did not install and I was able to sync!

Author

Commented:
We have determined that our exchange server doesn't seem to be completely up to date.  We do not have "version 6.x.x" shown when checking the About Exchange.  If someone has the info on how to update please let us know.  Thanks!
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
I'm assuming you've ran windows update, and downloaded /installed the Sp2 manually?

Author

Commented:
Yes
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
Have you tried to manually install the SP2 again?

Author

Commented:
Is there anything in addition to SP2?
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
What is your exact version?

what is the other company you successfully sync'd to's version

Author

Commented:
The activesync version is current on the other exchange server, 6.5, based off of the log file and the version on server in question is 3.x
it sounds like I have the same exact issue. I have a feeling it has to do with IIS. Please let me know if you find the solution. I as well can successfully synch with other exchange servers. See me post below:

https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23583387.html

Author

Commented:
Manually reinstalling SP2 was not possible.  The SP was attempted to be installed and failed.  Said the version installed was newer than what was being installed.

Author

Commented:
This is the info from the Exchange Server I can successfully sync with on the iPhone:
Exchange Version 6.5.7638.1  But the log file showed:
NON_IPM_SUBTREE/Microsoft-Server-ActiveSync/iPhone/Appl86829N9FY7K - 80 - 192.168.0.10 Microsoft-Server-ActiveSync/6.5.7651.58 401 1 0 2023 421

The Log info from the server I could not sync with was similar except after "ActiveSync/" it was 3.x.x not 6.5.7651.58.

Also, the Server I can sync with has the additional mobile options.  My Server does not.  I have attached a screenshot of the server I can sync with showing the additional mobile options the my server does not have.  What needs to be done to enable these on my sever?
New-Picture.bmp
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:

Author

Commented:
It is installed but that didn't change anything.  How do you upgrade, so to speak, the Exchange Active Sync?  I believe our problem lies in the IIS Website Exchange-Active-Sync
LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:
If your exchange environment was upgraded from a previous version, this may help. Regardless, delete the virtual directories / recreate them.

How to reset the default virtual directories that are required to provide Outlook Web Access, Exchange ActiveSync, and Outlook Mobile Access services in Exchange Server 2003

http://support.microsoft.com/default.aspx?kbid=883380

LegendZMPrincipal Security Architect
CERTIFIED EXPERT

Commented:

Author

Commented:
It was upgraded from SP1 to SP2 a while back...but other than that it wasn't upgraded from Exchange 2000.

Author

Commented:
Anyone else have any ideas on this one?

Author

Commented:
Ok everyone!  I have the resolution!  SP2 for Exchange 2003 must be reinstalled with the Microsoft Exchange Messaging and Collaboration Services option included.  If you can't reinstall it because it is current then you may have to either remove the updates for Exchange 2003 preventing the install or back-up the Exchange Store and reinstall Exchange.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Is there any way to tell if Exchange Messaging and Collaboration Services installed correctly the first time I installed Sp2?

Author

Commented:
Yes, actually there is.  If you look at the above screenshot you will see the Mobile Services Options as they are when the Exchange Messaging and Collaboration Services are correctly installed.  If they are not you must stop all Exchange services (or anything that may interfere) as Lighting indicated and then install SP2 again.  Make sure that EMCS option is chosen as "UPDATE" and it will correctly install.
ok so mine are correctly installed then.  are there any security settings that need to be changed on the security tab?  like for Everyone?

Author

Commented:
Longshot9...no, the default settings are good.  However, the security settings:  Are you using SSL, meaning when you use Outlook Web Access do you go to HTTP or HTTPS?  Depending on what this is, you may need to open ports on your firewall or change settings on your iPhone.

Commented:
OK... I have a similar problem.  I can use OMA, POP, and IMAP to connect to my Exchange front end server from my iPhone and Windows Mobile (simulator).  When I set up Exchange ActiveSync on the iPhone it goes through the account verification successfully.  However, nothing is pushing over.  I also have a self-assigned cert that has been installed on this device in the Other People, Intermediate Certification Authorities, Trusted Root Certification Authorities, and Trusted Publishers containers using the iPhone Configuration Utility.  Still no push activity. BUT, the battery on the iPhone then drains fully in less than 5 hours (doing nothing).  Any ideas??

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.