Avatar of Alan Duck
Alan Duck
Flag for United Kingdom of Great Britain and Northern Ireland asked on

error code 500 when opening ECP on exchange admin center

have a exchange 2013 server which as suddenly decided to give an error on the ECP login of error code 500

I Have run has  suggested I use the Remove-OwaVirtualDirectory  and then create a new one 

but although this has not fixed the error code 500 in  ECP 

but OWA is working now 

Exchange

Avatar of undefined
Last Comment
Alan Duck

8/22/2022 - Mon
M A

-->but although this has not fixed the error code 500 in  ECP
Please make sure same URLs are configured in ECP and OWA.
Please run the following command and make sure both are same.
Get-ECPVirtualDirectory | Format-List Name,InternalURL,ExternalURL

Open in new window

Get-OWAVirtualDirectory | Format-List Name,InternalURL,ExternalURL

Open in new window

If that doesn't fix please try recreating ECP VDs.
Remove-ECPVirtualDirectory “SERVERNAME\ECP (Default Web Site)”
New-ECPVirtualDirectory  -InternalUrl “https://mail.domain.com/ecp” -ExternalUrl “https://mail.domain.com/ecp"

Open in new window

Please make sure your binding is correct as well.
https://www.experts-exchange.com/articles/34069/Blank-Page-Screen-In-OWA-EAC-Exchange-2013-2016-2019-Server.html
https://www.experts-exchange.com/articles/34531/This-page-can't-be-displayed-Exchange-OWA-ECP.html
Alan Duck

ASKER
I have tried changing all above, the OWA works fine but the ECP  comes up with a white page and sometimes still give a error of 500
M A

Did you reset IIS?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Alan Duck

ASKER
I Did , I have even rebooted the sever
but still no joy

ASKER CERTIFIED SOLUTION
Alan Duck

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question