Solved

Active Sync Issues with Iphone 4 and exchange 2003

Posted on 2010-09-03
25
828 Views
Last Modified: 2013-12-27
I am unable to get Iphones to connect to exchange 2003 server (no ISA or front-end server).  OWA works fine.  I have tried a TON of things including
Changing authentication types (integrated, basic)
SSL cert from godaddy, I installed both certs, and installed it on the imap protocol in ESM
I have reset IIS completely and still no luck
test exchangeconnectivity.com says the following:
ExRCA is attempting the FolderSync command on the Exchange ActiveSync session.
       The test of the FolderSync command failed.
Everything else passes (does say win mobile 5 and earlier wont work, but that's ok as I am working with iphone4 phones.
0
Comment
Question by:rhwimmers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 7
  • 6
  • +1
25 Comments
 
LVL 33

Expert Comment

by:pgnatyuk
ID: 33596095
0
 
LVL 28

Assisted Solution

by:sunnyc7
sunnyc7 earned 71 total points
ID: 33596174
Alan's article is a good start, but I have a few questions:
a) What iPhone OS version are you running ? Did you upgrade to 4.0.2
b) Did you test your EAS form here
www.testexchangeconnectivity.com/
Test for Exchange ActiveSync

Please post back.

thanks
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33596390
Done all of that, and then did the tutorial links below that.
The exhange VD .net version is 2.0.50727 - no drop down allowed to change it to 1.x.x.x - The active-sync VD DID allow me to change down to 1.x.x.x.

0
Webinar May 25: Cloud Security Strategies for SMBs

Small and mid-sized businesses are a driving force behind cloud adoption, and it’s no wonder: cloud benefits are BIG.  But for all the convenience that moving to the cloud provides, where does security come into play?

 
LVL 1

Author Comment

by:rhwimmers
ID: 33596449
Another thing to mention is when choosing authentication I enter domainname, if I click the select button to see whats available it has domainname.local but I do not use that.
After resetting all IIS settings and having it all be re-created the default name that shows up (ONLY under the active sync VD) is olddomainname.
I did a domain rename about 3 months ago and find it odd that the olddomain keeps popping up once in a while, its also interesting that when I setup an outlook profile and type exchange server name and type the FQDN server.domainname.local, and click "Check" it underlines the servername but changes it to server.olddomainname.local - VERY strange as I cant even ping olddomainname.local or anything, but outlook works fine and has no issues!
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33596462
how did you rename your domain ? using rendom ?
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33596471
@Sunnyc, I will check version of iphones.  In my original post I mentioned using the testexchange website and posted the results that I get (500 error)
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33596483
I need the verbose results with SSL checked.
Can you post that please.
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33596538
User says its on 4.0 and "up to date"...
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33596574
Here are results (what do you mean SSL checked?, ignore SSL?  I did not ignore because its a 3rd party godaddy cert).

An ActiveSync session is being attempted with the server.
       Errors were encountered while testing the ActiveSync session
       
      Test Steps
       
      ExRCA is attempting to send the OPTIONS command to the server.
       OPTIONS response was successfully received and is valid
       
      Additional Details
       Headers received: Pragma: no-cache
Public: OPTIONS, POST
Allow: OPTIONS, POST
MS-Server-ActiveSync: 6.5.7638.1
MS-ASProtocolVersions: 1.0,2.0,2.1,2.5
MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,ResolveRecipients,ValidateCert,Provision,Search,Notify,Ping
Content-Length: 0
Date: Fri, 03 Sep 2010 13:46:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET

      ExRCA is attempting the FolderSync command on the Exchange ActiveSync session.
       The test of the FolderSync command failed.
        Tell me more about this issue and how to resolve it
       
      Additional Details
       Exchange ActiveSync returned an HTTP 500 response.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33596579
it should be 4.0.2

4.0 has an issue with SYNC to Exchange
Apple released a fix
i will post back.
0
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 72 total points
ID: 33596633
Please have a read through my article, check your IIS settings and then if they are all set according to my article and you keep getting the HTTP 500 errors, follow the solution for the 500 errors which is to run through KB883380 (Method 2).
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html
@Sunny - the initial article was Demazter's guide ; )
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 33596654
The fix for the Apple iOS4 with Exchange is linked to in my blog for this problem:
http://alanhardisty.wordpress.com/2010/07/02/apple-ios4-issues-with-iphone-4-3gs-3g-and-exchange/ 
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33596743
Alan - aha...
rhwimmers - there you have it > Alan's article.
That's the bible around here @ EE for troubleshooting iPhone issues.

4.0.2 is stable, I havent heard issues from that - if you can, please upgrade to 4.0.2
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33596784
Have been going through that article or doing those things on and off for a week now.  hoping this iphone OS fix is it, although the testexchange things comes back bad and I wouldn't think that it would since its not running apple OS?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 33596844
If you have been through my article, KB883380 and then the additional fix for Error 500 and still no joy - then Microsoft is the next port of call I'm afraid.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33603193
although the testexchange things comes back bad and I wouldn't think that it would since its not running apple OS?
>> ExRCA (TestExConn) tests against the Microsoft Exchange Activesync - it doesnt test against the iphone OS.
It's a simulator to check if everything is working ok over there.

0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33608591
Still not having much luck - however...I DID notice that when I reset IIS (for the 5th time by now) that the virtual directory for active-sync authentication default is olddomainname - if I click the browse I see newdomain.local, but I have just been typing in newdomain (no .local) per the instructions ive seen several places...  This is bothsome and I feel it might have something to do with the issues...  I found this article
http://www.freelists.org/post/exchangelist/Exchange-2k3-Post-Domain-Rename
Which unfortunatley has NO responses because it is almost identicle to what im running into - I went to turn forms based authentication back on just as a hunch and then I got that same error...  I ran the netdiag and i DO see the old domain name

Registered Service Principal Names:
        XOsoftEngine/sbexch01.newname.local:25000
        exchangeRFR/sbexch01.oldname.local
        exchangeMDB/sbexch01.oldname.local
        HOST/sbexch01.newname.local
        SMTPSVC/sbexch01.newname.local
        exchangeRFR/sbexch01.newname.local
        exchangeMDB/sbexch01.newname.local
   
I would feel better if I didnt see the oldname anywhere, but cant seem to figure out how to remove it?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 33609251
Have you followed kb883380 method 2?  That might resolve the issue.
http://support.microsoft.com/kb/883380 
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33610719
Yeah, ive actually tried all 3 methods at different times....
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33610738
ExRCA is attempting the FolderSync command on the Exchange ActiveSync session.
       The test of the FolderSync command failed.
        Tell me more about this issue and how to resolve it

>> did you click on the tell me more link
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33610815
Yes, it leads to the same links as everyone here has posted....
http://technet.microsoft.com/en-us/library/dd439375%28EXCHG.80%29.aspx
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 33610871
Here is the closing comment from another question I worked on - it may be worth checking:
"So after talking to our good friends at Microsoft here's the solution:
As it turns out the in ability to authentication was do to.....
The exchange's servers virtual directory for the mailboxes was visible.
Which in turn throw an error preventing the authentication.
Here is the Registry entry: HKEY_LOCAL_MACHINE --> CurrentControlSet --> Services --> EXIFS --> Parameters --> DriveLetter=M
I removed "M" so now it empty or blank and BadaBing BadaBoom "Smart Phones" now sync. "
Failing that - Microsoft is the next port of call.
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 33619648
Well, Microsoft fixed the issue.  It DID have to do with my domain rename as I suspected - we did 2 things that seemed to fix things....
1.  Deleting the exchangeRFR/sbexch01.oldname.local from the registered SPN using setspn -d etc (neither of us knew if this actually did help, as it still lists the oldname in the setspn -L)

2.  I am 99% sure THIS is what actually fixed it...  Going into adsiedit utility then gong to configuration, configuration, services, exchange, first organization, administrative groups, servers, servername, rightclick and go to properties on the servername, then under attributes go down to network address...  It had ncacn_ip_tcp:servername.oldname.local - click remove, change to ncacn_ip_tcp:servername.newname.local
 - I guess something that didnt get changed during the domain name change project for whatever reason.
Whew, that was a tough one - 1st time ive ever had to call MS in over 10 years!
0
 
LVL 1

Author Closing Comment

by:rhwimmers
ID: 33619675
Thanks for the effort on this one - Alan, maybe add this to the guide in the small chance someone does a domain rename and has same issue?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 33620861
Thanks for the update, the fix and the points.  I will be sure to amend my article so that it may be helpful to others.

Glad you got it solved in the end.  Sorry you had to call Microsoft though.
0

Featured Post

Webinar May 25: Cloud Security Strategies for SMBs

Small and mid-sized businesses are a driving force behind cloud adoption, and it’s no wonder: cloud benefits are BIG.  But for all the convenience that moving to the cloud provides, where does security come into play?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question