How do i resolve HTTP 500 Error on Exchange Server

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!!
Paul-Anthony DableyThinking Forward - Forward ThinkingAsked:
Who is Participating?
 
Paul-Anthony DableyConnect With a Mentor Thinking Forward - Forward ThinkingAuthor 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!

0
 
mohammedkasim21Commented:
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
 
RaghuvCommented:
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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Paul-Anthony DableyThinking Forward - Forward ThinkingAuthor 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
0
 
Ted BouskillSenior Software DeveloperCommented:
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
 
Paul-Anthony DableyThinking Forward - Forward ThinkingAuthor 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 -


0
 
Ted BouskillSenior Software DeveloperCommented:
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
 
Paul-Anthony DableyThinking Forward - Forward ThinkingAuthor Commented:
I need more Help!
Anyone with any idea?
0
 
Ted BouskillSenior Software DeveloperCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.