iPhones stopped working Exchange 2003 SP2 on SBS 2003

when my users attempt to check their exchange e-mail with their iPhones over the 3G network the sync times out and the following is logged in the application log

Event Type:      Error
Event Source:      Server ActiveSync
Event Category:      None
Event ID:      3005
Date:            9/19/2010
Time:            5:33:53 PM
User:            BACKHAULDIRECT\eappl
Computer:      BHDSRV01
Description:
Unexpected Exchange mailbox Server error: Server: [bhdsrv01.backhauldirect.com] User: [eappl@backhauldirect.com] HTTP status code: [400]. Verify that the Exchange mailbox Server is working correctly.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

If I attempt to connect to https://servername/oma I get the following messages in my application log:

Event Type:      Information
Event Source:      MSExchangeOMA
Event Category:      (1000)
Event ID:      1001
Date:            9/19/2010
Time:            5:13:29 PM
User:            N/A
Computer:      BHDSRV01
Description:
Outlook(R) Mobile Access Browse Application started successfully.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Then I get this message

Event Type:      Error
Event Source:      MSExchangeOMA
Event Category:      (1000)
Event ID:      1503
Date:            9/19/2010
Time:            5:13:30 PM
User:            N/A
Computer:      BHDSRV01
Description:
An unknown error occurred while processing the current request:
Message: The remote server returned an error: (400) Bad Request.
Source: Microsoft.Exchange.OMA.ExchangeDataProvider
Stack trace:
   at Microsoft.Exchange.OMA.ExchangeDataProvider.OmaWebRequest.GetRequestStream()
   at Microsoft.Exchange.OMA.ExchangeDataProvider.ExchangeServices.GetSpecialFolders()
   at Microsoft.Exchange.OMA.ExchangeDataProvider.ExchangeServices..ctor(UserInfo user)

Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:
   at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)

Message: Exception of type Microsoft.Exchange.OMA.DataProviderInterface.ProviderException was thrown.
EventMessage:
UserMessage: A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
Source: Microsoft.Exchange.OMA.UserInterface
Stack trace:
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
   at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

BDManagedServicesAsked:
Who is Participating?
 
Alan HardistyConnect With a Mentor Co-OwnerCommented:
Glad you got it sorted - could have sworn Host Headers was detailed in my article, but will make sure it is now.
Alan
0
 
Alan HardistyCo-OwnerCommented:
Please have a read through my Exchange 2003 / Activesync article, check your IIS settings, make sure your Timeout value on the Default Website is set to something like 480 and then run the test on the test site.
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html 
0
 
BDManagedServicesAuthor Commented:
thank you for your prompt response.  Your FAQ looks very promising, but as I've been working on this a solid 12 hours my brain is mush.  I'll read through it tomorrow when I'm refreshed and if it leads to my solution I will award you the points.  Thanks!
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
Alan HardistyCo-OwnerCommented:
I know the feeling.  Did it just suddenly stop working?
Any changes happen around the time it stopped?
0
 
BDManagedServicesAuthor Commented:
I switched from 3 bonded T1s to a fibre connection last night which involved a new public IP block.  AT&T Network Operations gave me an incorrect subnet mask which led me to believe my SBS 2003 server was malfunctioning when my problems were really incorrect IP information, therefore as I was always taught I ran the "Repair my Internet and Network Settings" wizard in the SBS 2003 console.  After that didn't work, I tracked my problem down to an incorrect subnet mask, fixed the issue on my router and moved my DNS.  After the changes went out to the internet all my websites and e-mail came back up as expected but our iPhones started giving this error.  The server is a mess I inherited from the previous administrator and any little change causes it to malfunction.  I'm just trying to limp it along until May when we will upgrade to Server 2008 R2 Standard and Exchange 2010.
0
 
Alan HardistyCo-OwnerCommented:
Okay - the wizard probably changed some IIS settings, which my article covers.
It should be fairly simple to run through and resolve, once you have had a rest : )
Did you change the IP Addresses in DNS for teh FQDN that the iPhones use for Activesync?
I'll be around another hour or so tonight, then will be about tomorrow should you need any help.
0
 
BDManagedServicesAuthor Commented:
yes, the DNS for the FQDN has been changed, it's the same address I use for Outlook Anywhere over HTTP.  The laptops all work outside without using the VPN, and the iPhones work if they're connected via WiFi, just not over 3G.  I assume the iPhones use Outlook Anywhere over HTTP when they're connected wirelessly, but use ActiveSync when 3G?  I really don't know but since they work via WiFi that's what I'm assuming.
0
 
Alan HardistyCo-OwnerCommented:
The iPhones use Activesync which uses HTTPS or HTTP if SSL is not used.
The Laptops use RPC over HTTPS which is slightly different.
If DNS is resolving and the laptops are working, then it is probably just a couple of IIS settings.
If you want, run through my article, check your IIS settings (don't sweat the Domain / Realm settings) and then run iisreset.
The test site https://testexchangeconnectivity.com mentioned in the article should tell you if all is well.
Are you using the SBS SSL certificate or did you buy a 3rd party SSL certificate (assuming you know the answer)?
0
 
BDManagedServicesAuthor Commented:
I'm using the SBS SSL cert
0
 
Alan HardistyCo-OwnerCommented:
Okay - as you has the SBS cert in use, make sure when you run the test on the test site, you check the "Ignore Trust for SSL" check box, or it will error on the certificate.
0
 
BDManagedServicesAuthor Commented:
I'm having others test it but Integrated Authentication was not checked on the Exchange Virtual Directory.  It passed the connectivty test from testexchangeconnectivity.com so I tried my iPhone with success!  Other users are trying it now.  If it's still up tomorrow I'll close the question with points to you.  Thanks!!!
0
 
Alan HardistyCo-OwnerCommented:
No problems - if it works for one, it should work for them all : )
Sounds good though.
Alan
0
 
BDManagedServicesAuthor Commented:
I'd say it partially fixed.  You can sync your mailbox if you manually refresh the iPhone but direct-push isn't working.  This is not as big a deal as no connectivity at all, but I still need to fix direct push.  I checked to make sure it is enabled.  When I try to browse to https://servername/oma after I authenticate I get a message in IE "A system error has occured while processing your request" and I get the following log message in the Application log:

Event Type:      Error
Event Source:      MSExchangeOMA
Event Category:      (1000)
Event ID:      1503
Date:            9/19/2010
Time:            7:40:44 PM
User:            N/A
Computer:      BHDSRV01
Description:
An unknown error occurred while processing the current request:
Message: The remote server returned an error: (400) Bad Request.
Source: Microsoft.Exchange.OMA.ExchangeDataProvider
Stack trace:
   at Microsoft.Exchange.OMA.ExchangeDataProvider.OmaWebRequest.GetRequestStream()
   at Microsoft.Exchange.OMA.ExchangeDataProvider.ExchangeServices.GetSpecialFolders()
   at Microsoft.Exchange.OMA.ExchangeDataProvider.ExchangeServices..ctor(UserInfo user)

Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:
   at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)

Message: Exception of type Microsoft.Exchange.OMA.DataProviderInterface.ProviderException was thrown.
EventMessage:
UserMessage: A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
Source: Microsoft.Exchange.OMA.UserInterface
Stack trace:
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
   at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
0
 
Alan HardistyCo-OwnerCommented:
OMA is unrelated to Activesync, but the virtual directories it uses are.
Please check all IIS settings for the relevant directories listed in my article for SBS and then if you change anything, run IISRESET.
Re-test the Exchange Activesync test on the Test site and see what that brings up.
0
 
BDManagedServicesAuthor Commented:
I rechecked all the settings in your FAQ and ran IISRESET and I'm still getting the following error in the Application Log everytime an iPhone tries to connect.  The phones can sync, but direct-push is not working.  Any ideas?

Event Type:      Error
Event Source:      Server ActiveSync
Event Category:      None
Event ID:      3005
Date:            9/20/2010
Time:            5:17:58 PM
User:            BACKHAULDIRECT\gbach
Computer:      BHDSRV01
Description:
Unexpected Exchange mailbox Server error: Server: [bhdsrv01.backhauldirect.com] User: [gbach@backhauldirect.com] HTTP status code: [400]. Verify that the Exchange mailbox Server is working correctly.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
0
 
BDManagedServicesAuthor Commented:
nevermind, it was a host headers issue with the default website.  Solved.  Thanks for your help!!!
0
 
Alan HardistyCo-OwnerCommented:
Many thanks - Article updated.
Alan
0
 
BDManagedServicesAuthor Commented:
was it covered and I missed it?  I was really tired when I was going over it, I may have missed it.  Thanks again for your article, it was spot on for the syncing issue.
0
 
Alan HardistyCo-OwnerCommented:
Well I could lie to you and say yes - but I prefer the truth ; )
0
All Courses

From novice to tech pro — start learning today.