Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Iphone AcvtiveSync Issues after installing Exchange 2010 SP1

Tablet, Smart Phone, other Internet devices

Iphone AcvtiveSync Issues after installing Exchange 2010 SP1

Postby guest » Wed May 16, 2012 8:54 am

I have a mix of iphone 3GS and iphone 4 users. We have been running Exchange 2010 RTM Rollup 4 with no issues the last 8+ Months

Last night we installed Exchange 2010 SP1 on our production Exchange Server. All our iphone users are experiencing issues with activesync. All running IOS4.01

We have 2x Palm Treo's that are not experiencing any issues with SP1.

Mail is being delivered to the iphones - we can see users/subject/preview of email - but when opening the email item - no content is shown

"this message has not been downloaded from the server"

In the event log of the exchange server the following is logged:



Watson report about to be sent for process id: 6268, with parameters: E12, c-RTL-AMD64, 14.01.0218.011, AirSync, MSExchange ActiveSync, Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain, UnexpectedCondition:ArgumentException, 2908, 14.01.0218.015.

ErrorReportingEnabled: True



Exchange 2010 with CAS/Hub/Mailbox

Server 2008 R2

Running on ESXI 4.0





I have checked with www.testexchangeconnectivity.com and confirmed no issues ( + my palm treo users are fine)

I have deleted the mail account from my iphone4 and also from the ECP deleted the partnership and waited for AD replication - issue still occuring

I also ran the logging tool to see what was happenning





Log Entry: 26

-----------------



RequestTime :

08/27/2010 14:10:06



ServerName :

INTAKLEX01



AssemblyVersion :

14.01.0218.011



Identifier :

2FE2E7EE



RequestHeader :

POST /Microsoft-Server-ActiveSync/default.eas?User=sureshk&DeviceId=Appl83032REYA4T&DeviceType=iPhone&Cmd=Sync HTTP/1.1

Connection: keep-alive

Content-Length: 77

Content-Type: application/vnd.ms-sync.wbxml

Accept: */*

Accept-Encoding: gzip, deflate

Accept-Language: en-us

Authorization: ********

Host: owa.intrical.com

User-Agent: Apple-iPhone3C1/801.400

Ms-Asprotocolversion: 12.1

X-Ms-Policykey: 2959627245





RequestBody :

<?xml version="1.0" encoding="utf-8" ?>

<Sync xmlns="AirSync:">

<Collections>

<Collection>

<SyncKey>2011467065</SyncKey>

<CollectionId>7</CollectionId>

<GetChanges>0</GetChanges>

<Options>

<FilterType>2</FilterType>

<MIMESupport>2</MIMESupport>

<BodyPreference xmlns="AirSyncBase:">

<Type>4</Type>

<TruncationSize>32768</TruncationSize>

</BodyPreference>

</Options>

<Commands>

<Fetch>

<ServerId>7:4</ServerId>

</Fetch>

</Commands>

</Collection>

</Collections>

</Sync>



SyncCommand_GenerateResponsesXmlNode_Fetch_Exception :

System.ArgumentException: imceaDomain must be a valid domain name.

at Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain(String imceaDomain)

at Microsoft.Exchange.Data.Storage.OutboundConversionOptions..ctor(String imceaDomain)

at Microsoft.Exchange.AirSync.AirSyncUtility.GetOutboundConversionOptions()

at Microsoft.Exchange.AirSync.SchemaConverter.Common.BodyUtility.ConvertItemToMime(StoreObject xsoItem)

at Microsoft.Exchange.AirSync.SchemaConverter.XSO.XsoContentProperty.get_MIMEData()

at Microsoft.Exchange.AirSync.SchemaConverter.AirSync.AirSyncContentProperty.InternalCopyFrom(IProperty sourceProperty)

at Microsoft.Exchange.AirSync.SchemaConverter.AirSync.AirSyncProperty.CopyFrom(IProperty srcProperty)

at Microsoft.Exchange.AirSync.SchemaConverter.AirSync.AirSyncDataObject.CopyFrom(IProperty srcRootProperty)

at Microsoft.Exchange.AirSync.SyncCollection.ConvertServerToClientObject(ISyncItem syncItem, XmlNode airSyncParentNode, SyncOperation changeObject, GlobalInfo globalInfo)

at Microsoft.Exchange.AirSync.SyncCollection.GenerateResponsesXmlNode(XmlDocument xmlResponse, IAirSyncVersionFactory versionFactory, String deviceType, GlobalInfo globalInfo, ProtocolLogger protocolLogger, MailboxLogger mailboxLogger)



LogicalRequest :

<?xml version="1.0" encoding="utf-8" ?>

<Sync xmlns="AirSync:">

<Collections>

<Collection>

<SyncKey>2011467065</SyncKey>

<CollectionId>7</CollectionId>

<GetChanges>0</GetChanges>

<Options>

<FilterType>2</FilterType>

<MIMESupport>2</MIMESupport>

<BodyPreference xmlns="AirSyncBase:">

<Type>4</Type>

<TruncationSize>32768</TruncationSize>

</BodyPreference>

</Options>

</Collection>

</Collections>

</Sync>



AccessState :

Allowed



AccessStateReason :

Global



ResponseHeader :

HTTP/1.1 200 OK

MS-Server-ActiveSync: 14.1





ResponseBody :

<?xml version="1.0" encoding="utf-8" ?>

<Sync xmlns="AirSync:">

<Collections>

<Collection>

<SyncKey>494803558</SyncKey>

<CollectionId>7</CollectionId>

<Status>1</Status>

<Responses>

<Fetch>

<ServerId>7:4</ServerId>

<Status>6</Status>

</Fetch>

</Responses>

</Collection>

</Collections>

</Sync>



ResponseTime :

08/27/2010 14:10:06
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 9026
Joined: Mon Nov 27, 2006 1:10 pm

Re: Iphone AcvtiveSync Issues after installing Exchange 2010 SP1

Postby guest » Wed May 16, 2012 8:54 am

OK, I got some more info on this issue and luckily there was a repro available as well, which we used to verify the issue and resolution. I am providing details below, please check them out and let us know if this helps you to resolve the issue.

Please run the following command under Exchange Management Shell and verify that there is one domain marked as "Default" and it's DomainName & Name values are valid domain names. We were able to repro the issue by setting a domain name with a space in it, like "aa bb".

Get-AcceptedDomain | fl

If you also have an invalid domain name there (like one with a space in it), then taking out the space and restarting the server will fix the EAS, OWA & IMAP issues.

Command to run under EMS would be:

Set-AcceptedDomain –Identity <value> -Name “ValidSMTPDomainName”

So for example it could be:

Set-AcceptedDomain –Identity “My Company” –Name “MyCompany.Com”

or:

Set-AcceptedDomain –Identity “ABC Local” –Name “ABC.Local”


--------------------------------------------------------------------------------
Sr. Program Manager, Product Quality, Exchange Client Access Server
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 9026
Joined: Mon Nov 27, 2006 1:10 pm

Re: Iphone AcvtiveSync Issues after installing Exchange 2010 SP1

Postby guest » Wed May 16, 2012 8:54 am

This resolves all my issues. OWA now works, iPhone works, etc..

I spent the entire afternoon and 3 hours after work with MS Support, they went away after collecting all the trace logs, etc... and are calling back tomorrow.

I did not use the scripts, I just selected a second domain and set it as default then changed the name of the orginal domain to a valild domain.com name and set the original domain back as default.

This is gone: Exception message: imceaDomain must be a valid domain name.

Thanks to everyone, the phone will be quite tomorrow!
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 9026
Joined: Mon Nov 27, 2006 1:10 pm

Re: Iphone AcvtiveSync Issues after installing Exchange 2010 SP1

Postby guest » Wed May 16, 2012 8:55 am

Thanks for that - just done the changes and my iphone is working again!



Weird thing was - my OWA was working fine and my non-iphone users were fine as well - only thing that was broken was my iphone users activesync

Glad its been sorted
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 9026
Joined: Mon Nov 27, 2006 1:10 pm

Re: Iphone AcvtiveSync Issues after installing Exchange 2010 SP1

Postby guest » Wed May 16, 2012 8:55 am

Same here, upgraded org from 2007SP1-2007SP2-2010-2010SP1 and iPhone stopped working

Mr Haque's suggestion worked, i had spaces in the name of my default domain, renamed it to my domain name, and after a server reboot, the iphone immediately started syncing again.



Was quite a headache, spent about 12 hrs recreating owa directories, playing around with adsiedit, reinstalling the CAS role and even an entire new Exchange Server without SP1. The latter wasn't a solution, because the mailboxes have already been updated to Version 37 (SP1) and were not compatible to ActiveSync-pre-SP1 CAS.
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 9026
Joined: Mon Nov 27, 2006 1:10 pm


Return to Do-It-Yourself

Your Ad Here

Who is online

Users browsing this forum: No registered users and 1 guest