• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

exchange 2003

After carrying out the online exchange test (not using ssl) I get the following error - all the other tests are ok:

-------------------
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.
-------------------

Can someone please tell me step by step what is going on and how to resolve this
0
doctorbill
Asked:
doctorbill
  • 19
  • 14
13 Solutions
 
Alan HardistyCommented:
Please have a look at my article and check your IIS settings are correct and then if they are, follow the HTTP 500 error section and see if that helps:

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_1798-Exchange-2003-Activesync-Connection-Problems-FAQ.html

Alan
0
 
R--RCommented:
0
 
doctorbillAuthor Commented:
Using SSL I get the following:

Validating certificate trust for Windows Mobile devices.
       Certificate trust validation failed.
       
      Test Steps
       
      ExRCA is attempting to build certificate chains for certificate CN=perfectdemon.dnsalias.net, CN=companyweb, CN=TICKTOCKSERVER, CN=localhost, CN=TICKTOCKSERVER.TickTockIT.local.
       A certificate chain couldn't be constructed for the certificate.
        Tell me more about this issue and how to resolve it
       
      Additional Details
       The certificate chain didn't end in a trusted root. Root = CN=perfectdemon.dnsalias.net, CN=companyweb, CN=TICKTOCKSERVER, CN=localhost, CN=TICKTOCKSERVER.TickTockIT.local

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

Ignoring SSL I get the following:

      Testing HTTP Authentication Methods for URL https://perfectdemon.dnsalias.net/Microsoft-Server-ActiveSync/.
       The test passed with some warnings encountered. Please expand the additional details.
        Tell me more about this issue and how to resolve it
       
      Additional Details
      An ActiveSync session is being attempted with the server.
       Errors were encountered while testing the Exchange ActiveSync session.
       
      Test Steps
       
      Attempting to send the OPTIONS command to the server.
       The OPTIONS response was successfully received and is valid.
       
      Additional Details
      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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Alan HardistyCommented:
Okay - please re run the Activesync test specifying Manual Server Settings, but tick the Ignore Trust for SSL check box.
0
 
doctorbillAuthor Commented:
I now get this:

An ActiveSync session is being attempted with the server.
       Errors were encountered while testing the Exchange ActiveSync session.
       
      Test Steps
       
      Attempting to send the OPTIONS command to the server.
       Testing of the OPTIONS command failed. For more information, see Additional Details.
        Tell me more about this issue and how to resolve it
       
      Additional Details
       An HTTP 401 Unauthorized response was received from the server. This may be the result of invalid credentials or a configuration problem on the Exchange Server.
0
 
doctorbillAuthor Commented:
One question:
Exchange Virtual Directory
•      Authentication = Integrated & Basic
•      Default Domain = NetBIOS domain name - e.g., yourcompany*
•      Realm = yourcompany.com
•      IP Address Restrictions = Granted Access
•      Secure Communications = Require SSL IS ticked (very important)

I have set the Default domain to ticktockit
Realm to perfectdemon.dnsalias.net

Is this correct
0
 
doctorbillAuthor Commented:
I am now getting this (I think I made an error in credentials):
      
      Attempting to send the OPTIONS command to the server.
       The OPTIONS response was successfully received and is valid.
       
      Additional Details
      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
 
Alan HardistyCommented:
If you have a read of my blog (slightly more up to date):

http://alanhardisty.wordpress.com/2010/02/28/exchange-2003-and-activesync-configuration-and-troubleshooting/

The Domain / Realm parts can be left as “\” for the Domain and Blank (empty) for the Realm.  MS recommend it this way, but I have fixed some servers by adding the Domain / Realm as per the settings above.

I would set the Domain / Realm as per the above comment, then run IISRESET.

The 401 suggests the settings you are entering or the IP Restrictions are set incorrectly.
0
 
doctorbillAuthor Commented:
What does IISRESET actuall do ?
0
 
Alan HardistyCommented:
Nothing very exciting, just forces the current settings into place.
0
 
doctorbillAuthor Commented:
ok - I have reset IIS and I still get the same issue:

---------------------------------------------
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
 
doctorbillAuthor Commented:
I also keep getting this even though the credentials are ok:

----------

      
      Attempting to send the OPTIONS command to the server.
       Testing of the OPTIONS command failed. For more information, see Additional Details.
        Tell me more about this issue and how to resolve it
       
      Additional Details
       An HTTP 401 Unauthorized response was received from the server. This may be the result of invalid credentials or a configuration problem on the Exchange Server.
0
 
doctorbillAuthor Commented:
re your comment:
"The Domain / Realm parts can be left as “\” for the Domain and Blank (empty) for the Realm.  MS recommend it this way, but I have fixed some servers by adding the Domain / Realm as per the settings above.
"
Is this the case for the exchange-oma, OMA and Microsoft-Server-ActiveSync as well ?
0
 
Alan HardistyCommented:
Yes.
0
 
doctorbillAuthor Commented:
Same problem:

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.

I suppose I need to go down the route of the following:
Method 2 in Microsoft Knowledgebase Article KB883380 (http://support.microsoft.com/kb/883380)
0
 
Alan HardistyCommented:
Yes please - that is the recommended next step.
0
 
doctorbillAuthor Commented:
As this involves various directory deletions etc, in your experience does this method work without any hitches ?
0
 
Alan HardistyCommented:
99% of the time it works without a hitch and doesn't take that long.
0
 
doctorbillAuthor Commented:
looks like we are almost there with this - I will do this asap and get back to you
thanks very much for the excellent support so far
0
 
Alan HardistyCommented:
No problems.

You are very welcome.
0
 
doctorbillAuthor Commented:
I have carried out both the Adsutil step and the following  step (removing ssl)
I still have exactly the same problem
0
 
Alan HardistyCommented:
Then you are probably looking at a DNS issue.

Can you please post a screen-shot of your Forward Lookup Zones (hide the internal domain name part only please - if you want to hide anything).

Thanks

Alan
0
 
doctorbillAuthor Commented:
attached
forward.pdf
0
 
doctorbillAuthor Commented:
Update: I have just started the error reporting for exchange and I do not get ANY errors after attempting the folder sync with the testexchangeconnectivity.com site

Any thoughts on my DNS settings?
0
 
Alan HardistyCommented:
Sorry - got busy.

DNS looks fine.  Sometimes I see the _msdcs.internaldomain.local zone missing, which causes problems.

Are you saying now that the test site shows all green ticks?

Alan
0
 
doctorbillAuthor Commented:
no - still exactly the same problem after following your instructions to the letter including the error 500 fixes

Also I never see any errors in event viewer for the exchange service
0
 
Alan HardistyCommented:
Okay - at this point (as my article advises), you are looking at a call to Microsoft to resolve unfortunately.
0
 
doctorbillAuthor Commented:
I always have issues when trying to get through to microsoft
do you have any contact numbers please ?
0
 
Alan HardistyCommented:
I have different numbers because I/we am/are a partner, so the numbers I have won't be the same for you.

Where are you based?
0
 
doctorbillAuthor Commented:
London UK
0
 
Alan HardistyCommented:
This is the one I use (From London too!):

0844 800 6006
0
 
doctorbillAuthor Commented:
Thanks very much for all your help - much appreciated
0
 
Alan HardistyCommented:
You are welcome.
0
 
doctorbillAuthor Commented:
Got as far as we could but need to contact microsoft for my particular issue
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 19
  • 14
Tackle projects and never again get stuck behind a technical roadblock.
Join Now