Solved

iPhones stopped working Exchange 2003 SP2 on SBS 2003

Posted on 2010-09-19
19
446 Views
Last Modified: 2012-05-10
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)

0
Comment
Question by:BDManagedServices
  • 10
  • 9
19 Comments
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
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
 

Author Comment

by:BDManagedServices
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
I know the feeling.  Did it just suddenly stop working?
Any changes happen around the time it stopped?
0
 

Author Comment

by:BDManagedServices
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
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
 

Author Comment

by:BDManagedServices
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
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
 

Author Comment

by:BDManagedServices
Comment Utility
I'm using the SBS SSL cert
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
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
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 

Author Comment

by:BDManagedServices
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
No problems - if it works for one, it should work for them all : )
Sounds good though.
Alan
0
 

Author Comment

by:BDManagedServices
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
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
 

Author Comment

by:BDManagedServices
Comment Utility
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
 

Author Comment

by:BDManagedServices
Comment Utility
nevermind, it was a host headers issue with the default website.  Solved.  Thanks for your help!!!
0
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
Comment Utility
Glad you got it sorted - could have sworn Host Headers was detailed in my article, but will make sure it is now.
Alan
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Many thanks - Article updated.
Alan
0
 

Author Comment

by:BDManagedServices
Comment Utility
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
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Well I could lie to you and say yes - but I prefer the truth ; )
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
how to add IIS SMTP to handle application/Scanner relays into office 365.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now