Solved

How do i resolve HTTP 500 Error on Exchange Server

Posted on 2009-05-14
12
1,080 Views
Last Modified: 2012-08-13
I am trying to configure the iPhone 3G to receive mail from MS Exchange server,
I am experiencing some difficulty;
I have tried to look at what other have done - and just been going around in circles


MS Windows SBS 2003 SP2
- SBS MS Exchange SP2
- Static IP Address (Ports 443, 80, 993 Forwarded to server)
- Mail.domain.com Pointing to server
- SSL Certificate (Provided by DYNDNS.com)
- Forms-based authentication Enabled

(Let me know if you need any more details)


After Running MS EX Remote Connectivity Analyzer from;
https://www.testexchangeconnectivity.com/

Error Returns
- Attempting an Activesync session with server
Errors were encountered while testing the ActiveSync session

- Attempting FolderSync command on ActiveSync session
FolderSync command test failed

-Additional Details
Exchange Activesync returned an HTTP 500 response

Do i need to be setting up a secondary virtual directory for Exchange; (Method 3)
http://www.petri.co.il/problems_with_forms_based_authentication_and_ssl_in_activesync.htm

Does anyone have some sort of idea?

Thanks in Advance!!
0
Comment
Question by:Paul-Anthony
12 Comments
 
LVL 2

Expert Comment

by:mohammedkasim21
ID: 24392353
Hi,

By default on SBS Server 'Exchange-OMA' virtual directory should be created while installation, if it is missing then you can create one http://support.microsoft.com/kb/817379.

For more information the above step is required if ou want to keep FBA enabled on OWA and EAS working, and if you want to disable FBA - then uncheck SSL from all virtual directory and then check.

Action Plan (Method 1)
1. Disable FBA
2. Uncheck SSL from virtual directories
3. Make sure you have 'Anonymous' authentication on Default Web Site
4. Make sure you have 'Basic and Integrated' authentication on /Exchange (virtual directory)
5. Delete 'ExchangeVDir' from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters
6. IISRESET

Method 2
1. follow http://support.microsoft.com/kb/817379

Mohammed
0
 
LVL 9

Expert Comment

by:Raghuv
ID: 24393657
What Mohammed has said is true, you don't need to follow the article you have mentioned (Incase you do not find the Exchange-Oma virtual directory in your IIS, only then follow the article). You can also try recreating all the Exchange related virtual directories by following one of the method mentioned in the KB article 883380 (http://support.microsoft.com/kb/883380)
0
 

Author Comment

by:Paul-Anthony
ID: 24418545
Thanks for your feedback! Much appreciated
'Exchange-OMA' virtual directory does exist on the server
So there will be no need to re-create the virtual directory...

So what is the likely cause of the HTTP500 Error
How can i resolve this to get the Iphone to Sync to server ?

Thanks Again
0
 
LVL 51

Expert Comment

by:tedbilly
ID: 24438721
Have you looked at the Http.sys Error logs?  C:\Windows\System32\LogFiles\HTTPERR

Often that is the best place to look for 500 errors (which are server errors)
0
 

Author Comment

by:Paul-Anthony
ID: 24438992
Thanks for responding;

This is what I was found in the Log C:\Windows\System32\LogFiles\HTTPERR
Have any ideas ?

2009-05-19 07:59:36 124.180.18.35 1078 192.168.10.100 443 HTTP/1.1 GET /exchange/mark/Mirvac/?Cmd=contents - 1 Timer_MinBytesPerSecond ExchangeApplicationPool

2009-05-21 07:32:53 114.74.34.251 52692 192.168.10.100 443 - - - - - Timer_ConnectionIdle -
2009-05-21 07:39:08 114.75.121.61 52694 192.168.10.100 443 - - - - - Timer_ConnectionIdle -
2009-05-21 07:42:28 114.75.65.58 52699 192.168.10.100 443 - - - - - Timer_ConnectionIdle -
2009-05-21 07:52:33 114.75.65.58 52706 192.168.10.100 443 - - - - - Timer_ConnectionIdle -


0
Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

 
LVL 51

Expert Comment

by:tedbilly
ID: 24439004
Ooh, I remember seeing an article about what that happens, but suddenly I can't find it!  I can't remember the search terms I used.  By the way, if you search the Microsoft site you can find articles on how to change those logs to possible add more detail.
0
 

Author Comment

by:Paul-Anthony
ID: 24461965
I need more Help!
Anyone with any idea?
0
 
LVL 51

Expert Comment

by:tedbilly
ID: 24462176
I think this means SSL isn't configured correctly.  Can you verify it's configured properly on each system?

Otherwise it's an application error and you need to do more thoroughly analysis.
http://support.microsoft.com/kb/919792/
0
 
LVL 40

Expert Comment

by:Subsun
ID: 24941278
0
 

Accepted Solution

by:
Paul-Anthony earned 0 total points
ID: 25379939
Thanks for all your help! Much Apreciated!
After extensive troubleshooting, the issue has still not been resolved... amateur approach to all this
We have opted for an alternative solution (Downloading mail via POP onto the iPhone for now)
The Business will be upgrading to Windows 2007 SBS Environement by the end of the year and will reattempt Mobile SYNC when the time comes

Thanks again for all your efforts & Keep up the good work!

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
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…

760 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

20 Experts available now in Live!

Get 1:1 Help Now