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 


Avatar of undefined
Last Comment
Alan Duck

8/22/2022 - Mon

-->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.
Alan Duck

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

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.
Alan Duck

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

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