question

HenochSetiadi-1129 avatar image
0 Votes"
HenochSetiadi-1129 asked ZhengqiLou-MSFT commented

[EXCHANGE 2013] HTTP Error 500 When Accessing OWA Before Even Login

Hi,

Currently I have problem with Exchange 2013 on Windows Server 2012. It is working fine until recently it shows HTTP Error 500 when my users try to access it via Web Browser. They can't even see the Login Screen but the Mailbox via Microsoft Office Outlook is working fine.

Please be kindly advise.

Thanks in advance.

office-exchange-server-connectivity
image.png (12.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ZhengqiLou-MSFT commented

Hi @HenochSetiadi-1129 ,

Are there any changes of your Exchange Server recently?
And will the EAC be good to login?

Please check the OWA virtual directly with Get-OwaVirtualDirectory | FL or you can recreate the OWA VD with:
Remove-OwaVirtualDirectory -Identity "Servername/owa (Default Web Site)"
New-OwaVirtualDirectory -InternalURL Https://servername.domain.com/owa

Also check the Certificate Bindings of https in IIS, they should be using Microsoft Exchange(by default) or your own CA cert(if you bought one).

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi ZhengqiLou,

Thanks for your reply, I cannot access EAC too, not even the Login Screen is working:
80483-screenshot-2021-03-23-132622.png


There is no change recently as I remembered and I installed the latest Cumulative Update 2 years ago (I think Microsoft has stopped releasing new cumulative update to this Exchange Version), I tried to recreate OWA VD and restart the IIS Server but still no luck. I also have checked following:

80543-image.png

Both of 443 bindings use the same SSL Certificate which I issued for Exchange last year when renewing the old certificate. It is just stopped working Recently (I realized this when some of my users complained about Web Access and I rarely use it).

Please be kindly advise.

0 Votes 0 ·

Hi @HenochSetiadi-1129 ,

So you can use the following cmdlet to check it the OWA/ECP has set to use form-based authentication method.
Get-OwaVirtualDirectory | FL InternalAuth*
Get-EcpVirtualDirectory | FL InternalAuth*

If the result is not {Basic, Fba}, you could use this to enable Fba:
Set-OwaVirtualDirectory -FormsAuthentication $True
Set-EcpVirtualDiretory -FormsAuthentication $True
Restart IIS.

If that doesn't help, remove both OWA & ECP virtual directories and recreate them.

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·

Hi @ZhengqiLou-MSFT ,

I tried your solution following:

80498-image.png

Still the same HTTP Error 500, can this be fixed by re-installing the latest cumulative update?

Exchange 2013 Cumulative Update

Thanks a lot.


0 Votes 0 ·
image.png (62.8 KiB)

Hi @HenochSetiadi-1129 ,

I'm not sure but it's worth a try.
BTW I think it's necessary to install the CU23 and the Security Update to protect your system from Hafnium.
The security update has a known issue that's the similar with yours....
HTTP 500 errors in OWA or ECP

More thinks you may want to know: Microsoft Exchange Server Vulnerabilities Mitigations – updated March 15, 2021

Regards,
Lou

0 Votes 0 ·
Show more comments

Hi @HenochSetiadi-1129

Very happy to hear your issue has been resolved.
Thanks for posting these information & Have a nice day!

Best regards,
Lou

0 Votes 0 ·