How do i resolve HTTP 500 Error on Exchange Server

Paul-Anthony
Paul-Anthony used Ask the Experts™
on
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!!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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

Commented:
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)
Paul-AnthonyThinking Forward - Forward Thinking

Author

Commented:
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
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Ted BouskillSenior Software Developer
Top Expert 2009

Commented:
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)
Paul-AnthonyThinking Forward - Forward Thinking

Author

Commented:
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 -


Ted BouskillSenior Software Developer
Top Expert 2009

Commented:
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.
Paul-AnthonyThinking Forward - Forward Thinking

Author

Commented:
I need more Help!
Anyone with any idea?
Ted BouskillSenior Software Developer
Top Expert 2009

Commented:
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/
Thinking Forward - Forward Thinking
Commented:
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!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial