Solved

How do i resolve HTTP 500 Error on Exchange Server

Posted on 2009-05-14
12
1,088 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 51

Expert Comment

by:Ted Bouskill
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
 
LVL 51

Expert Comment

by:Ted Bouskill
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:Ted Bouskill
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

749 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